commands

package
v0.0.0-...-40e22bb Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	flags.Commander

	// ShortDescription explains what this command does in one line
	ShortDescription() string

	// LongDescription explains what this verb does (without limitation in amount of lines)
	LongDescription() string
}

Command is an interface of implementations of verbs (like "add", "remove" etc of "fittool add"/"fittool remove")

type ErrArgs

type ErrArgs struct {
	Err error
}

ErrArgs means arguments are invalid

func (ErrArgs) Error

func (err ErrArgs) Error() string

func (ErrArgs) Unwrap

func (err ErrArgs) Unwrap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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