clio

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(items ...interface{})

Error prints an error message

func Info

func Info(items ...interface{})

Info prints an information message.

func Infof

func Infof(format string, items ...interface{})

Infof prints an information message using fmt.Printf.

func NewTequilApiClient

func NewTequilApiClient(ctx *cli.Context) (*tequilapi_client.Client, error)

NewTequilApiClient - initializes and returns a pointer to tequilapi client - also fetches config using it

func PrintTOSError

func PrintTOSError(err error)

PrintTOSError prints TOS together with a given error asking user to accept them.

func Status

func Status(label string, items ...interface{})

Status prints a message with a given status.

func Success

func Success(items ...interface{})

Success prints a success message.

func TequilAPIAddress

func TequilAPIAddress(ctx *cli.Context) string

TequilAPIAddress - wil resolve default tequilapi address or from flag if one is provided

func TequilAPIPort

func TequilAPIPort(ctx *cli.Context) int

TequilAPIPort - wil resolve default tequilapi port or from flag if one is provided

func Warn

func Warn(items ...interface{})

Warn prints a warning.

func Warnf

func Warnf(format string, items ...interface{})

Warnf prints a warning using fmt.Printf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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