Skip to content

feat: add version options#74

Merged
michaelneale merged 4 commits intoblock:mainfrom
lamchau:lam/add-version-option
Sep 19, 2024
Merged

feat: add version options#74
michaelneale merged 4 commits intoblock:mainfrom
lamchau:lam/add-version-option

Conversation

@lamchau
Copy link
Contributor

@lamchau lamchau commented Sep 18, 2024

  • replace legacy Dict with buitin dict for python >= 3.9+ / PEP585
  • add -V / --version flags to match other cli tools
    • chose -V since many applications use -v as --verbose, which may be useful if we add debug logging

Test + Example outputs

$ uv run goose version
Goose-ai: 0.9.0
Plugins:
  Module: ai-exchange, Version: 0.9.0

$ uv run goose --version
Goose-ai: 0.9.0
Plugins:
  Module: ai-exchange, Version: 0.9.0

$ uv run goose -V
Goose-ai: 0.9.0
Plugins:
  Module: ai-exchange, Version: 0.9.0
$ uv --version
uv 0.3.3 (deea6025a 2024-08-23)

$ uv -V
uv 0.3.3 (deea6025a 2024-08-23)

$ uv version
uv 0.3.3 (deea6025a 2024-08-23)
$ git --version
git version 2.45.2

$ git -v
git version 2.45.2

$ git version
git version 2.45.2

@lamchau lamchau changed the title add version options and update types for python 3.9+ feat: add version options Sep 18, 2024
@lamchau lamchau force-pushed the lam/add-version-option branch from a94fb55 to 120efad Compare September 18, 2024 06:45
Copy link
Contributor

@lukealvoeiro lukealvoeiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for the contribution!

@michaelneale michaelneale merged commit 4ea82e8 into block:main Sep 19, 2024
@lamchau lamchau deleted the lam/add-version-option branch September 19, 2024 06:59
lifeizhou-ap added a commit that referenced this pull request Sep 20, 2024
* main:
  feat: add version options (#74)
Kvadratni added a commit to Kvadratni/goose that referenced this pull request Sep 23, 2024
* origin/main:
  docs: add in ollama (block#82)
  chore: add just command for releasing goose (block#55)
  feat: support markdown plans  (block#79)
  feat: add version options (block#74)
  docs: fixing exchange url to public version (block#67)
  docs: Update CONTRIBUTING.md (block#69)
  chore: create mkdocs for goose (block#70)
  docs: fix broken link (block#71)
  feat: give commands the ability to execute logic (block#63)
  feat: jira toolkit (block#59)
  feat: run goose in a docker-style sandbox (block#44)
lily-de pushed a commit that referenced this pull request Oct 7, 2024
ahau-square pushed a commit that referenced this pull request May 2, 2025
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
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.

3 participants

Comments