cli

package
v0.0.0-...-bf81c10 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpinnerCharSet = []string{"[       ]", "[=      ]", "[==     ]", "[===    ]", "[====   ]", "[ ====  ]", "[  ==== ]", "[   ====]", "[    ===]", "[     ==]", "[      =]"}

Functions

func ValidatorDir

func ValidatorDir(val interface{}) error

ValidatorDir only allows directory paths

func ValidatorFile

func ValidatorFile(val interface{}) error

ValidatorFile only allows file paths

Types

type Command

type Command struct {
	Flags *flag.FlagSet
	Run   func(flags *flag.FlagSet)
}

Jump to

Keyboard shortcuts

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