scope

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interactive

type Interactive bool

type Scope

type Scope interface {
	GetCfg() *cmdconfig.Config
	GetCurrentContext() *cmdconfig.Context
	IsInteractive() bool
}

The Scope that the command is running in. The scope is build from a mix og the cfg and the provided flags

func NewScope

func NewScope(cfg *cmdconfig.Config, ctx *cmdconfig.Context, interactive Interactive) Scope

Jump to

Keyboard shortcuts

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