Class: Turple::Cli
- Inherits:
-
Thor
- Object
- Thor
- Turple::Cli
- Defined in:
- lib/turple/cli.rb
Instance Method Summary collapse
Instance Method Details
#ate ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/turple/cli.rb', line 7 def ate # enable interactive mode Turple.turpleobject = { :interactive => true } # dont pass a nil destination configuration_hash = ['destination'] ? { :destination => ['destination'] } : {} # initialize turple Turple.ate ['template'], {}, configuration_hash end |