@@ -56,45 +56,54 @@ The tool automatically adjusts its matching logic based on the file type:
5656
5757**Syntax:**
5858` ` ` bash
59- uv run python -m audit_translations <language> [--file <specific_file>]
60- uv run python -m audit_translations --list
59+ uv run audit-translations <language> [--file <specific_file>]
60+ uv run audit-translations --list
61+
62+ # If running from the repo root, point uv at the project:
63+ uv run --project PythonScripts audit-translations <language>
64+ uv run --project PythonScripts audit-translations --list
6165` ` `
6266
6367**Convenience Features:**
6468* `--list`: Displays all available languages.
6569 * Region variants are shown as `lang-region` (e.g., `zz-aa`) based on subdirectories under `Rules/Languages/<lang>`.
6670* `--file`: Audits a single specific file instead of the whole directory.
67- * `--format`: Output format (`rich`, `jsonl`). `--output` is honored only for `jsonl`; rich output always prints to the console.
6871* `--rules-dir`: Override the Rules/Languages directory path.
6972* `--only`: Filter issue types (comma-separated): `missing`, `untranslated`, `extra`, `diffs`, `all`.
70- * `--verbose`: Show detailed output including English/translated snippets for rule differences (only affects rich format; default shows summary only) .
73+ * `--verbose`: Show detailed output including English/translated snippets for rule differences.
7174* **Summary Stats:** Provides a statistical summary after every run.
7275
7376**Examples:**
7477
7578` ` ` bash
7679# List available languages
77- uv run python -m audit_translations --list
80+ uv run audit-translations --list
81+
82+ # Same from repo root
83+ uv run --project PythonScripts audit-translations --list
7884
7985# Audit all Spanish translation files
80- uv run python -m audit_translations es
86+ uv run audit-translations es
8187
8288# Audit German translations
83- uv run python -m audit_translations de
89+ uv run audit-translations de
8490
8591# Audit only a specific file
86- uv run python -m audit_translations es --file SharedRules/default.yaml
87-
88- # Produce JSONL output for automation or AI workflows
89- uv run python -m audit_translations es --format jsonl --output es-issues.jsonl
92+ uv run audit-translations es --file SharedRules/default.yaml
9093
9194# Audit a regional variant (merges Rules/Languages/de and Rules/Languages/de/CH)
92- uv run python -m audit_translations de-CH
95+ uv run audit-translations de-CH
9396
9497# Show detailed output with English/translated snippets for rule differences
95- uv run python -m audit_translations es --verbose
98+ uv run audit-translations es --verbose
99+ ` ` `
100+
101+ **Running from the repo root (without `cd PythonScripts`):**
102+ ` ` ` bash
103+ uv run --project PythonScripts audit-translations es
104+ uv run --project PythonScripts audit-translations --list
96105` ` `
97106
98107# ## Testing
99108
100- ` ` ` uv run python -m pytest` ` `
109+ ` ` ` uv run pytest` ` `
0 commit comments