Class: Mistilteinn::Cli::Init

Inherits:
Command
  • Object
show all
Defined in:
lib/mistilteinn/cli/init.rb

Instance Attribute Summary

Attributes inherited from Command

#args, #config, #its

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

#actionObject



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