context

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 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 {
	ctx.Context
	Config         config.Uplift
	DryRun         bool
	Debug          bool
	CurrentVersion semver.Version
	NextVersion    semver.Version
	CommitDetails  git.CommitDetails
}

Context provides a way to share common state across tasks

func New

func New(cfg config.Uplift) *Context

New constructs a context that captures both runtime configuration and user defined runtime options

Jump to

Keyboard shortcuts

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