environment

package
v0.0.0-...-127b1e4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: OSL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandHandler

type CommandHandler struct {
	Logic     logic.Logic
	Prompt    console.Prompt
	AppConfig config.Configuration
}

func NewCommandHandler

func NewCommandHandler(logic logic.Logic, prompt console.Prompt, config config.Configuration) *CommandHandler

NewCommandHandler creates an environment command handler instance.

func (*CommandHandler) Command

func (envCommand *CommandHandler) Command() *cobra.Command

Command function generates all environment commands

func (*CommandHandler) GetSetCommand

func (envCommand *CommandHandler) GetSetCommand() *cobra.Command

GetSetCommand function return set environment command

func (*CommandHandler) Set

func (envCommand *CommandHandler) Set(_ *cobra.Command, _ []string)

Set a function to process setting environment

Jump to

Keyboard shortcuts

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