List

List#

ListAllCommands()#

Returns all available commands, sorted first by directory and then by file name.

my @Commands = $CommandObject->ListAllCommands();

Returns:

my @Commands = (
    'Kernel::System::Console::Command::Help',
    'Kernel::System::Console::Command::List',
    # ...
);