cmdinstall

package
v0.197.2 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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