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

    Interface StartupTask

    A unit of work to run once during CLI startup, in StartupTask.priority order.

    interface StartupTask {
        id: string;
        mode?: StartupTaskMode;
        modifierCommands?: readonly GlobalModifierCommand[];
        priority: number;
        run(context: StartupTaskContext): Promise<void>;
    }
    Index
    id: string

    Identifies this task, e.g. for debug logging.

    Defaults to "blocking" if not specified.

    modifierCommands?: readonly GlobalModifierCommand[]

    Zero or more GlobalModifierCommand instances which should be scanned for and executed (if specified as CLI arguments or CLI configuration) before this task's run is invoked.

    priority: number

    Used to determine the order in which tasks run. Higher values run earlier.