--- source: tests/cli.rs expression: content --- Process lua files with rules Configure the code transformation using a configuration file. If no configuration is passed, darklua will attempt to read `.darklua.json` or `darklua.json5` from the working directory. Usage: darklua process [OPTIONS] Arguments: Path to the lua file to process Where to output the result Options: -c, --config Choose a specific configuration file -v, --verbose... Sets verbosity level (can be specified multiple times) --format Choose how Lua code is formatted ('dense', 'readable' or 'retain_lines'). This will override the format given by the configuration file -w, --watch Watch files and directories for changes and automatically re-run -h, --help Print help (see a summary with '-h') -V, --version Print version