package
Version:
v1.5.6
Opens a new window with list of versions in this module.
Published: Jan 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 33
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CommandLocator builds a sorted slice of built-in and installed commands
UpgradeCli pulls from GitHub the latest released CLI binary and performs the upgrade of the current executable
type Cmd interface {
Run() error
}
Cmd is a wrapper for exec.Cmd methods
type Command ¶
added in
v1.4.1
Command represents an external command being prepared or run
func (*Command) Run ¶
added in
v1.4.1
Run starts the command and waits for it to complete
MockCmd is used to track activity on command.Command
Run mimics the behavior of (*Command) Run()
String mimics the behavior or (*Command) String()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.