@sanpjs/cmd-init
Version:
Sanp init command
39 lines (38 loc) • 863 B
TypeScript
export declare const command = "init [template] [folder-name]";
export declare const description = "Create a component or directory";
export declare const builder: {
'no-cache': {
default: boolean;
type: string;
describe: string;
};
config: {
type: string;
hidden: boolean;
describe: string;
};
force: {
type: string;
default: boolean;
describe: string;
};
username: {
type: string;
alias: string;
default: string;
describe: string;
};
};
interface Args {
template: string;
folderName: string;
['folder-name']: string;
force: boolean;
username: string;
config: string;
noCache: boolean;
['no-cache']: boolean;
cache: boolean;
}
export declare const handler: (args: Args) => void;
export {};