mlx-bun library API
    Preparing search index...
    • Parse argv against the verb's manifest (or check the values a caller already parsed from another spelling of it), activate the modules over services and run it; resolves to the exit code. SIGINT and SIGTERM abort the verb's signal and the verb decides how to stop. The modules stop first, then the model host releases what it loaded. terminal is the host's presentation (default: plain lines); activated sees the loaded modules before the verb runs (a host that runs their job kinds takes them here).

      Parameters

      • input: {
            activated?: (loaded: LoadedModules) => void;
            modules: () => Promise<readonly AppModule<(keyof CoreServices)>[]>;
            program: string;
            services: HostServices;
            spec: CliVerbSpec;
            terminal?: CliTerminal;
        } & (
            | { argv: readonly string[] }
            | {
                positionals: readonly string[];
                values: Readonly<Record<string, unknown>>;
            }
        )

      Returns Promise<number>