Documentation
¶
Overview ¶
Package cli constructs the dq Cobra command tree: compose helpers, deploy, validation, shell completion, and man-page generation. Subcommands resolve the project root from docker-ops.yml (and optional --project-dir), then run docker compose either locally or over SSH when remote_ssh / remote_path are set in config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRoot ¶
NewRoot returns the root *cobra.Command for the dq binary. It registers all subcommands (version, validate, env, compose, deploy, completion, man, etc.), wires persistent flags (--project-dir, --lang), and applies SilenceErrors / SilenceUsage so RunE failures are printed once from main without dumping full usage.
Types ¶
This section is empty.