On this page
Commands
MarkdownReference for all Glossia CLI commands and their flags.
glossia init
Create a starter GLOSSIA.md configuration file in the current repository.
glossia init
Fails if GLOSSIA.md already exists.
glossia translate
Run translation for all [[content]] entries that have targets defined.
glossia translate [OPTIONS]
| Flag | Description |
|---|---|
--force |
Re-translate all files, ignoring hashes |
--yolo |
Skip validation checks |
--no-yolo |
Force validation even if --yolo is set |
--retries <N> |
Override retry count |
--dry-run |
Show what would be translated without doing it |
--check-cmd <CMD> |
Override the validation command |
glossia revisit
Run revision for all [[content]] entries that do not have targets.
glossia revisit [OPTIONS]
| Flag | Description |
|---|---|
--force |
Re-process all files, ignoring hashes |
--retries <N> |
Override retry count |
--dry-run |
Show what would be revised without doing it |
--check-cmd <CMD> |
Override the validation command |
glossia check
Validate all generated output files against their configured checks.
glossia check [OPTIONS]
| Flag | Description |
|---|---|
--check-cmd <CMD> |
Override the validation command |
glossia status
Show the current state of all content entries: up to date, stale, or missing.
glossia status
glossia clean
Remove generated output files.
glossia clean [OPTIONS]
| Flag | Description |
|---|---|
--dry-run |
Show what would be removed without doing it |
--orphans |
Only remove orphaned files (outputs with no matching source) |
Global flags
| Flag | Description |
|---|---|
--path <PATH> |
Override the project root directory |
--no-color |
Disable colored output |
Glossia