feat: add terminal output mode for Codex usage

This commit is contained in:
Meghdad committed 2026-07-12 16:40:49 +03:30
1 parent 3a8869b0ba
commit f44700c40f
3 files changed
+115 -12

No files matched your search

+11
View File
@@ -87,6 +87,17 @@ Other command options:
--no-cache
```
## Terminal mode
For a readable terminal display instead of Waybar JSON, use either command:
```bash
codex-waybar --terminal
# or: codex-waybar --mode terminal
```
It shows both usage windows as color-coded progress bars, reset countdowns, and an overall status. Colors are enabled for interactive terminals; use `--color always` or `--color never` to override that behavior.
## Styling
The command emits these Waybar CSS classes: