Class: Gurk::Cli
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Gurk::Cli
- Includes:
- Thor::Actions
- Defined in:
- lib/gurk/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
8 9 10 |
# File 'lib/gurk/cli.rb', line 8 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#bundle_install ⇒ Object
16 17 18 |
# File 'lib/gurk/cli.rb', line 16 def bundle_install system("cd #{name} && bundle install") end |
#setup ⇒ Object
12 13 14 |
# File 'lib/gurk/cli.rb', line 12 def setup directory "../templates", name, recursive: true end |