Class: Shutwork::Command::Help

Inherits:
Base
  • Object
show all
Defined in:
lib/shutwork/command/help.rb

Instance Method Summary collapse

Methods inherited from Base

#download_file, #initialize

Methods included from Display

#display_account, #display_file, #display_message, #display_room, #format_datetime, #format_filesize, #to_filesize_human

Constructor Details

This class inherits a constructor from Shutwork::Command::Base

Instance Method Details

#runObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/shutwork/command/help.rb', line 6

def run
  puts "Usage: shutwork COMMAND\n\nAvailable options:\n  -h,--help                Show this help text\n     --version             Show version\n\nAvailable commands:\n  me                       Show me\n  rooms                    Show Rooms and messages\n  token                    Manage token\n"
end