arg

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanOpts added in v1.6.0

func CleanOpts(a ...string) string

func FilterFlag

func FilterFlag(t any, flag, val string)

FilterFlag compairs the value of the filter flag against the list of slice values.

func Targets added in v1.6.0

func Targets() []string

Types

type Apis added in v1.7.0

type Apis struct {
	Refresh bool
	Pouet   bool
	SyncDos bool
	SyncWin bool
}

type Approve

type Approve struct {
	Verbose bool
}

type Clean

type Clean struct {
	Delete   bool
	Humanise bool
	MakeDirs bool
	Target   string
}

type Config

type Config struct {
	InfoSize  bool
	Name      string
	Overwrite bool
}

type Demozoo

type Demozoo struct {
	All       bool // scan for all proofs, not just new submissions
	Overwrite bool // overwrite all existing assets
	New       bool
	ID        string // auto-generated id or a uuid
	Extract   []string
	Ping      uint
	Download  uint
	Releaser  uint // id for a releaser
}

type Execute

type Execute struct {
	Panic   bool // Enable panic errors to help debug.
	ASCII   bool // Ascii is placeholder for Cobra to store the PersistentFlag value*
	Quiet   bool // Quiet is placeholder for Cobra to store the PersistentFlag value*
	Version bool // Version is placeholder for Cobra to store the PersistentFlag value*

}

Execute global flags.

type Group

type Group struct {
	Counts   bool
	Cronjob  bool
	Forcejob bool
	Init     bool
	Progress bool
	Filter   string
	Format   string
}

type People

type People struct {
	Cronjob  bool
	Forcejob bool
	Progress bool
	Filter   string
	Format   string
}

type Proof

type Proof struct {
	ID          string // auto-generated id or a uuid
	All         bool   // scan for all proofs, not just new uploads
	HideMissing bool   // hide proofs that are missing their file download
	Overwrite   bool   // overwrite all existing images
}

type Recent

type Recent struct {
	Compress bool
	Limit    uint
}

type ZipCmmt

type ZipCmmt struct {
	ASCII   bool
	Unicode bool
	OW      bool
}

Jump to

Keyboard shortcuts

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