fix: app install with clean option
This commit is contained in:
parent
f45b08af38
commit
cf89f4f428
@ -58,10 +58,12 @@ export function createCli(app: Application, options: ApplicationOptions): Comman
|
|||||||
cli
|
cli
|
||||||
.command('install')
|
.command('install')
|
||||||
.option('-f, --force')
|
.option('-f, --force')
|
||||||
|
.option('-c, --clean')
|
||||||
.action(async (...cliArgs) => {
|
.action(async (...cliArgs) => {
|
||||||
const [opts] = cliArgs;
|
const [opts] = cliArgs;
|
||||||
await app.install({
|
await app.install({
|
||||||
cliArgs,
|
cliArgs,
|
||||||
|
clean: opts.clean,
|
||||||
sync: {
|
sync: {
|
||||||
force: opts.force,
|
force: opts.force,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user