class Hecks::CLI

Build subcommands

Run a console with easy access to your domain

Public Instance Methods

build() click to toggle source
# File lib/cli/build.rb, line 8
def build
  run('hecks generate readme')
  run('gem build hecks')
  run('gem install hecks')
end
console() click to toggle source
# File lib/cli/console.rb, line 5
def console
  exec "#{ENV['HECKS_PATH']}/bin/hecks_console" if ENV['HECKS_PATH']
  exec 'hecks_console'
end