lib/hanzo/cli.rb in hanzo-1.0.0 vs lib/hanzo/cli.rb in hanzo-1.0.1
- old
+ new
@@ -1,9 +1,10 @@
require 'hanzo/modules/deploy'
require 'hanzo/modules/diff'
require 'hanzo/modules/install'
require 'hanzo/modules/config'
+require 'hanzo/modules/console'
module Hanzo
class CLI < Base
def run
@options.parse!(@args) if @opts.respond_to? :parse!
@@ -33,9 +34,10 @@
Available actions:
deploy - Deploy a branch or a tag
diff - Show the diff between HEAD and the current release
install - Install Hanzo configuration
config - Manage Heroku configuration variables
+ console - Run a console command
Options:
BANNER
@options.on('-h', '--help', 'You\'re looking at it.') { puts @options }
@options.on('-v', '--version', 'Print version') { puts "Hanzo #{Hanzo::VERSION}" }