clihub

package
v1.6.4-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InspectItem

func InspectItem(item *cwhub.Item, wantMetrics bool, output string, prometheusURL string, wantColor string) error

func ListItems

func ListItems(out io.Writer, wantColor string, itemTypes []string, items map[string][]*cwhub.Item, omitIfEmpty bool, output string) error

func New

func New(cfg configGetter) *cliHub

func SelectItems

func SelectItems(hub *cwhub.Hub, itemType string, args []string, installedOnly bool) ([]*cwhub.Item, error)

selectItems returns a slice of items of a given type, selected by name and sorted by case-insensitive name

Types

This section is empty.

Jump to

Keyboard shortcuts

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