Class: Kaiser::Cmds::Down
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
17
18
|
# File 'lib/kaiser/cmds/down.rb', line 14
def execute(_opts)
stop_db
stop_app
delete_db_volume
end
|
#usage ⇒ Object
6
7
8
9
10
11
12
|
# File 'lib/kaiser/cmds/down.rb', line 6
def usage
" Shuts down and *deletes* the containers that were started using \\`kaiser up\\`.\n\n USAGE: kaiser down\n EOS\nend\n"
|