flag

package
v0.0.0-...-f0d068a Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeFlags

func ComposeFlags(flags ...cli.Flag) []cli.Flag

func GetToken

func GetToken(flags *BaseFlags) (string, error)

Types

type BaseFlags

type BaseFlags struct {
	ServerURL  string
	Format     format.Format
	OutputMode format.OutputMode
	Token      string
	TokenFile  string
}

func GetBaseFlags

func GetBaseFlags(ctx *cli.Context) *BaseFlags

Jump to

Keyboard shortcuts

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