Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Merge branch 'boson' of github.com:rsanheim/nachos into boson
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanheim committed Mar 21, 2012
2 parents f56ed10 + 3b05c89 commit a5bd267
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -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)
Expand Down
13 changes: 12 additions & 1 deletion lib/nachos/cli.rb
@@ -1,4 +1,3 @@
require 'boson'
require 'boson/runner'

class Nachos::CLI < Boson::Runner
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion spec/nachos_acceptance_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit a5bd267

Please sign in to comment.