Class: Foy::RubyHandler::CLI
- Inherits:
-
Object
- Object
- Foy::RubyHandler::CLI
- Defined in:
- lib/foy_ruby_handler/cli.rb
Class Method Summary collapse
Class Method Details
.start ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/foy_ruby_handler/cli.rb', line 3 def self.start command, params = ARGV.shift, ARGV print case command when "parse" Foy::RubyHandler.parse(*params) when "version" Foy::RubyHandler.latest_version_for(*params) end end |