athityakumar / athityakumar/colorls
Adding a flag for paging
- Dominant language
- Ruby
- Stars
- 5.1k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
### Description
When piping the output from colorls to `more` or `less`, the colors are lost and I see no way of retaining them. How about adding a flag to colorls directly that does paging when needed?
- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- [ ] Installation
- [ ] Font-related
- [x] Feature request
- [ ] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation
Contributor guide
Research direction
Start by tracing colorls's CLI option parsing and output path, then verify how piping to more or less currently affects colors. Done means a flag is defined for paging when needed and its behavior is documented and covered by the relevant checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100