feat: tail -f option
Open
Nobody has claimed this yet.
feature
help wanted
low priority
- Dominant language
- JavaScript
- Stars
- 14.4k
- Forks
- 756
- PR merge metrics
- No merged PRs in 30d
Description
Originally filed in https://github.com/shelljs/shx/issues/172
We should support shell.tail('-f', ...). We would need to "follow" the file as it grows - basically, tail('-f') would never terminate. This isn't super useful in a programmatic context, but would be more useful in shx.
@martin-braun
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing shell.tail entry point and the original shx issue linked in the description. Determine how tail currently handles arguments and what completion should mean for a follow operation; done should support shell.tail('-f', ...) with the requested follow behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100