Sha256: 7dc9c72f03a82cfbd6abf5f120e75cc94d04c4294e2e14ce3919d1e2beb22557

Contents?: true

Size: 695 Bytes

Versions: 2

Compression:

Stored size: 695 Bytes

Contents

require 'optparse'
require 'simplecli'

class Scenarios::Bin
  include SimpleCLI

  def usage *args
    puts <<doco

  scenarios == %{ Tool For Managing and Loading Ruby Scenarios }

    Usage:
      scenarios command [options]

    Examples:
      scenarios info             # ...

    Further help:
      scenarios commands         # list all available commands
      scenarios help <COMMAND>   # show help for COMMAND
      scenarios help             # show this help message

doco
  end 

  def info_help
    <<doco
Usage: #{ script_name } info

  Summary:
    Display information about the scenarios currently available to you
  end
doco
  end
  def info
    puts Scenarios.info
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openrain-scenarios-0.2.2 lib/scenarios/bin.rb
openrain-scenarios-0.3.2 lib/scenarios/bin.rb