thp/CLI.md
2023-12-10 20:32:20 -05:00

24 lines
462 B
Markdown

The THP compiler, linter & 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, w Starts compilation of the project in watch mode
help, h Print this message & exit
## General options
-h, --help Print command-specific usage