Module: Pike13::CLI::ThorNestedSubcommand

Included in:
Commands::Base
Defined in:
lib/pike13/cli/thor_nested_subcommand.rb

Overview

This module fixes a bug in Thor that prohibits help for nested subcommands from displaying help properly. Nested subcommands fail to display their subcommand ancestor command name. This fixes that bug.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
# File 'lib/pike13/cli/thor_nested_subcommand.rb', line 13

def included(base)
  base.extend ClassMethods
end