Sha256: 1bc4b06d8279baf9d5c09e86334aee700b04252df97eff4c643db3e69946f9b7
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 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 command :json do flag "--json" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
command_lion-2.0.1 | examples/hello_world.rb |