Class: Fasta::Installer
- Inherits:
-
Thor
- Object
- Thor
- Fasta::Installer
- Includes:
- Thor::Actions
- Defined in:
- lib/fasta/cli.rb
Instance Method Summary collapse
Instance Method Details
#plz(name) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fasta/cli.rb', line 9 def plz(name) @name = name directory 'config', "#{name}/config" create_file "#{name}/app/endpoints/.keep" create_file "#{name}/log/db.log" directory 'app', "#{name}/app" copy_file 'application.rb', "#{name}/application.rb" copy_file 'boot.ru', "#{name}/boot.ru" copy_file 'Gemfile', "#{name}/Gemfile" copy_file 'Procfile', "#{name}/Procfile" end |