Skip to content

Support multiple file path filters in CLI#376

Open
cantemizyurek wants to merge 2 commits intomattpocock:v1from
cantemizyurek:cantemizyurek/multiple-param-support
Open

Support multiple file path filters in CLI#376
cantemizyurek wants to merge 2 commits intomattpocock:v1from
cantemizyurek:cantemizyurek/multiple-param-support

Conversation

@cantemizyurek
Copy link
Collaborator

Summary

  • Allow users to pass multiple file paths or filters as positional arguments to the evalite CLI, e.g. evalite ./src/system-prompt.eval.ts ./src/tools/search.eval.ts or evalite watch ./src/system-prompt.eval.ts
  • Change the CLI positional parameter from a single optional string to a variadic array, passed through to Vitest's start(filters)
  • Add tests for multiple paths and multiple filters

Added functionality to allow multiple file path filters as positional arguments in the Evalite CLI. Users can now specify multiple eval files to run, enhancing flexibility in file selection. Updated relevant types and tests to accommodate this change.

Closes: mattpocock#367
@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2026

🦋 Changeset detected

Latest commit: 72d3d88

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 5, 2026

@cantemizyurek is attempting to deploy a commit to the Skill Recordings Team on Vercel.

A member of the Team first needs to authorize it.

@cantemizyurek
Copy link
Collaborator Author

The 2 failing tests (failing.test.ts and files.test.ts) are pre-existing on the v1 branch and unrelated to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant