dialog

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialog

type Dialog struct {

	// Project management
	SelectProject  func([]string) (int, string, error)
	AddProjectPath func(string) (string, error)
	AddProjectName func() (string, error)
	// contains filtered or unexported fields
}

Dialog contains methods for the iteraction with promptui

func InitDialogFunctions

func InitDialogFunctions() Dialog

InitDialogFunctions initiate all methods

func (*Dialog) CallAddProjectDialog

func (d *Dialog) CallAddProjectDialog(pc projectConfig) error

CallAddProjectDialog calls project manager

func (*Dialog) DockerCliXdebugIniFilePath

func (d *Dialog) DockerCliXdebugIniFilePath(defaulPath string) (string, error)

DockerCliXdebugIniFilePath gets the path to xdebug cli ini file

func (*Dialog) DockerFpmXdebugIniFilePath

func (d *Dialog) DockerFpmXdebugIniFilePath(defaulPath string) (string, error)

DockerFpmXdebugIniFilePath gets the path to xdebug fpm ini file

func (*Dialog) DockerProjectPath

func (d *Dialog) DockerProjectPath(defaulPath string) (string, error)

DockerProjectPath gets the path to container

func (*Dialog) DockerService

func (d *Dialog) DockerService() (string, error)

DockerService call the request dialog to define docker service

func (*Dialog) DockerShell

func (d *Dialog) DockerShell() (int, string, error)

DockerShell defines shell type of docker main container

func (*Dialog) SetMainContaner

func (d *Dialog) SetMainContaner(cl []string) (int, string, error)

SetMainContaner sets main container name

func (*Dialog) StartCommand

func (d *Dialog) StartCommand() (string, error)

StartCommand sets start docker command

func (*Dialog) StartDocker

func (d *Dialog) StartDocker() (string, error)

StartDocker call the request dialog to start docker

func (*Dialog) XDebugConfigLocation

func (d *Dialog) XDebugConfigLocation() (int, string, error)

XDebugConfigLocation defines config location

Jump to

Keyboard shortcuts

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