Skip to content

feat(cli): add -V/--version flag to print package version#10

Merged
trick77 merged 1 commit intomasterfrom
feat/default-agent-plan
May 4, 2026
Merged

feat(cli): add -V/--version flag to print package version#10
trick77 merged 1 commit intomasterfrom
feat/default-agent-plan

Conversation

@trick77
Copy link
Copy Markdown
Owner

@trick77 trick77 commented May 4, 2026

Summary

  • Adds -V and --version flags to the CLI
  • Reads the version from package.json at runtime and prints it as v<version>
  • Exits with code 0 after printing

Test plan

  • Run opencode-presets -V and verify output matches package.json version
  • Run opencode-presets --version and verify same output

@trick77 trick77 merged commit 3efe315 into master May 4, 2026
2 checks passed
@trick77 trick77 deleted the feat/default-agent-plan branch May 4, 2026 18:41
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