cliu

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCommand

type BaseCommand struct {
	Command     *cli.Command
	SubCommands []*BaseCommand
	Parent      *BaseCommand
}

type BoolFlag

type BoolFlag struct {
	*cli.BoolFlag
	CurrentValue bool
}

func NewBoolFlag

func NewBoolFlag(flag *cli.BoolFlag) (ret *BoolFlag)

func NewDebugFlag

func NewDebugFlag() *BoolFlag

type CommonFlags

type CommonFlags struct {
	Debug *BoolFlag
}

func NewCommonFlags

func NewCommonFlags() (ret *CommonFlags)

func (*CommonFlags) BeforeApp

func (o *CommonFlags) BeforeApp(args []string)

type IntFlag

type IntFlag struct {
	*cli.IntFlag
	CurrentValue int
}

func NewIntFlag

func NewIntFlag(flag *cli.IntFlag) (ret *IntFlag)

type MarkdownCmd

type MarkdownCmd struct {
	*cli.Command
	// contains filtered or unexported fields
}

func NewMarkdownCmd

func NewMarkdownCmd(app *cli.App) (ret *MarkdownCmd)

type StringFlag

type StringFlag struct {
	*cli.StringFlag
	CurrentValue string
}

func NewStringFlag

func NewStringFlag(flag *cli.StringFlag) (ret *StringFlag)

type UintFlag

type UintFlag struct {
	*cli.UintFlag
	CurrentValue uint
}

func NewUintFlag

func NewUintFlag(flag *cli.UintFlag) (ret *UintFlag)

Jump to

Keyboard shortcuts

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