Sha256: a12127b06441c385a8d951ee6f31fa7ef0067c3fc0a2b4ca92ac962c0f00213e

Contents?: true

Size: 461 Bytes

Versions: 5

Compression:

Stored size: 461 Bytes

Contents

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

CommandLion::App.run do

  name "Printr"
  version "1.0.0"
  remove_default_help_menu

  command :print do
    type :string
    
    action do
      arguments do |argument|
        puts argument 
      end
    end
  end

  #help do
  #  flags do
  #    short "-h"
  #    long  "--help"
  #  end
  # 
  #  action do
  #    puts "So helpfulp!"
  #  end 
  #end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
command_lion-2.0.1 examples/test.rb
command_lion-2.0.0 examples/test.rb
command_lion-1.0.4 examples/test.rb
command_lion-1.0.3geff examples/test.rb
command_lion-1.0.3 examples/test.rb