Method: CommandKit::Commands::Subcommand#aliases

Defined in:
lib/command_kit/commands/subcommand.rb

#aliasesArray<String> (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Optional alias names for the subcommand.

Returns:

  • (Array<String>)


23
24
25
# File 'lib/command_kit/commands/subcommand.rb', line 23

def aliases
  @aliases
end