fix: app install with clean option

This commit is contained in:
chenos 2022-02-22 15:14:32 +08:00
parent f45b08af38
commit cf89f4f428

View File

@ -58,10 +58,12 @@ export function createCli(app: Application, options: ApplicationOptions): Comman
cli
.command('install')
.option('-f, --force')
.option('-c, --clean')
.action(async (...cliArgs) => {
const [opts] = cliArgs;
await app.install({
cliArgs,
clean: opts.clean,
sync: {
force: opts.force,
},