Class: Hecks::CLI
- Inherits:
-
Thor
- Object
- Thor
- Hecks::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/cli/build.rb,
lib/cli/console.rb
Overview
Run a console with easy access to your domain
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
8 9 10 11 12 |
# File 'lib/cli/build.rb', line 8 def build run('hecks generate readme') run('gem build hecks') run('gem install hecks') end |
#console ⇒ Object
5 6 7 8 |
# File 'lib/cli/console.rb', line 5 def console exec "#{ENV['HECKS_PATH']}/bin/hecks_console" if ENV['HECKS_PATH'] exec 'hecks_console' end |