cmdinstall

package
v0.182.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstall

func NewInstall(runtime shared.Runtime, options cobracmd.CommandOptions) *cobra.Command

NewInstall returns the "install" command, built from github.com/strongo/cli-helpers/cliinstall/cobracmd against wb's own catalog entry (cli-install#req:host-identity-from-catalog). `wb install` lists the fleet CLIs relevant to wb with their live status, and `wb install <name>...` installs them the same way wb itself was installed. cobracmd.New panics when "wb" is absent from the compiled catalog — a programming error TestNewSelfUpdateConfigIdentity and the cobracmd package's own tests catch, never a runtime state a user sees.

func NewSelfUpdate

func NewSelfUpdate(runtime shared.Runtime, cfg selfupdate.Config, after AfterUpdate) *cobra.Command

func NewUpgrade

func NewUpgrade(runtime shared.Runtime, cfg selfupdate.Config, after AfterUpdate) *cobra.Command

NewUpgrade binds the upstream upgrade adapter to WB catalog, error, and post-update policy.

Types

type AfterUpdate

AfterUpdate delegates verified post-update operations without exposing Cobra.

Jump to

Keyboard shortcuts

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