🏗️ BaseScript is a programming language, which aims to compile your code to JavaScript.
This page represents the simple to follow documentation the CLI for the language.
Learn more on GitHub: BaseScript lang
📬 Email: basescriptnet@gmail.com
📹 YouTube: BaseScript Channel
Install via npm
npm i basescript.js -g
At any directory use
bsc -f "<file_name>"
Specify the output file
bsc -f "<file_name>" -o "<output_file_name>"
For help use
bsc -h
# or
bsc --help
Save to file, and then run from CLI
bsc -f "<file_name>" -r
- -h or --help | Used for help [Boolean]
- -v or --version | Get version [Boolean]
- -f or --file | Specify the input file [String]
- -o or --out | Specify the output file [String]
- -e or --env | Specify as executable of Node [Boolean]
- -w or --watch | Watch file [Boolean]
- -r or --run | Save and run the file [Boolean]