Module: Commands::BusbarSetup

Extended by:
ActiveSupport::Concern
Included in:
BusbarCLI
Defined in:
lib/busbar_cli/commands/busbar_setup.rb

Instance Method Summary collapse

Instance Method Details

#non_existent_key(config_key) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/busbar_cli/commands/busbar_setup.rb', line 8

def non_existent_key(config_key)
  puts
  puts "The config key '#{config_key}' does not exist."
  puts
  puts 'The available keys are:'
  puts Services::BusbarConfig.list_keys
  puts
  exit(1)
end