Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oclif/core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.9.0
Choose a base ref
...
head repository: oclif/core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.10.0
Choose a head ref
  • 16 commits
  • 14 files changed
  • 4 contributors

Commits on Mar 10, 2026

  1. Configuration menu
    Copy the full SHA
    fb76263 View commit details
    Browse the repository at this point in the history
  2. 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.
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    fc53652 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20d2543 View commit details
    Browse the repository at this point in the history
  4. 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.
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    eba40b5 View commit details
    Browse the repository at this point in the history
  5. 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.
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    6fea593 View commit details
    Browse the repository at this point in the history
  6. 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.
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    2b8a472 View commit details
    Browse the repository at this point in the history
  7. 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
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    06811f4 View commit details
    Browse the repository at this point in the history
  8. 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.
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    32b4bb7 View commit details
    Browse the repository at this point in the history
  9. 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.
    rexxars committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    606fa37 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2026

  1. 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>
    dependabot[bot] authored Mar 14, 2026
    Configuration menu
    Copy the full SHA
    a85be73 View commit details
    Browse the repository at this point in the history
  2. 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
    svc-cli-bot authored Mar 14, 2026
    Configuration menu
    Copy the full SHA
    5a960a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. Configuration menu
    Copy the full SHA
    8378f8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    454ae3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da42b29 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. Merge pull request #1554 from rexxars/feat/native-variadic-args

    feat: support variadic args natively
    jfeingold35 authored Mar 19, 2026
    Configuration menu
    Copy the full SHA
    4c6b3d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5facdb View commit details
    Browse the repository at this point in the history
Loading