Sha256: 15048ea8cd86c12424ddccb909ade514a546a64feccd0151a24d1d01c604afa8

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

module Cmd::Help
  def show_help(io = $stdout)
    banner = self.class.banner
    io.puts "Usage: #{banner.usage}\n\n" \
            "Description:\n  #{banner.description}\n\n" \
            "Options: #{option_parser.help}\n"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cmd.rb-0.3.3 lib/cmd/mixins/help.rb
cmd.rb-0.3.2 lib/cmd/mixins/help.rb