console

package
v0.2.0-beta Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 7 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 {
	Execute() error
}

func CreateCommand

func CreateCommand(arguments []string) (Command, error)

type Error

type Error struct {
	ExitCode int
	Previous error
}

func (*Error) Error

func (err *Error) Error() string

func (*Error) Unwrap

func (err *Error) Unwrap() error

type Options

type Options struct {
	CommandName    string `no-flag:"true"`
	ConfigFilename string `` /* 207-byte string literal not displayed */
	URL            string `short:"u" long:"specification-url" description:"URL or path to file with OpenAPI v3 specification."`
}

type VersionArguments

type VersionArguments struct {
	Version bool `short:"v" long:"version" description:"Show application version."`
}

Directories

Path Synopsis
command

Jump to

Keyboard shortcuts

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