Class: Sumodev::Command
- Inherits:
-
Thor
- Object
- Thor
- Sumodev::Command
- Defined in:
- lib/sumodev/command.rb
Direct Known Subclasses
Application, Sumodev::Commands::Box, Sumodev::Commands::Fork, Sumodev::Commands::Hooks, Sumodev::Commands::Project
Class Method Summary collapse
Class Method Details
.banner(task, namespace = true, subcommand = false) ⇒ Object
4 5 6 |
# File 'lib/sumodev/command.rb', line 4 def self.(task, namespace = true, subcommand = false) "#{basename} #{task.formatted_usage(self, true, subcommand)}" end |