tuicmd

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdTUI added in v0.0.15

func NewCmdTUI(f util.Factory) *cobra.Command

Types

type TUIFlags added in v0.0.15

type TUIFlags struct {
	// contains filtered or unexported fields
}

func NewTUIFlags added in v0.0.15

func NewTUIFlags() *TUIFlags

func (*TUIFlags) AddFlags added in v0.0.15

func (r *TUIFlags) AddFlags(cmd *cobra.Command)

func (*TUIFlags) ToOptions added in v0.0.15

func (r *TUIFlags) ToOptions(cmd *cobra.Command, f util.Factory) (*TUIOptions, error)

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type TUIOptions added in v0.0.15

type TUIOptions struct {
	Factory   util.Factory
	Frequency float64
}

func (*TUIOptions) Run added in v0.0.15

func (r *TUIOptions) Run(ctx context.Context, args []string) error

func (*TUIOptions) Validate added in v0.0.15

func (r *TUIOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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