blob: bbb8091390891bee3ab9ccdf65ab1477d5031ffc [file] [log] [blame]
user5a7d60d2025-07-27 21:22:04 +04001package commands
2
3import (
4 "fmt"
5
6 "github.com/spf13/cobra"
7)
8
9const (
10 Version = "0.1.0"
11 BuildDate = "2024-01-15"
12 GitCommit = "mvp-build"
13)
14
15var 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
22func 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")
iomodo50598c62025-07-27 22:06:32 +040027}