-
Notifications
You must be signed in to change notification settings - Fork 89
Comparing changes
Open a pull request
base repository: oclif/core
base: 4.9.0
head repository: oclif/core
compare: 4.10.0
- 16 commits
- 14 files changed
- 4 contributors
Commits on Mar 10, 2026
-
Configuration menu - View commit details
-
Copy full SHA for fb76263 - Browse repository at this point
Copy the full SHA fb76263View commit details -
feat: show ... suffix for variadic args in help text
Update help rendering to add '...' suffix per-arg based on the `multiple` property, instead of only using command-level `strict === false`. The existing strict===false behavior is preserved as a fallback for backward compatibility.
Configuration menu - View commit details
-
Copy full SHA for fc53652 - Browse repository at this point
Copy the full SHA fc53652View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d2543 - Browse repository at this point
Copy the full SHA 20d2543View commit details -
feat: implement variadic arg parsing with shift/pop algorithm
Rewrites _args() in parse.ts to support variadic args using a shift/pop algorithm: pre-variadic args consume from the front, post-variadic args consume from the back, and everything remaining goes to the variadic arg as an array. Also updates validate.ts to skip UnexpectedArgsError when a variadic arg is present.
Configuration menu - View commit details
-
Copy full SHA for eba40b5 - Browse repository at this point
Copy the full SHA eba40b5View commit details -
feat: add ArgDefinition overloads for variadic arg return types
Add TypeScript overloads to ArgDefinition so that Args.string({ multiple: true }) correctly types the return as Arg<T[]> instead of Arg<T>. This mirrors how FlagDefinition handles multiple: true with its overloads.Configuration menu - View commit details
-
Copy full SHA for 6fea593 - Browse repository at this point
Copy the full SHA 6fea593View commit details -
refactor: extract helpers from _args()
Break apart _args() by extracting parseArgInput, applyDefault, and tryStdin helpers. Inline the variadic path instead of a separate method to avoid passing 7 parameters. Remove "original logic" comments.
Configuration menu - View commit details
-
Copy full SHA for 2b8a472 - Browse repository at this point
Copy the full SHA 2b8a472View commit details -
test: add help output tests for variadic args
Verify that variadic args show ... suffix in USAGE line: - last position, first with trailing required, middle position - optional variadic shows [FILES...] - non-variadic siblings don't get the suffix
Configuration menu - View commit details
-
Copy full SHA for 06811f4 - Browse repository at this point
Copy the full SHA 06811f4View commit details -
fix: include multiple property in cached arg metadata
The cacheArgs function wasn't including the `multiple` property when caching arg metadata, which caused help text to miss the `...` suffix for variadic args when loaded from the manifest cache.
Configuration menu - View commit details
-
Copy full SHA for 32b4bb7 - Browse repository at this point
Copy the full SHA 32b4bb7View commit details -
test: add coverage for flags interspersed with variadic args
Verify that the shift/pop parsing algorithm correctly handles flags placed between positional arguments in various configurations: leading required + variadic, variadic + trailing required, both, and boolean flags mixed in.
Configuration menu - View commit details
-
Copy full SHA for 606fa37 - Browse repository at this point
Copy the full SHA 606fa37View commit details
Commits on Mar 14, 2026
-
chore(dev-deps): bump eslint-config-oclif from 6.0.146 to 6.0.148
Bumps [eslint-config-oclif](https://github.com/oclif/eslint-config-oclif) from 6.0.146 to 6.0.148. - [Release notes](https://github.com/oclif/eslint-config-oclif/releases) - [Changelog](https://github.com/oclif/eslint-config-oclif/blob/main/CHANGELOG.md) - [Commits](oclif/eslint-config-oclif@6.0.146...6.0.148) --- updated-dependencies: - dependency-name: eslint-config-oclif dependency-version: 6.0.148 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for a85be73 - Browse repository at this point
Copy the full SHA a85be73View commit details -
Merge pull request #1556 from oclif/dependabot-npm_and_yarn-eslint-co…
…nfig-oclif-6.0.148 chore(dev-deps): bump eslint-config-oclif from 6.0.146 to 6.0.148
Configuration menu - View commit details
-
Copy full SHA for 5a960a1 - Browse repository at this point
Copy the full SHA 5a960a1View commit details
Commits on Mar 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8378f8b - Browse repository at this point
Copy the full SHA 8378f8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 454ae3d - Browse repository at this point
Copy the full SHA 454ae3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da42b29 - Browse repository at this point
Copy the full SHA da42b29View commit details
Commits on Mar 19, 2026
-
Merge pull request #1554 from rexxars/feat/native-variadic-args
feat: support variadic args natively
Configuration menu - View commit details
-
Copy full SHA for 4c6b3d7 - Browse repository at this point
Copy the full SHA 4c6b3d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5facdb - Browse repository at this point
Copy the full SHA a5facdbView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4.9.0...4.10.0