Class: PF::CommandBase
- Inherits:
-
Thor
- Object
- Thor
- PF::CommandBase
- Defined in:
- lib/pf/cli/command_base.rb
Direct Known Subclasses
Constant Summary collapse
- @@myself =
'<subcommand>'
Class Method Summary collapse
Class Method Details
.banner(command, namespace = nil, subcommand = false) ⇒ Object
7 8 9 |
# File 'lib/pf/cli/command_base.rb', line 7 def self.(command, namespace = nil, subcommand = false) "#{basename} #{@@myself} #{command.usage}" end |