Method: Thor.subcommands

Defined in:
lib/thor.rb

.subcommandsArray<String>

List of subcommand names, including those inherited from super classes.

Returns:

  • (Array<String>)


320
321
322
# File 'lib/thor.rb', line 320

def self.subcommands
  @subcommands ||= from_superclass(:subcommands, [])
end