initialize

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: 7 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 a initialize command handler instance.

func (*CommandHandler) Command

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

Command function generates all initialize commands

func (*CommandHandler) Init

func (initCommand *CommandHandler) Init(_ *cobra.Command, _ []string)

Init a function to process initialing environment

Jump to

Keyboard shortcuts

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