cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Types

type CombineCommand

type CombineCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

func NewCombineCommand

func NewCombineCommand(fs afero.Fs) (*CombineCommand, error)

type FileFmt

type FileFmt string
const (
	YAML FileFmt = "yaml"
	JSON FileFmt = "json"
	XML  FileFmt = "xml"
)

func (*FileFmt) Set

func (f *FileFmt) Set(v string) error

Set must have pointer receiver so it doesn't change the value of a copy

func (*FileFmt) String

func (f *FileFmt) String() string

func (*FileFmt) Type

func (f *FileFmt) Type() string

Type is only used in help text

type FilePerm

type FilePerm uint32

func (*FilePerm) Set

func (f *FilePerm) Set(v string) error

func (*FilePerm) String

func (f *FilePerm) String() string

func (*FilePerm) Type

func (f *FilePerm) Type() string

type GenerateCommand

type GenerateCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

func NewGenerateCommand

func NewGenerateCommand(fs afero.Fs) (*GenerateCommand, error)

type RootCommand

type RootCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

func NewRootCommand

func NewRootCommand(fs afero.Fs) (*RootCommand, error)

type SplitCommand

type SplitCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

func NewSplitCommand

func NewSplitCommand(fs afero.Fs) (*SplitCommand, error)

type VerifyCommand

type VerifyCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

func NewVerifyCommand

func NewVerifyCommand(fs afero.Fs) (*VerifyCommand, error)

type VerifyPartCommand

type VerifyPartCommand struct {
	cobra.Command

	Fs afero.Fs
	// contains filtered or unexported fields
}

func NewVerifyPartCommand

func NewVerifyPartCommand(fs afero.Fs) (*VerifyPartCommand, error)

type VerifySharesCommand

type VerifySharesCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

func NewVerifySharesCommand

func NewVerifySharesCommand(fs afero.Fs) (*VerifySharesCommand, error)

type VersionCommand

type VersionCommand struct {
	cobra.Command
}

func NewVersionCommand

func NewVersionCommand() (*VersionCommand, error)

Jump to

Keyboard shortcuts

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