clihelper

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find added in v0.12.0

func Find(osfs *fshelper.OSFS, args ...string) (_ []string, err error)

Find processes args like a unix `find` cli in memory, it's a simple wrapper to call fshelper.OSFS.Find with human readable options

func InitFlagSet

func InitFlagSet(fset *pflag.FlagSet, name string)

InitFlagSet initializes the fset as if it's returned by pflag.NewFlagSet(name, pflag.ContinueOnError)

Types

This section is empty.

Jump to

Keyboard shortcuts

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