cli_types

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIContext

type CLIContext struct {
	Accounts accounts.AccountList
	Fs       afero.Fs
	Logger   logging.Logger
}

func NewCLIContext

func NewCLIContext(accountList accounts.AccountList, fs afero.Fs, log logging.Logger) *CLIContext

type CommonArgs

type CommonArgs struct {
	Verbose int    `short:"v" type:"counter" help:"Enable verbose logging. Use -vv or --verbose=2 for debug logging."`
	Profile string `help:"Enable CPU profiling" kong:"hidden"`
}

type Log

type Log interface {
	logging.Logger
}

Jump to

Keyboard shortcuts

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