Class: Kaiser::Cmds::Logs
Instance Method Summary
collapse
Methods inherited from Kaiser::Cli
all_subcommands_usage, #define_options, register, run_command, #set_config, #start_services, #stop_app, #stop_services
#option, #options
Instance Method Details
#execute(_opts) ⇒ Object
14
15
16
|
# File 'lib/kaiser/cmds/logs.rb', line 14
def execute(_opts)
exec "docker logs -f #{app_container_name}"
end
|
#usage ⇒ Object
6
7
8
9
10
11
12
|
# File 'lib/kaiser/cmds/logs.rb', line 6
def usage
" Continuously monitors the application container's logs.\n\n USAGE: kaiser logs\n EOS\nend\n"
|