Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultReader io.Reader = os.Stdin
Functions ¶
func Run ¶
Run is a main entrypoint for CLI mode. cli package will executes Run if Evans is launched as CLI mode.
Run returns below errors (Clients should unwrap returned error with errors.Cause): - os.PathError
- Provided `file` is missing.
- It is returned only when `file` is not empty.
- ErrLaunchFailed
- Precondition error to launch CLI mode.
- TODO: Describe more error specification.
Types ¶
type LaunchError ¶
type LaunchError struct {
// contains filtered or unexported fields
}
func (*LaunchError) Error ¶
func (e *LaunchError) Error() string
Click to show internal directories.
Click to hide internal directories.