| package commands | |
| import ( | |
| "fmt" | |
| "github.com/spf13/cobra" | |
| ) | |
| const ( | |
| Version = "0.1.0" | |
| BuildDate = "2024-01-15" | |
| GitCommit = "mvp-build" | |
| ) | |
| var versionCmd = &cobra.Command{ | |
| Use: "version", | |
| Short: "Show version information", | |
| Long: `Display the current version of Staff MVP.`, | |
| Run: runVersion, | |
| } | |
| func runVersion(cmd *cobra.Command, args []string) { | |
| fmt.Printf("Staff MVP v%s\n", Version) | |
| fmt.Printf("Built: %s\n", BuildDate) | |
| fmt.Printf("Commit: %s\n", GitCommit) | |
| fmt.Printf("AI Multi-Agent Development System\n") | |
| } |