Class: Ebfly::Config
- Inherits:
-
Thor
- Object
- Thor
- Ebfly::Config
show all
- Includes:
- Command
- Defined in:
- lib/ebfly/command/config.rb
Constant Summary
Constants included
from Command
Ebfly::Command::PREDEFINED_SOLUTION_STACKS, Ebfly::Command::SUPPORTED_SOLUTION_STACKS
Instance Method Summary
collapse
Methods included from Command
#debug, #eb, #env_name, #exist_command?, #run, #s3, #s3_bucket, #solution_stack, #style_err, #tier
Instance Method Details
#add ⇒ Object
26
27
28
29
|
# File 'lib/ebfly/command/config.rb', line 26
def add
ret = add_environment_config(options[:a], options[:e], options[:c])
debug(ret)
end
|
#rm ⇒ Object
35
36
37
38
|
# File 'lib/ebfly/command/config.rb', line 35
def rm
ret = remove_environment_config(options[:a], options[:e], options[:c])
debug(ret)
end
|
#show ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# File 'lib/ebfly/command/config.rb', line 8
def show
app = options[:a]
env = options[:e]
opts = {
application_name: app,
environment_name: env_name(app, env)
}
ret = run { eb.describe_configuration_settings(opts) }
debug(ret)
show_env_conf(app, env, ret)
end
|