Class: VersionCommand
- Defined in:
- lib/commands/version.rb,
lib/templates/new_app/lib/commands/version.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
#after_init, #before_init, default_cmd, describe, description, get_allowed_commands, #help, #initialize, load, load_all, #run, show_use, usage
Constructor Details
This class inherits a constructor from Command
Instance Method Details
#main ⇒ Object
5 6 7 8 9 |
# File 'lib/commands/version.rb', line 5 def main #options = parse puts "#{Rcli.script_config['global']['script_name']} version 0.1.1" end |