Skip to content

fix(command): preserve typed version arguments - #90

Merged
jpage-godaddy merged 1 commit into
godaddy:mainfrom
smukherjee-godaddy:fix/preserve-version-args
Aug 10, 2026
Merged

fix(command): preserve typed version arguments#90
jpage-godaddy merged 1 commit into
godaddy:mainfrom
smukherjee-godaddy:fix/preserve-version-args

Conversation

@smukherjee-godaddy

Copy link
Copy Markdown
Contributor

Summary

  • preserve a typed command argument named version when building a CommandSpec
  • keep the engine-owned --help argument excluded
  • add a regression test that --version 1.0.0 parses for a typed release command

Test plan

  • cargo fmt --all --check
  • cargo clippy --all-targets -- -D warnings
  • RUSTDOCFLAGS='-D warnings' cargo doc --no-deps
  • cargo test --all-targets
  • cargo test --doc

@jpage-godaddy
jpage-godaddy merged commit 50f1b5f into godaddy:main Aug 10, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 10, 2026
jpage-godaddy pushed a commit that referenced this pull request Aug 10, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>cli-engine: 0.8.3</summary>

##
[0.8.3](cli-engine-v0.8.2...cli-engine-v0.8.3)
(2026-08-10)


### Bug Fixes

* **command:** preserve typed version arguments
([#90](#90))
([50f1b5f](50f1b5f))
* **tree:** show completion built-in in tree output
([#89](#89))
([b80406e](b80406e))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants