We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67579de commit 4655745Copy full SHA for 4655745
bin/asinit.js
@@ -55,11 +55,20 @@ const asinitOptions = {
55
],
56
"type": "b",
57
"alias": "y"
58
- }
+ },
59
+ "noColors": {
60
+ "description": "Disables terminal colors.",
61
+ "type": "b",
62
+ "default": false
63
64
};
65
66
const cliOptions = optionsUtil.parse(process.argv.slice(2), asinitOptions);
67
68
+if (cliOptions.options.noColors) {
69
+ stdoutColors.enabled = false;
70
+}
71
+
72
if (cliOptions.options.help || cliOptions.arguments.length === 0) printHelp();
73
74
function printHelp() {
0 commit comments