Class: Yao::Cli::Base

Inherits:
Thor
  • Object
show all
Defined in:
lib/yao/cli/base.rb

Class Method Summary collapse

Class Method Details



56
57
58
59
60
61
62
63
# File 'lib/yao/cli/base.rb', line 56

def banner(command, namespace = nil, subcommand = false)
  if namespace.nil? && !subcommand
    # yao lbaas lb help <command> のときにUsageがおかしくなるので対処
    super(command, false, true)
  else
    super
  end
end