1.0.0 • Published 2 years ago
@incodelang/cli v1.0.0
InCode CLI
This is the official Command Line Tool (CLI) for the InCode Programming Language.
Installation
Install the InCode CLI with npm
npm install @incodelang/cli -g
Options
Option | Description | Required |
---|---|---|
-i, --input <file> | Specifies the input file that will be compiled | yes |
-o, --output <file> | Specifies the compiling target | yes |
-f, --foce | Force overwrites the output file if it exists | no |
-a, --save-ast | Saves the Abstract Syntax Tree | no |
-s, --std-out | Prints the compiled code to the standard output | no |
Examples
incode -i test.ic -o test.js -a -s -f
incode -i test.ic -o test.js -a -s
incode -i test.ic -o test.js -a
incode -i test.ic -o test.js