Permalink
Browse files

- Doc

  • Loading branch information...
tj committed Dec 1, 2008
1 parent 10b4179 commit 5fb6ab458adb8b186a477a3e61754d0633305da6
Showing with 2 additions and 4 deletions.
  1. +1 −1 README.txt
  2. +1 −3 lib/commander/help_formatters/terminal.rb
View
@@ -105,7 +105,7 @@ simplify common tasks using the following methods:
# Ask for password
password
# Ask for password with specific message and mask
# Ask for password with specific message and mask character
password "Enter your password please:", '-'
# Simple progress bar (Commander::UI::ProgressBar)
@@ -8,10 +8,9 @@ module HelpFormatter
# = Terminal
#
# Outputs help in a terminal friendly format,
# utilizing coloring via the highline gem.
# utilizing asni formatting via the highline gem.
class Terminal < Base
def render
template(:help).result @runner.get_binding
end
@@ -23,7 +22,6 @@ def render_command(command)
def template(name)
ERB.new(File.read(File.expand_path(File.dirname(__FILE__)) + "/terminal/#{name}.erb"), nil, "<>")
end
end
end
end

0 comments on commit 5fb6ab4

Please sign in to comment.