Class: OAuth::CLI::HelpCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- OAuth::CLI::HelpCommand
- Defined in:
- lib/oauth/cli/help_command.rb
Instance Method Summary collapse
Methods inherited from BaseCommand
#initialize, #required_options
Constructor Details
This class inherits a constructor from OAuth::CLI::BaseCommand
Instance Method Details
#run ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/oauth/cli/help_command.rb', line 3 def run puts " Usage: oauth COMMAND [ARGS]\n\n Available oauth commands are:\na, authorize Obtain an access token and secret for a user\nq, query Query a protected resource\ns, sign Generate an OAuth signature\n\n In addition to those, there are:\nv, version Displays the current version of the library (or --version, -v)\nh, help Displays this help (or --help, -h)\n\n Tip: All commands can be run without args for specific help.\n\n\n EOT\nend\n" |