task: task-1753636924-a1d4c708 - created
Change-Id: Ic78528c47ae38114b9b7504f1c4a76f95e93eb13
diff --git a/server/cmd/commands/version.go b/server/cmd/commands/version.go
new file mode 100644
index 0000000..b6f2720
--- /dev/null
+++ b/server/cmd/commands/version.go
@@ -0,0 +1,27 @@
+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")
+}
\ No newline at end of file