cmd

package
v0.0.0-...-7912672 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DeployCmd executes a multi-node deployment.
	DeployCmd = &cobra.Command{
		Use:   "deploy",
		Short: "Deploy infrastructure across multiple nodes",
		Long:  "Reads a topology file and executes tools on each node in dependency order.",
		RunE:  runDeploy,
	}
)
View Source
var (

	// DestroyCmd removes a deployment.
	DestroyCmd = &cobra.Command{
		Use:   "destroy <deployment>",
		Short: "Remove a deployment record",
		Args:  cobra.ExactArgs(1),
		RunE:  runDestroy,
	}
)
View Source
var (

	// ExecCmd runs a command on a specific node.
	ExecCmd = &cobra.Command{
		Use:   "exec <deployment> <node> -- <command...>",
		Short: "Execute a command on a specific node",
		Long:  "Runs an arbitrary command on a node within a deployment via SSH.",
		Args:  cobra.MinimumNArgs(2),
		RunE:  runExec,
	}
)
View Source
var (

	// StatusCmd shows deployment status.
	StatusCmd = &cobra.Command{
		Use:   "status [deployment]",
		Short: "Show deployment status",
		Args:  cobra.MaximumNArgs(1),
		RunE:  runStatus,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL