mode

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package mode provides entrypoints for all modes that are provided from Evans.

Index

Constants

This section is empty.

Variables

View Source
var DefaultCLIReader io.Reader = os.Stdin

DefaultCLIReader is the reader that is read for inputting request values. It is exported for E2E testing.

Functions

func IsCLIMode

func IsCLIMode(file string) bool

IsCLIMode returns whether Evans is launched as CLI mode or not.

func RunAsCLIMode

func RunAsCLIMode(cfg *config.Config, call, file string, ui cui.UI) error

RunAsCLIMode starts Evans as CLI mode.

func RunAsREPLMode

func RunAsREPLMode(cfg *config.Config, ui cui.UI, cache *cache.Cache) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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