@flowscripter/dynamic-cli-framework-api
    Preparing search index...

    Interface CommandFactory

    Extension interface implemented by a plugin to provide Command instances.

    A plugin registers an CommandFactory against DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT. On startup, DynamicPluginRuntimeCLI (see dynamic-cli-framework) instantiates each factory and adds the returned commands to the CLI registry before the runner executes.

    interface CommandFactory {
        getCommands(): readonly Command[];
    }
    Index