args

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FSTypeRegular    FSType = "file"
	FSTypeExecutable        = "executable"
	FSTypeDirectory         = "dir"
	FSTypeDirty             = "dirty"
)

Variables

This section is empty.

Functions

func ArgsWithCWDDefault

func ArgsWithCWDDefault(fl *pflag.FlagSet) []string

func EnsureArgs

func EnsureArgs(fl *pflag.FlagSet) []string

func EnsureNoArgs

func EnsureNoArgs(fl *pflag.FlagSet)

func EnsureSingleArg

func EnsureSingleArg(fl *pflag.FlagSet) string

func EnsureTwoArgs

func EnsureTwoArgs(fl *pflag.FlagSet) (string, string)

func FSAllTypes

func FSAllTypes() string

Types

type FSType

type FSType string

type FSTypes

type FSTypes []FSType

func (*FSTypes) Set

func (f *FSTypes) Set(val string) error

func (*FSTypes) String

func (f *FSTypes) String() string

func (*FSTypes) Type

func (*FSTypes) Type() string

Jump to

Keyboard shortcuts

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