Expose glob expansion through the path utilities
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 42
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
I saw glob expansion is now being used in the shell; it'd be nice to be able to also utilize it when using the path utilities.
I think making the $.path automatically resolve globs would be a massive overhaul, but if we added another function e.g. $.glob that returns either an array or async iterator of Path instances, it could make things more convenient.
Contributor guide
No contributing guide indexed for this repository
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 tracing the existing shell glob expansion and the path utilities referenced in the issue. Define the proposed $.glob behavior, including whether it returns an array or async iterator of Path instances, and add coverage showing the chosen interface works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100