Sha256: a8e9bd5a1d7a02401875c68d2bb64cac9a099c8832927e7b8422ed2f00910062

Contents?: true

Size: 255 Bytes

Versions: 7

Compression:

Stored size: 255 Bytes

Contents

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

CommandLion::App.run do

  name "Hello World"

  command :hello_world do
    flag "--hello-world"
    action do
      puts "Hello World!"
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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