cli

package
v0.0.0-...-2942c1d Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoInput             = errors.New("no input files specified")
	ErrAtLeastTwo          = errors.New("at least two files are required")
	ErrInvalidFile         = errors.New("invalid file")
	ErrFileNotFound        = errors.New("file not found")
	ErrOutputFileExists    = errors.New("output file is already existing")
	ErrInvalidIndex        = errors.New("the provided index is invalid")
	ErrTagNonStandard      = errors.New("non-standard tag")
	ErrUnsupportedLanguage = errors.New("unsupported language")
	ErrNoTagsInTemplate    = errors.New("no tags in template")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	// Execute executes the service.
	Execute() error
}

Service describes the cli service.

func New

func New(parent context.Context, url, name, version string, status io.Writer, fs afero.Fs, cwd string, binder binder, tagResolver tagResolver, userLocale string) Service

Jump to

Keyboard shortcuts

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