Sha256: 8e081221924b2e1347b0e1e807c0223beebfe5a99215a2a08ccc1220fb3f21b2

Contents?: true

Size: 293 Bytes

Versions: 4

Compression:

Stored size: 293 Bytes

Contents

# The help command.
def help(options)
  cmd = ARGV.shift || 'help'
  page = File.dirname(__FILE__) + '/help/' + cmd
  if File.exist?(page)
    puts File.read(page)
    puts "\nFor parameter listing and details, try executing the command with --help.\n\tticketmaster #{cmd} --help"
  end  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ticketmaster-0.3.4 lib/ticketmaster/cli/commands/help.rb
ticketmaster-0.3.3 lib/ticketmaster/cli/commands/help.rb
ticketmaster-0.3.2 lib/ticketmaster/cli/commands/help.rb
ticketmaster-0.3.1 lib/ticketmaster/cli/commands/help.rb