Class: Blogaze::Bin::Default
- Inherits:
-
Shebang::Command
- Object
- Shebang::Command
- Blogaze::Bin::Default
- Defined in:
- lib/blogaze/bin/default.rb
Instance Method Summary collapse
-
#help ⇒ Object
Help message.
-
#index ⇒ Object
Shows help.
-
#initialize ⇒ Default
constructor
Lists commands.
Constructor Details
#initialize ⇒ Default
Lists commands.
22 23 24 |
# File 'lib/blogaze/bin/default.rb', line 22 def initialize super end |
Instance Method Details
#help ⇒ Object
Help message
36 37 38 39 40 41 42 |
# File 'lib/blogaze/bin/default.rb', line 36 def help puts @option_parser puts puts "Commands" puts " create [NAME] Create a Blogaze installation in [NAME] directory." puts end |
#index ⇒ Object
Shows help
29 30 31 |
# File 'lib/blogaze/bin/default.rb', line 29 def index help end |