Skip to content

feat(cli): add version command and global --version#5

Merged
shpoont merged 2 commits intomainfrom
docs/version-command-spec
Feb 17, 2026
Merged

feat(cli): add version command and global --version#5
shpoont merged 2 commits intomainfrom
docs/version-command-spec

Conversation

@shpoont
Copy link
Copy Markdown
Owner

@shpoont shpoont commented Feb 17, 2026

Summary

  • docs-first update for version and global --version
  • add dotfiles-manager version subcommand and root --version flag support
  • output format: dotfiles-manager version <value>
  • no config required for version checks
  • local builds default to dev; release builds inject semantic version via GoReleaser ldflags

Commits

  1. docs(version): define version and --version behavior
  2. feat(cli): add version subcommand and --version flag

Validation

  • go test ./...
  • go test -tags=contract ./...
  • go test -tags=integration ./...
  • bash scripts/ci/run-static-checks.sh true
  • bash scripts/ci/run-tests.sh contract linux true

@shpoont shpoont merged commit 23531b1 into main Feb 17, 2026
8 checks passed
@shpoont shpoont deleted the docs/version-command-spec branch February 17, 2026 20:38
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