module

Stacker

Constants

GIT_REF = {{ (`git log -n 1 --format=\"%H\" | head -c 8`).chomp.stringify }}
VERSION = {{ (`shards version /tmp/tmp.iAKJNk/src/src`).chomp.stringify }}

Class methods

close_log_file!
Source
config
Source
config=(config : Config | Nil)
Source
config?

Return the loaded configuration, or nil when none has been loaded yet.

Source
load_config(config_path)
Source
log_file
Source
log_to_stdout?
Source
logger
Source
logger=(backend : Log::Backend | Nil)
Source
reopen_log_file!

Reopen the log file after a rotation.

The backend memoizes the File it writes to, so it has to be dropped as well: keeping it would go on writing to the rotated (renamed) file forever.

Source
setup_log
Source
setup_signals
Source
start_server
Source
stop_server
Source
unknown_args(args = ARGV.dup)

Return the arguments Stacker does not act on.

Anything left once the subcommand and Stacker's own flags are removed would be silently ignored, so the caller reports it instead of pretending to honour it.

Source
version
Source

Nested types