fix(cli): process every --input value instead of only the last - #125
Merged
Merged
Conversation
--input was a scalar flag, so repeating it silently kept the last value: `--input a.mjs --input b.mjs` scanned only b.mjs. It is now repeatable, like --include-folder: the CLI collects every value (de-duplicated) and the `input` option accepts a string or an array of paths. The run processes the union of the files named and the files discovered under the folders named, each file once, in the order given. A missing path still throws and names that path; a non-string entry throws; an empty list means no input (a normal repo-wide run). Fixes #119
Shinrai
force-pushed
the
fix/repeatable-input
branch
from
October 4, 2026 00:38
ffd8fb1 to
be9b89b
Compare
Shinrai
added a commit
that referenced
this pull request
Oct 4, 2026
The non-JS file, repeatable --input and dependency-folder fixes land in the same release as #117. Describe each fix, the reported skips, and the behaviour changes an existing setup could notice.
Shinrai
previously approved these changes
Oct 4, 2026
cldmv-bot
Bot
dismissed
Shinrai’s stale review
October 4, 2026 01:05
The merge-base changed after approval.
Shinrai
approved these changes
Oct 4, 2026
Shinrai
enabled auto-merge
October 4, 2026 01:06
Shinrai
previously approved these changes
Oct 4, 2026
Shinrai
approved these changes
Oct 4, 2026
This was referenced Oct 4, 2026
Shinrai
added a commit
that referenced
this pull request
Oct 4, 2026
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix(discovery): never walk dependency folders, at any depth (#126) (adb3d7c) - fix(cli): process every --input value instead of only the last (#125) (be9b89b) - fix: never write a comment into files that cannot carry one; force-only Markdown headers (#124) (082977f) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Shinrai
added a commit
that referenced
this pull request
Oct 4, 2026
…#121) ## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - fix(discovery): never walk dependency folders, at any depth (#121) (adb3d7c) - fix(cli): process every --input value instead of only the last (#121) (be9b89b) - fix: never write a comment into files that cannot carry one; force-only Markdown headers (#121) (082977f) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - docs: cover #124, #125 and #126 in the v2.1.4 notes and What's New (#121) (13c8859) - docs: add the v2.1.4 changelog and restructure the README (#121) (0358f40) - docs(changelog): backfill changelogs for v1.0.0–v1.3.12, v2.1.1 and v2.1.2 (#121) (caa7c1e) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors