types

package
v0.0.0-...-81d58bd Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolFlag

type BoolFlag struct {
	Value bool
	// contains filtered or unexported fields
}

func NewBoolFlag

func NewBoolFlag(name, shorthand, usage string, value bool) BoolFlag

type CLIOptions

type CLIOptions struct {
	// Use is the name of the command
	Use string

	// Short is the short description of the command
	Short string

	// Long is the long description of the command
	Long string
}

CLIOptions contains options for creating a new command for the CLI.

type StringFlag

type StringFlag struct {
	Value string
	// contains filtered or unexported fields
}

func NewStringFlag

func NewStringFlag(name, shorthand, usage, value string) StringFlag

Jump to

Keyboard shortcuts

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