mirror of
https://github.com/chenasraf/simple-scaffold.git
synced 2026-05-18 01:29:09 +00:00
fix: log level flag
This commit is contained in:
@@ -126,7 +126,7 @@ export async function parseCliArgs(args = process.argv.slice(2)) {
|
|||||||
"Determine amount of logs to display. The values are: " +
|
"Determine amount of logs to display. The values are: " +
|
||||||
`${chalk.bold`\`none | debug | info | warn | error\``}. ` +
|
`${chalk.bold`\`none | debug | info | warn | error\``}. ` +
|
||||||
"The provided level will display messages of the same level or higher.",
|
"The provided level will display messages of the same level or higher.",
|
||||||
parse: Number,
|
parse: (v) => v.toLowerCase(),
|
||||||
})
|
})
|
||||||
.flag({
|
.flag({
|
||||||
name: "dry-run",
|
name: "dry-run",
|
||||||
|
|||||||
Reference in New Issue
Block a user