25 26 27 28 29 30 31 32 33
# File 'lib/smartdc/cli.rb', line 25 def init clicfg = Smartdc::CliConfigure.new clicfg.init Smartdc::Cli.setup Smartdc.keys puts 'Successful configuration.' rescue puts 'Failed Configuration.' end
20 21 22
# File 'lib/smartdc/cli.rb', line 20 def version puts "sdc #{Smartdc::VERSION}" end