cli

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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

func NewRoot() *cobra.Command

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.

Jump to

Keyboard shortcuts

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