Class: Mistilteinn::Cli::Init
- Defined in:
- lib/mistilteinn/cli/init.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
commands, desc, inherited, #initialize, name, #run
Constructor Details
This class inherits a constructor from Mistilteinn::Cli::Command
Instance Method Details
#action ⇒ Object
11 12 13 14 |
# File 'lib/mistilteinn/cli/init.rb', line 11 def action copy( children('hooks'), git_root('.git/hooks') ) copy( children('templates'), git_root('.mistilteinn') ) end |