Skip to content

fix(cli): process every --input value instead of only the last - #125

Merged
Shinrai merged 2 commits into
nextfrom
fix/repeatable-input
Oct 4, 2026
Merged

Shinrai merged 2 commits into
nextfrom
fix/repeatable-input

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure type: documentation Relates to docs, README updates, guides, or inline code comments labels Oct 4, 2026
--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
Shinrai force-pushed the fix/repeatable-input branch from ffd8fb1 to be9b89b Compare October 4, 2026 00:38
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
Shinrai previously approved these changes Oct 4, 2026
@cldmv-bot
cldmv-bot Bot dismissed Shinrai’s stale review October 4, 2026 01:05

The merge-base changed after approval.

@Shinrai
Shinrai enabled auto-merge October 4, 2026 01:06
Shinrai
Shinrai previously approved these changes Oct 4, 2026
@Shinrai
Shinrai dismissed their stale review October 4, 2026 01:06

The merge-base changed after approval.

@Shinrai
Shinrai merged commit c190e24 into next Oct 4, 2026
24 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/repeatable-input branch October 4, 2026 01:08
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: documentation Relates to docs, README updates, guides, or inline code comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant