Class: Funktor::CLI::Bootstrap

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/funktor/cli/bootstrap.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



21
22
23
# File 'lib/funktor/cli/bootstrap.rb', line 21

def self.source_root
  File.dirname(__FILE__)
end

Instance Method Details

#funktor_ymlObject



25
26
27
28
# File 'lib/funktor/cli/bootstrap.rb', line 25

def funktor_yml
  # TODO - Should we camelize the app name before writing it into the config? (CloudFormation names get weird with underscores and dashes.)
  template "templates/funktor_init.yml", funktor_file_target
end