bod
Version:
Boilerplate CLI App
28 lines (27 loc) • 713 B
TypeScript
import BaseCommand from './BaseCommand.js';
interface Action {
name: string;
value: string;
command: string;
args: string[];
postCommands: {
command: string;
args: string[];
}[];
}
declare class CreateCommand extends BaseCommand {
static readonly TemplateActions: Action[];
private command;
private commandArgs;
private postCommands;
constructor();
run(appName: string, additionalOptions?: string[]): Promise<void>;
getCommand(): string;
getCommandArgs(): string[];
private processTemplateAction;
private resolvePackageManager;
private resolveAppPath;
private execute;
}
export type { Action };
export default CreateCommand;