Class: LicenseFinder::CLI::Subcommand

Inherits:
Base
  • Object
show all
Defined in:
lib/license_finder/cli.rb

Overview

Thor fix for ‘license_finder <subcommand> help <action>`

Direct Known Subclasses

ConfigSubcommand, Dependencies

Class Method Summary collapse

Methods inherited from Base

subcommand

Class Method Details

Hack to override the help message produced by Thor. github.com/wycats/thor/issues/261#issuecomment-16880836



57
58
59
# File 'lib/license_finder/cli.rb', line 57

def self.banner(command, namespace = nil, subcommand = nil)
  "#{basename} #{underscore_name(name)} #{command.usage}"
end