module Hace

Extended Modules

Defined in:

hace.cr

Constant Summary

ENVIRONMENT = {} of String => String
TASKS_WITH_CLI_ARGS = Set(String).new

Track which tasks explicitly use {{CLI_ARGS}} (detected before Crinja expansion)

VARIABLES = {} of String => YAML::Any
VERSION = {{ (`shards version /srv/crystaldoc.info/github-ralsina-hace-v0.8.0/src`).chomp.stringify }}

Class Method Summary

Class Method Detail

def self.expand_glob(str : String) : Array(String) #

[View source]
def self.expand_string(str : String, variables = Hace::VARIABLES) : String #

[View source]
def self.inject_cli_args(cli_args : Array(String)) #

Inject CLI_ARGS and CLI_ARGS_LIST into VARIABLES for template expansion


[View source]
def self.load_dotenv(dotenv_file = nil) #

[View source]