Class: Strobe::CLI::Main
- Inherits:
-
Strobe::CLI
- Object
- Thor
- Strobe::CLI
- Strobe::CLI::Main
- Includes:
- Preview
- Defined in:
- lib/strobe/cli/main.rb
Instance Method Summary collapse
Methods included from Preview
Methods inherited from Strobe::CLI
__haxlias, action, application_path_option, handle_argument_error, #initialize, start
Constructor Details
This class inherits a constructor from Strobe::CLI
Instance Method Details
#help(*args) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/strobe/cli/main.rb', line 10 def help(*args) if args.first == "users" CLI::Users.start( [ "help" ] + args[1..-1] ) else super end end |
#version ⇒ Object
19 20 21 |
# File 'lib/strobe/cli/main.rb', line 19 def version puts "Strobe version #{VERSION}" end |