Class: LicenseFinder::CLI::Subcommand
- Defined in:
- lib/license_finder/cli.rb
Overview
Thor fix for ‘license_finder <subcommand> help <action>`
Direct Known Subclasses
Class Method Summary collapse
-
.banner(command, namespace = nil, subcommand = nil) ⇒ Object
Hack to override the help message produced by Thor.
Methods inherited from Base
Class Method Details
.banner(command, namespace = nil, subcommand = nil) ⇒ Object
Hack to override the help message produced by Thor. github.com/wycats/thor/issues/261#issuecomment-16880836
26 27 28 |
# File 'lib/license_finder/cli.rb', line 26 def self.(command, namespace = nil, subcommand = nil) "#{basename} #{underscore_name(name)} #{command.usage}" end |