Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.8 KB

CLI.md

File metadata and controls

73 lines (52 loc) · 1.8 KB

🏗️ BaseScript

BaseScript.net

version

ℹ️ About

🏗️ 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

🔗 How to contact the creators

📬 Email: basescriptnet@gmail.com
✈️ Telegram: @basescript
📹 YouTube: BaseScript Channel

▶️ Getting started

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

📝 Options

  • -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]