package main import ( "os" "github.com/spf13/cobra" ) var version = "dev" func main() { root := &cobra.Command{ Use: "mcq", Short: "Metacircular Document Queue", Version: version, } root.AddCommand(serverCmd()) root.AddCommand(pushCmd()) root.AddCommand(listCmd()) root.AddCommand(getCmd()) root.AddCommand(deleteCmd()) root.AddCommand(loginCmd()) root.AddCommand(mcpCmd()) if err := root.Execute(); err != nil { os.Exit(1) } }