Class: Slugforge::SubCommand

Inherits:
Command
  • Object
show all
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.

Class Method Summary collapse

Methods inherited from Command

#initialize, start

Methods included from Helper

included

Constructor Details

This class inherits a constructor from Slugforge::Command

Class Method Details



96
97
98
# File 'lib/slugforge/commands.rb', line 96

def self.banner(command, namespace = nil, subcommand = true)
  super
end