fix: add missing -h/--help to init (#2096)
This commit is contained in:
@@ -39,10 +39,18 @@ const USE_TAILWIND_MESSAGE =
|
||||
const USE_VSCODE_MESSAGE = "Do you use VS Code?";
|
||||
|
||||
const flags = parse(Deno.args, {
|
||||
boolean: ["force", "tailwind", "vscode", "docker"],
|
||||
boolean: ["force", "tailwind", "vscode", "docker", "help"],
|
||||
default: { "force": null, "tailwind": null, "vscode": null, "docker": null },
|
||||
alias: {
|
||||
help: "h",
|
||||
},
|
||||
});
|
||||
|
||||
if (flags.help) {
|
||||
console.log(help);
|
||||
Deno.exit(0);
|
||||
}
|
||||
|
||||
console.log();
|
||||
console.log(
|
||||
colors.bgRgb8(
|
||||
|
||||
Reference in New Issue
Block a user