Files
go-jdenticon/cmd/jdenticon/version.go
Kevin McIntyre d9e84812ff Initial release: Go Jdenticon library v0.1.0
- Core library with SVG and PNG generation
- CLI tool with generate and batch commands
- Cross-platform path handling for Windows compatibility
- Comprehensive test suite with integration tests
2026-01-03 23:41:48 -05:00

21 lines
373 B
Go

package main
import (
"fmt"
"github.com/spf13/cobra"
)
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print version information",
Long: "Print the version, build commit, and build date information for jdenticon CLI",
Run: func(cmd *cobra.Command, args []string) {
fmt.Print(getVersionString())
},
}
func init() {
rootCmd.AddCommand(versionCmd)
}