import type { ISubArgsReaderApi } from '@idlebox/args'; export declare enum CommandKind { Ai = "ai", CreateTasks = "create-tasks", CreateYarn = "create-yarn", Deps = "deps", Fix = "fix", Foreach = "foreach", ForeachDep = "foreach-dep", LinkLocal = "link-local", List = "list", PublishThis = "publish-this", Register = "register", Update = "update", Upgrade = "upgrade" } export declare const known_sub_commands: readonly CommandKind[]; export declare const commands_define: { readonly ai: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./ai/execute.js").runAi; parse(sub: ISubArgsReaderApi): { action: "update" | "upgrade" | "link-local"; extra: string[]; }; description: "run batch action in autoinstallers folder"; title: "auto installer tool"; usage: ""; help: "Available commands:\n\tupdate: run \"pnpm install $@\" in each auto-installer\n\tupgrade: run \"pnpm upgrade $@\" in each auto-installer\n\tlink-local: create symlink of all auto-installers binary to common/temp/bin (you may want add this directory to PATH)\n"; }>; }; readonly "create-tasks": { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./create-tasks/execute.js").runCreateTasks; parse(): {}; description: "Create vscode tasks for all projects in workspace"; title: "create vscode tasks"; usage: ""; help: ""; }>; }; readonly "create-yarn": { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./create-yarn/execute.js").runCreateYarn; parse(_sub: ISubArgsReaderApi): {}; description: ""; title: ""; usage: ""; help: ""; }>; }; readonly deps: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./deps/execute.js").runDeps; parse(sub: ISubArgsReaderApi): { type: string; }; description: "some node dependencies related tool"; title: "dependency analyze and modify"; usage: "type"; help: "Available types:\n\tgraph\n"; }>; }; readonly fix: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./fix/execute.js").runFix; parse(_sub: ISubArgsReaderApi): {}; description: "Auto fix any mismatch dependency versions, use newest one inside workspace."; title: "fix dependency issues"; usage: ""; help: ""; }>; }; readonly foreach: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./foreach/execute.js").runForeach; parse(sub: ISubArgsReaderApi): { quiet: boolean; onErrorContinue: boolean; argv: string[]; }; description: "Run a command in every project directory"; title: "run command in each project"; usage: "[--options] [--] "; help: string; }>; }; readonly "foreach-dep": { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./foreach-dep/execute.js").runForeachDep; parse(sub: ISubArgsReaderApi): { quiet: boolean; onErrorContinue: boolean; argv: string[]; buildOnly: boolean; publicOnly: boolean; }; description: "Run a command in every project directory, in build order"; title: "run command in build order"; usage: "[--options] [--] "; help: string; }>; }; readonly "link-local": { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./link-local/execute.js").runLinkLocal; parse(_sub: ISubArgsReaderApi): {}; description: "Link \"bin\"s from each project to common/temp/bin"; title: "link project binaries"; usage: ""; help: ""; }>; }; readonly list: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./list/execute.js").runList; parse(sub: ISubArgsReaderApi): { what: import("./list/arguments.js").CmdListWhat; }; description: "List project name or path or relative-path, can process with pipe."; title: "list peojct name/path"; usage: ""; help: "Available fields:\n\tname\n\tpath\n\trelpath\n\nOptions:\n\t-0 split with null byte (default newline)\n"; CmdListWhat: typeof import("./list/arguments.js").CmdListWhat; }>; }; readonly "publish-this": { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./publish-this/execute.js").runPublishThis; parse(sub: ISubArgsReaderApi): { extra: string[]; }; description: "run pnpm/npm/yarn publish in current project"; title: "publish to nm"; usage: ""; help: ""; }>; }; readonly register: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./register/execute.js").runRegister; parse(sub: ISubArgsReaderApi): { project: string; }; description: "add a new project to \"projects\" array in rush.json, skip if already exists"; title: "register new project"; usage: ""; help: "project: path to a folder contains package.json"; }>; }; readonly update: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./update/execute.js").runUpdate; parse(sub: ISubArgsReaderApi): { extra: string[]; }; description: "`rush update` + `update-autoinstaller`"; title: "install projects and autoinstallers"; usage: ""; help: ""; }>; }; readonly upgrade: { loadArgs(): Promise; loadCmd(): Promise<{ execute: typeof import("./upgrade/execute.js").runUpgrade; parse(sub: ISubArgsReaderApi): { dryRun: boolean; fixLocal: boolean; skipUpdate: boolean; }; description: "Upgrade all dependencies of every project to the latest version"; title: "upgrade dependencies"; usage: ""; help: "Options:\n\t--dry-run: do not write any file, just print what would be done\n\t--publish, -P: replace dependencies on filesystem with released version\n\t--skip-update: skip \"rush update\" after upgrade\n"; }>; }; }; //# sourceMappingURL=all.generated.d.ts.map