feat(no-color): added --no-color flag

This commit is contained in:
darwincereska
2025-11-11 10:39:17 -05:00
parent 375f5a52b2
commit 6f4c99ef5b
4 changed files with 55 additions and 13 deletions

View File

@@ -23,6 +23,27 @@ The executable will be in `build/install/notevc/bin/notevc`
---
## Global Options
These options work with any command and should be placed before the command name:
- `--no-color`: Disable colored output
**Examples:**
```bash
notevc --no-color status
notevc --no-color diff
notevc --no-color log --oneline
notevc --no-color show a1b2c3d4
```
**Alternative methods to disable colors:**
- Set `NO_COLOR=1` environment variable: `NO_COLOR=1 notevc status`
- Pipe output: `notevc status | less` (colors auto-disabled)
- CI environments automatically disable colors
---
## Command Reference
### Repository Management