beesbuild
Version:
构建工具链
14 lines (13 loc) • 566 B
TypeScript
import { Command } from 'commander';
import type * as variables from '../variables';
import type { CliOptions } from '../types';
export declare const WORKSPACE_DIR = "pnpm-workspace.yaml";
export declare const handleOptions: <T extends CliOptions>(program: Command, options?: T) => CliOptions;
export type CommandOptions = Omit<Partial<typeof variables>, 'name' | 'version'> & {
name: string;
version: string;
};
export declare const init: (options: CommandOptions, program?: Command) => {
next: (func: any) => /*elided*/ any;
end: () => Command;
};