formatoption

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	List    []string
	Default accessio.FileFormat
	Format  accessio.FileFormat
	// contains filtered or unexported fields
}

func From

func New

func New(list ...string) *Option

func (*Option) AddFlags

func (o *Option) AddFlags(fs *pflag.FlagSet)

func (*Option) Complete

func (o *Option) Complete(ctx clictx.Context) error

func (*Option) Mode

func (o *Option) Mode() vfs.FileMode

func (*Option) Usage

func (o *Option) Usage() string

Jump to

Keyboard shortcuts

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