Added executable root launcher for audita
This commit is contained in:
17
README.md
17
README.md
@@ -17,7 +17,22 @@ Set an OpenRouter API key, then process a transcript with a glossary:
|
||||
|
||||
```sh
|
||||
export OPENROUTER_API_KEY=...
|
||||
uv run audia process transcript.json --glossary glossary.yaml --output corrected.json
|
||||
uv run audita process transcript.json --glossary glossary.yaml --output corrected.json
|
||||
```
|
||||
|
||||
From a checked-out repository, you can also use the root launcher:
|
||||
|
||||
```sh
|
||||
./audita process transcript.json --glossary glossary.yaml --output corrected.json
|
||||
```
|
||||
|
||||
For a system-wide command, install the source tree under `/usr/local/src/audita`, sync dependencies there, and symlink the root launcher into your `PATH`:
|
||||
|
||||
```sh
|
||||
cd /usr/local/src/audita
|
||||
uv sync --extra dev
|
||||
ln -s /usr/local/src/audita/audita /usr/local/bin/audita
|
||||
audita process transcript.json --glossary glossary.yaml --output corrected.json
|
||||
```
|
||||
|
||||
Without `--output`, Audita writes the corrected transcript JSON to stdout and progress logs to stderr.
|
||||
|
||||
Reference in New Issue
Block a user