commands

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ManPageFileMode defines the file permissions for the man page file
	ManPageFileMode = 0644
	// ManPageDirMode defines the directory permissions for man page directories
	ManPageDirMode = 0755
)

Variables

View Source
var VersionInfo = types.VersionInfo{
	Version:   version,
	Commit:    commit,
	BuildDate: buildDate,
}

VersionInfo provides access to version information. ldflags -X values are applied at link time, so this package-level initializer (which runs after version/commit/buildDate in dependency order) already sees them — no init() re-assignment is needed.

Functions

func CompletionCommand added in v0.7.0

func CompletionCommand() *cli.Command

CompletionCommand returns the `completion` command, which prints a shell completion script for bash, zsh, or fish.

func GenDocsCommand added in v0.7.0

func GenDocsCommand() *cli.Command

GenDocsCommand returns a hidden command that generates the Markdown command reference for the docs site directly from the live CLI tree. Because it walks the same *cli.Command tree the binary runs, the reference can never drift from the actual flags. Run it via `task docs:gen`. (REF-108)

func ManPageCommand added in v0.1.9

func ManPageCommand() *cli.Command

func PrintVersion added in v0.6.0

func PrintVersion(w io.Writer)

PrintVersion writes the CLI version details to w. It is the single source of truth shared by the `version` subcommand and the global `--version` flag so both produce identical output.

func VersionCommand

func VersionCommand() *cli.Command

Types

This section is empty.

Directories

Path Synopsis
Package addon provides CLI commands for EKS add-on operations.
Package addon provides CLI commands for EKS add-on operations.
Package cluster provides CLI commands for EKS cluster operations.
Package cluster provides CLI commands for EKS cluster operations.
Package clusterview renders cluster summaries and details.
Package clusterview renders cluster summaries and details.
Package ctxcmd implements refresh context management commands (use, current, context).
Package ctxcmd implements refresh context management commands (use, current, context).
Package factory constructs AWS-backed services used by CLI command packages.
Package factory constructs AWS-backed services used by CLI command packages.
Package nodegroup provides CLI commands for EKS nodegroup operations.
Package nodegroup provides CLI commands for EKS nodegroup operations.
Package runner provides shared CLI command primitives so that every command's run* function doesn't re-implement context+awsconfig+credential setup, the "no cluster specified" fallback, and json/yaml encoding.
Package runner provides shared CLI command primitives so that every command's run* function doesn't re-implement context+awsconfig+credential setup, the "no cluster specified" fallback, and json/yaml encoding.
Package statuscmd wires the top-level `refresh status` command — the fleet patch-posture "front door".
Package statuscmd wires the top-level `refresh status` command — the fleet patch-posture "front door".
Package statusview renders fleet patch-posture output for `refresh status`.
Package statusview renders fleet patch-posture output for `refresh status`.

Jump to

Keyboard shortcuts

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