Class: Orats::CLI
- Inherits:
-
Thor
- Object
- Thor
- Orats::CLI
- Defined in:
- lib/orats/cli.rb
Overview
thor driven command line interface
Instance Method Summary collapse
Instance Method Details
#new(target_path) ⇒ Object
11 12 13 |
# File 'lib/orats/cli.rb', line 11 def new(target_path) Commands::New.new(target_path, ).init end |
#templates ⇒ Object
17 18 19 |
# File 'lib/orats/cli.rb', line 17 def templates Commands::New.new.available_templates end |
#version ⇒ Object
23 24 25 |
# File 'lib/orats/cli.rb', line 23 def version puts "orats version #{VERSION}" end |