group

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxSelectHeight    = 500
	PreviousGroupAlias = "-"
	SortAsc            = "asc"
	SortDesc           = "desc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.1.0

type Client struct {
	Config    *config.Config
	State     *state.State
	APIConfig *api.Config
}

func New added in v1.1.0

func New() (*Client, error)

func (*Client) BuildTablePrinter added in v1.5.0

func (c *Client) BuildTablePrinter(groups ...config.GroupItem) *pterm.TablePrinter

func (*Client) Get added in v1.1.0

func (c *Client) Get(groupName string) (*config.GroupItem, error)

func (*Client) Reload added in v1.1.0

func (c *Client) Reload() error

func (*Client) Set added in v1.1.0

func (c *Client) Set(groupName string) error

Jump to

Keyboard shortcuts

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