context

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Cfg     *config.Config
	Project *project.Project
	Env     *env.Env
	UI      *termui.UI
}

Context is the interface to the calling execution context

func Load

func Load(hookMode bool) (*Context, error)

Load returns a Context, even if the project was not found

func LoadWithProject

func LoadWithProject() (*Context, error)

LoadWithProject returns a Context, fails if the project is not found

Jump to

Keyboard shortcuts

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