thp/CLI.md

24 lines
452 B
Markdown

The THP compiler & formatter, v0.0.1
Usage: `thp [command] [options]`
## Commands
c _file_ Compiles `file` in-place
f _file_ Formats `file`
r Starts the REPL
init Initializes a new project in the current directory
build, b Builds the project
fmt Formats all files in the project
watch Starts compilation of the project in watch mode
help, h Print this message & exit
## General options
-h, --help Print command-specific usage