PersistentPreRunE needs to be called within the help function to initialize all the flags (notably the orchestrator flag) Add an e2e test as regression test Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
15 lines
424 B
Plaintext
15 lines
424 B
Plaintext
|
|
Usage: docker stack deploy [OPTIONS] STACK
|
|
|
|
Deploy a new stack or update an existing stack
|
|
|
|
Aliases:
|
|
deploy, up
|
|
|
|
Options:
|
|
-c, --compose-file strings Path to a Compose file, or "-" to read
|
|
from stdin
|
|
--kubeconfig string Kubernetes config file
|
|
--namespace string Kubernetes namespace to use
|
|
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
|