
####
List
####


ListAllCommands()
=================


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


.. code-block:: perl

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


Returns:


.. code-block:: perl

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



