Member Junction
    Preparing search index...

    Loads CLI plugin packages and composes the progressive-disclosure usage surface (mj usagemj <domain> usage) dynamically from each registered plugin's static Usage (plan §5, the linearis model). There is no central hardcoded help file — usage is whatever plugins are loaded, including third-party ones.

    Index

    Constructors

    Methods

    • Walks up from startDir looking for mj-cli-plugins.json, then dynamic-imports each listed entry point so its @RegisterClass(BaseCLIPlugin, …) decorators populate the ClassFactory. Safe to call repeatedly — imports are cached by the module loader. Returns the list of specifiers it loaded.

      Parameters

      • startDir: string = ...

      Returns Promise<PluginLoadResult>