A help command for Minicli

0.1 2022-06-02 17:42 UTC

This package is auto-updated.

Last update: 2022-12-02 18:38:20 UTC


Default help command. This will auto-generate a command/sub-command tree based on all commands registered within the CommandRegistry, and print it to users that call './minicli help'.


First, import this command with Composer:

composer require minicli/command-help

Then, edit your app's config to include @minicli/command-help within your app_path definitions. For instance:

$app = new App([
    'app_path' => [
            __DIR__ . '/app/Command',
    'debug' => true

You should now be able to run the ./minicli help command and obtain output that will vary depending on your own implemented commands. Here is an example:

Available Commands