chore(cli): 修改注释

This commit is contained in:
roymondchen 2024-01-18 19:27:07 +08:00
parent 2114b89365
commit 9e263f9e23

View File

@ -19,7 +19,7 @@ const wrapCommand = (cmd: (...args: any[]) => Promise<App>): typeof cmd => {
};
/**
* Vuepress cli
* TMagic cli
*/
export const cli = (defaultAppConfig: UserConfig): void => {
// allow ts files globally
@ -35,7 +35,7 @@ export const cli = (defaultAppConfig: UserConfig): void => {
// display help message
program.help();
// register `dev` command
// register `entry` command
program.command('entry', 'Start development server').action(wrapCommand(scripts(defaultAppConfig)));
program.parse(process.argv);