cli

package
v0.0.0-...-f86e65d Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cli is responsible for providing the UI through which the user can run his tests.

Index

Constants

View Source
const (
	// List is key for List suggestions
	List suggestionType = iota

	// Test is key for Test suggestions
	Test

	// Others is key for various arbitrary suggestions
	Others
)

Variables

This section is empty.

Functions

func StartPrompt

func StartPrompt(dir string)

StartPrompt starts the repl prompt from which the application starts.

Types

type ParseOpts

type ParseOpts struct {
	Dir string
}

ParseOpts contains all the parsed flags.

func ParseFlags

func ParseFlags(getDirFn func() (string, error)) (*ParseOpts, error)

ParseFlags is used to parse all flags needed to run the program.

Jump to

Keyboard shortcuts

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