Clarify CLI options

This commit is contained in:
2025-01-01 19:32:41 -06:00
committed by James Eversole
parent 03cbadcc54
commit f478a7d091
2 changed files with 13 additions and 15 deletions

View File

@ -64,27 +64,25 @@ tricu [COMMAND] ... [OPTIONS]
tricu: Exploring Tree Calculus
Common flags:
-? --help Display help message
-V --version Print version information
-? --help Display help message
-V --version Print version information
tricu [repl] [OPTIONS]
Start interactive REPL
tricu eval [OPTIONS]
Evaluate a file and return the result of the expression in the final line
Evaluate tricu and return the result of the final expression.
-f --file=FILE Optional input file path for evaluation.
Defaults to stdin.
-o --output=OUTPUT Optional output file path for resulting output.
Defaults to stdout.
-t --form=FORM Optional output form: (fsl|tree|ast|ternary|ascii).
Defaults to fsl.
-f --file=FILE Input file path(s) for evaluation.
Defaults to stdin.
-t --form=FORM Optional output form: (fsl|tree|ast|ternary|ascii).
Defaults to fsl "Fork Stem Leaf" form.
tricu decode [OPTIONS]
Decode a Tree Calculus value into a string representation
Decode a Tree Calculus value into a string representation.
-f --file=FILE Optional input file path to attempt decoding.
Defaults to stdin.
-f --file=FILE Optional input file path to attempt decoding.
Defaults to stdin.
```
## Acknowledgements