Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'boson' of github.com:rsanheim/nachos into boson

  • Loading branch information...
commit a5bd26719ffec9a2b0869f5c726786759cfcfc4d 2 parents f56ed10 + 3b05c89
@rsanheim authored
View
2  Gemfile.lock
@@ -11,7 +11,7 @@ GEM
specs:
bahia (0.6.0)
open4 (~> 1.3.0)
- boson (1.1.1)
+ boson (1.2.0)
crack (0.1.8)
diff-lcs (1.1.3)
faker (0.9.5)
View
13 lib/nachos/cli.rb
@@ -1,4 +1,3 @@
-require 'boson'
require 'boson/runner'
class Nachos::CLI < Boson::Runner
@@ -15,6 +14,18 @@ def self.setup_dry_run
option :dry_run, :type => :boolean, :desc => "If specified, the converter will just print the commands and not actually execute them"
end
+ # extend default help
+ def self.display_help
+ super
+ # TODO: actually check github info
+ puts "Your github info is not setup"
+ end
+
+ # extend command help
+ def self.display_command_help(cmd)
+ super
+ end
+
desc "Displays current setup for Nachos"
def info
say main.info
View
1  spec/nachos_acceptance_spec.rb
@@ -14,7 +14,6 @@
end
it "display github message" do
- pending "depends on changes to boson to allow overriding help message"
nachos
process.should be_success
puts stdout

0 comments on commit a5bd267

Please sign in to comment.
Something went wrong with that request. Please try again.