app

package
v0.10.11 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package app provides the entrypoint for Evans.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the root component for running the application.

func New

func New(ui cui.UI) *App

New instantiates a new App instance. ui must not be a nil. Note that cui is also used for the REPL UI if the mode is REPL mode.

func (*App) Run

func (a *App) Run(args []string) int

Run starts the application. The return value means the exit code.

Jump to

Keyboard shortcuts

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