Module: LicenseFinder::CLI::Subcommand

Overview

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

Instance Method Summary collapse

Instance Method Details

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



18
19
20
# File 'lib/license_finder/cli/patched_thor.rb', line 18

def banner(command, _namespace = nil, _subcommand = nil)
  "#{basename} #{underscore_name(name)} #{command.usage}"
end