commands

package
v0.38.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterCmd

func NewClusterCmd(cfgFile *string) *cobra.Command

NewClusterCmd returns the cluster subcommand tree.

func NewDeleteCmd

func NewDeleteCmd(globalCfgFile *string) *cobra.Command

NewDeleteCmd returns the `devrig delete` command.

func NewDepsCmd added in v0.34.0

func NewDepsCmd(cfgFile *string) *cobra.Command

NewDepsCmd manages devrig's managed external tool binaries (k3d/kubectl/helm).

func NewDoctorCmd

func NewDoctorCmd(cfgFile *string) *cobra.Command

NewDoctorCmd reports the status of the external tools devrig can use. It is informational and never fails: a process-only project (services + dashboard) runs with no external tools at all, Docker is needed only for [docker] services and clusters, and the cluster tools (k3d/kubectl/helm) are fetched on demand. So doctor reports what's available rather than gating on it.

func NewEnvCmd

func NewEnvCmd(cfgFile *string) *cobra.Command

NewEnvCmd prints the resolved environment variables for a named service.

func NewExecCmd

func NewExecCmd(cfgFile *string) *cobra.Command

NewExecCmd runs a command inside a managed Docker container.

func NewInitCmd

func NewInitCmd() *cobra.Command

func NewKubectlCmd

func NewKubectlCmd(cfgFile *string) *cobra.Command

NewKubectlCmd proxies to kubectl with devrig's isolated kubeconfig.

func NewLogsCmd

func NewLogsCmd(cfgFile *string) *cobra.Command

NewLogsCmd queries stored logs from the running devrig dashboard.

func NewPsCmd

func NewPsCmd() *cobra.Command

NewPsCmd returns the `devrig ps` command.

func NewQueryCmd

func NewQueryCmd(cfgFile *string) *cobra.Command

NewQueryCmd queries OTel telemetry from a running devrig instance.

func NewResetCmd

func NewResetCmd(cfgFile *string) *cobra.Command

NewResetCmd clears init_completed flags in state.json so init SQL reruns.

func NewSkillCmd

func NewSkillCmd(cfgFile *string) *cobra.Command

NewSkillCmd manages the bundled Claude Code skill.

func NewStartCmd

func NewStartCmd(globalCfgFile *string) *cobra.Command

NewStartCmd returns the `devrig start` command.

func NewStopCmd

func NewStopCmd(globalCfgFile *string) *cobra.Command

NewStopCmd returns the `devrig stop` command.

func NewUpdateCmd

func NewUpdateCmd(currentVersion string) *cobra.Command

NewUpdateCmd downloads the latest release archive from GitHub Releases and replaces the running binary in place. It does NOT shell out to `go install` (that would build without the embedded dashboard and require a Go toolchain); the release archives are produced by goreleaser with the dashboard baked in.

func NewValidateCmd

func NewValidateCmd(globalCfgFile *string) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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