Documentation ¶
Index ¶
- type Dialog
- func (d *Dialog) CallAddProjectDialog(pc projectConfig) error
- func (d *Dialog) DockerCliXdebugIniFilePath(defaulPath string) (string, error)
- func (d *Dialog) DockerFpmXdebugIniFilePath(defaulPath string) (string, error)
- func (d *Dialog) DockerProjectPath(defaulPath string) (string, error)
- func (d *Dialog) DockerService() (string, error)
- func (d *Dialog) DockerShell() (int, string, error)
- func (d *Dialog) SetMainContaner(cl []string) (int, string, error)
- func (d *Dialog) StartCommand() (string, error)
- func (d *Dialog) StartDocker() (string, error)
- func (d *Dialog) XDebugConfigLocation() (int, string, error)
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 ¶
CallAddProjectDialog calls project manager
func (*Dialog) DockerCliXdebugIniFilePath ¶
DockerCliXdebugIniFilePath gets the path to xdebug cli ini file
func (*Dialog) DockerFpmXdebugIniFilePath ¶
DockerFpmXdebugIniFilePath gets the path to xdebug fpm ini file
func (*Dialog) DockerProjectPath ¶
DockerProjectPath gets the path to container
func (*Dialog) DockerService ¶
DockerService call the request dialog to define docker service
func (*Dialog) DockerShell ¶
DockerShell defines shell type of docker main container
func (*Dialog) SetMainContaner ¶
SetMainContaner sets main container name
func (*Dialog) StartCommand ¶
StartCommand sets start docker command
func (*Dialog) StartDocker ¶
StartDocker call the request dialog to start docker
Click to show internal directories.
Click to hide internal directories.