From 747adc47c828687d0e48eb1ae609fd15585ac0e9 Mon Sep 17 00:00:00 2001 From: markthree <1801982702@qq.com> Date: Sun, 7 Jan 2024 17:59:34 +0800 Subject: [PATCH] feat: add force option --- src/cli.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.ts b/src/cli.ts index 445a195..9755478 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -70,6 +70,7 @@ export async function action(pm: PM) { brightYellow("(only pnpm)") }`, ) + .option("-f, --force", "force install deps") .arguments("[...deps:string]") .action( (options, ...deps) => _install(pm, deps, formatOptions(options)),