[Feature]: Ability to negate boolean options on the command-line
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
### Version
- [X] latest
### version
lsd 1.0.0
### What OS are you seeing the problem on?
Linux
### installation
`pacman -S lsd`
### term
`xterm-kitty`
### ls-colors
`` (empty)
### What happened?
It's cool to be able to use `header: true` in the config. However, this denies me the ability to have `lsd` list files without a header.
### What expected?
It would be great to be able to negate the `--header` option, and ideally all other boolean options (if it makes sense at least).
### What else?
A mere suggestion, but I think a simple and consistent formula would be best. Wherever applicable, each boolean long option would have a negative version prefixed with `no-` (e.g. `--header` → `--no-header`), and each boolean short option can be negated by prefixing it with a plus. `lsd -l` → `lsd +l`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.