Skip to content

Commit 3d73dda

Browse files
Google Team Membercopybara-github
authored andcommitted
feat(cli): add root --version/-v flag
Enable `rootVersionFlag: true` in `gen.yaml` and regenerate the CLI so `gemini-api --version` (and `-v`) prints the CLI version on the root command. PiperOrigin-RevId: 990664126
1 parent fff4089 commit 3d73dda

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎internal/cli/root.go‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/cli/version.go‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)