Skip to content

fix(cli): allow beans version to run without .beans directory#28

Merged
hmans merged 1 commit intohmans:mainfrom
sotte:fix-version-command
Dec 25, 2025
Merged

fix(cli): allow beans version to run without .beans directory#28
hmans merged 1 commit intohmans:mainfrom
sotte:fix-version-command

Conversation

@sotte
Copy link
Copy Markdown
Contributor

@sotte sotte commented Dec 24, 2025

The version command was failing in directories without a .beans/ subdirectory because PersistentPreRunE validates directory existence. Added "version" to the exemption list alongside "init" and "prime".

The version command was failing in directories without a .beans/
subdirectory because PersistentPreRunE validates directory existence.
Added "version" to the exemption list alongside "init" and "prime".
@sotte
Copy link
Copy Markdown
Contributor Author

sotte commented Dec 24, 2025

should close #24

@hmans hmans merged commit b8d7053 into hmans:main Dec 25, 2025
1 check passed
@hmans
Copy link
Copy Markdown
Owner

hmans commented Dec 25, 2025

Thanks!

hmans added a commit that referenced this pull request Dec 26, 2025
* main:
  fix(cli): allow `beans version` to run without .beans directory (#28)
  fix: In the prompt primer, request the agent to check for existing beans before creating a new one
  feat(tui): add 'y' shortcut to copy bean-id (#26)
  docs: clarify completion rules for beans with unchecked items (#27)
  feat: support short IDs (without prefix) in GraphQL queries
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