42 releases (17 breaking)
0.18.1 | Jun 25, 2022 |
---|---|
0.17.0 | Apr 23, 2022 |
0.13.9 | Mar 18, 2022 |
#840 in Command line utilities
66KB
2K
SLoC
A CLI wrapping the Melody language compiler
Install
cargo install melody_cli
Usage
USAGE:
melody [OPTIONS] [INPUT_FILE_PATH]
ARGS:
<INPUT_FILE_PATH> Read from a file
Use '-' and or pipe input to read from stdin
OPTIONS:
--generate-completions <COMPLETIONS>
Outputs completions for the selected shell
To use, write the output to the appropriate location for your shell
-h, --help
Print help information
-n, --no-color
Print output with no color
-o, --output <OUTPUT_FILE_PATH>
Write to a file
-r, --repl
Start the Melody REPL
-t, --test <TEST>
Test the compiled regex against a string
-V, --version
Print version information
Dependencies
~5MB
~108K SLoC