Module: Fixi::Command
- Defined in:
- lib/fixi/command.rb
Defined Under Namespace
Classes: Add, Bag, Check, Commit, Info, Init, Ls, Rm, Sum, Unbag
Class Method Summary collapse
Class Method Details
.banner(name) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/fixi/command.rb', line 2 def self.(name) n = name.capitalize "fixi-#{name}: #{const_get(n).synopsis}\n\n" + "usage: fixi #{name} [<options>] #{const_get(n).arghelp}\n\n" + "#{const_get(n).details}\n\n" + "Options:" end |