Module: Chaplin::New
- Defined in:
- lib/chaplin/new.rb
Class Method Summary collapse
Class Method Details
.call(new_project_path) ⇒ Object
4 5 6 7 8 |
# File 'lib/chaplin/new.rb', line 4 def self.call(new_project_path) FileUtils.mkdir(new_project_path) FileUtils.cp_r("#{__dir__}/../../sample_project/templates", new_project_path) FileUtils.cp("#{__dir__}/../../sample_project/app.yml", new_project_path) end |