Rename proto/gen directories from mc-proxy to mc_proxy for valid protobuf package naming. Add CLI status subcommand for querying running instance health via gRPC. Add systemd backup service/timer and backup pruning script. Add buf.yaml and proto-lint Makefile target. Add shutdown_timeout config field. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 lines
329 B
Go
20 lines
329 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func rootCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "mc-proxy",
|
|
Short: "TLS proxy and router for Metacircular Dynamics services",
|
|
Version: version,
|
|
}
|
|
|
|
cmd.AddCommand(serverCmd())
|
|
cmd.AddCommand(statusCmd())
|
|
cmd.AddCommand(snapshotCmd())
|
|
|
|
return cmd
|
|
}
|