Sha256: 7b17b37eb109194d8f9ff16b5e288335820b42968ff925d38b3d24ed78194166

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'command_lion'
require 'pry'

CommandLion::App.run do

  name "Rainbow Hello"
  version "1.0.0"
  #rainbows

  command "Say Hello" do
    type :string
    flag "hello"
    default "world"

    action do
      puts "Hello #{argument}!"
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
command_lion-1.0.4 examples/example_rainbows.rb
command_lion-1.0.3geff examples/example_rainbows.rb
command_lion-1.0.3 examples/example_rainbows.rb
command_lion-1.0.2 examples/example_rainbows.rb
command_lion-1.0.1 examples/example_rainbows.rb
command_lion-1.0.0 examples/example_rainbows.rb