class OAuth::TTY::Commands::HelpCommand
Public Instance Methods
run()
click to toggle source
# File lib/oauth/tty/commands/help_command.rb 7 def run 8 puts <<-EOT 9 Usage: oauth COMMAND [ARGS] 10 11 Available oauth commands are: 12 a, authorize Obtain an access token and secret for a user 13 q, query Query a protected resource 14 s, sign Generate an OAuth signature 15 16 In addition to those, there are: 17 v, version Displays the current version of the library (or --version, -v) 18 h, help Displays this help (or --help, -h) 19 20 Tip: All commands can be run without args for specific help. 21 22 23 EOT 24 end