We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a21ced commit ef073c0Copy full SHA for ef073c0
2 files changed
cli.js
@@ -24,10 +24,10 @@ function cli() {
24
switch (command) {
25
case COMPILE: compile(args); break;
26
case RUN: output = run(args); break;
27
- case HELP: process.stdout.write(help); break;
+ case HELP: process.stdout.write(help); return;
28
case ANALLIFY: output = anallify(args); break;
29
case STRINGIFY: output = stringify(args); break;
30
- default: process.stdout.write(help); break;
+ default: process.stdout.write(help); return;
31
}
32
33
process.stdout.write(`${output}\n`);
lib/help.js
@@ -10,6 +10,8 @@ Usage:
10
11
const commands = `
12
Commands:
13
+ run Run a .anal file
14
+ compile Compile any file to .anal
15
anallify Encode string to anal
16
stringify Decode anal to string
17
help Show this help
0 commit comments