cli

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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

func Dispatch(args []string, version string) int

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`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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