mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 12:46:57 +00:00
19 lines
526 B
Go
19 lines
526 B
Go
package inspectcmd
|
|
|
|
import (
|
|
"github.com/DeBrosOfficial/network/pkg/cli"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// Cmd is the inspect command for SSH-based cluster inspection.
|
|
var Cmd = &cobra.Command{
|
|
Use: "inspect",
|
|
Short: "Inspect cluster health via SSH",
|
|
Long: `SSH into cluster nodes and run health checks.
|
|
Supports AI-powered failure analysis and result export.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
cli.HandleInspectCommand(args)
|
|
},
|
|
DisableFlagParsing: true, // Pass all flags through to existing handler
|
|
}
|