Skip to content

feat(cli): add --version flag - #193

Open
JonathanGawrych wants to merge 1 commit into
Squads-Protocol:mainfrom
JonathanGawrych:jag/cli-version-flag
Open

feat(cli): add --version flag#193
JonathanGawrych wants to merge 1 commit into
Squads-Protocol:mainfrom
JonathanGawrych:jag/cli-version-flag

Conversation

@JonathanGawrych

Copy link
Copy Markdown

Adds #[command(version)] to the top-level parser so the CLI reports its version:

$ squads-multisig-cli --version
squads-multisig-cli 0.1.8

The version is read from CARGO_PKG_VERSION, so it stays in sync with cli/Cargo.toml automatically.

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

@JonathanGawrych is attempting to deploy a commit to the squads Team on Vercel.

A member of the Team first needs to authorize it.

Derive clap's version on the App parser so `squads-multisig-cli --version`
reports the crate version from CARGO_PKG_VERSION.
@JonathanGawrych JonathanGawrych changed the title Add --version flag to CLI feat(cli): add --version flag Jul 2, 2026
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.

1 participant