| user | 5a7d60d | 2025-07-27 21:22:04 +0400 | [diff] [blame] | 1 | package commands |
| 2 | |
| 3 | import ( |
| 4 | "fmt" |
| 5 | |
| 6 | "github.com/spf13/cobra" |
| 7 | ) |
| 8 | |
| 9 | const ( |
| 10 | Version = "0.1.0" |
| 11 | BuildDate = "2024-01-15" |
| 12 | GitCommit = "mvp-build" |
| 13 | ) |
| 14 | |
| 15 | var versionCmd = &cobra.Command{ |
| 16 | Use: "version", |
| 17 | Short: "Show version information", |
| 18 | Long: `Display the current version of Staff MVP.`, |
| 19 | Run: runVersion, |
| 20 | } |
| 21 | |
| 22 | func runVersion(cmd *cobra.Command, args []string) { |
| 23 | fmt.Printf("Staff MVP v%s\n", Version) |
| 24 | fmt.Printf("Built: %s\n", BuildDate) |
| 25 | fmt.Printf("Commit: %s\n", GitCommit) |
| 26 | fmt.Printf("AI Multi-Agent Development System\n") |
| iomodo | 50598c6 | 2025-07-27 22:06:32 +0400 | [diff] [blame^] | 27 | } |