module SwarmClusterCliOpe::ThorConfigurationConcern

Public Instance Methods

config() click to toggle source
# File lib/swarm_cluster_cli_ope/thor_configuration_concern.rb, line 11
def config
  cfgs.env(options[:environment]) do
    puts JSON.pretty_generate(cfgs.merged_configurations)
  end
end
configure_project(stack_name) click to toggle source
# File lib/swarm_cluster_cli_ope/thor_configuration_concern.rb, line 19
def configure_project(stack_name)
  cfgs.env(options[:environment]) do |c|
    c.stack_name = stack_name
    c.save_project_cfgs
  end
end