Documentation
¶
Overview ¶
Package cli is swarmcli's non-interactive command-line front-end. When the binary is invoked with arguments (e.g. `swarmcli charts install ...`) it runs a one-shot command that prints to stdout and exits, rather than launching the TUI. This is what makes charts usable from scripts, CI/CD and GitOps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dispatch ¶
Dispatch runs a non-interactive command and returns a process exit code. It is invoked from main when the binary is given arguments; an empty args slice is never passed (main launches the TUI in that case). version is the build version string for `swarmcli version`.
func SetEdition ¶ added in v1.14.0
func SetEdition(e string)
SetEdition records which artefact this build is (called from main).
Types ¶
This section is empty.