fix: log level flag

This commit is contained in:
2024-02-02 02:43:43 +02:00
committed by Chen Asraf
parent cd29bd0521
commit 5d7f449050

View File

@@ -126,7 +126,7 @@ export async function parseCliArgs(args = process.argv.slice(2)) {
"Determine amount of logs to display. The values are: " +
`${chalk.bold`\`none | debug | info | warn | error\``}. ` +
"The provided level will display messages of the same level or higher.",
parse: Number,
parse: (v) => v.toLowerCase(),
})
.flag({
name: "dry-run",