dsherret / dsherret/dax

Expose glob expansion through the path utilities

Open
#348 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.