Files
mcq/cmd/mcq/main.go
Kyle Isom 3d5f52729f Add CLI client subcommands and MCP server
Adds push, list, get, delete, and login subcommands backed by an HTTP
API client, plus an MCP server for tool-based access to the document
queue.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 00:08:55 -07:00

30 lines
461 B
Go

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)
}
}