Class: Slugforge::SubCommand
- Defined in:
- lib/slugforge/commands.rb
Overview
This class overrides #banner, forcing the subcommand parameter to be true by default. This gets around a bug in Thor, and causes subcommands to properly display their parent command in the help text for the subcommand.
Direct Known Subclasses
Commands::Config, Commands::Deploy, Commands::Project, Commands::Tag, Commands::Wrangler
Class Method Summary collapse
Methods inherited from Command
Methods included from Helper
Constructor Details
This class inherits a constructor from Slugforge::Command
Class Method Details
.banner(command, namespace = nil, subcommand = true) ⇒ Object
96 97 98 |
# File 'lib/slugforge/commands.rb', line 96 def self.(command, namespace = nil, subcommand = true) super end |