Documentation ¶
Overview ¶
Package inpututil provides input parsing utilities for the Inertia CLI
Index ¶
- func AddProjectWalkthrough(in io.Reader) (buildType string, buildFilePath string, inputErr error)
- func AddRemoteWalkthrough(in io.Reader, config *cfg.Config, name, port, sshPort, currBranch string) error
- func ChooseFromListWalkthrough(in io.Reader, optionName string, options []string) (string, error)
- func EnterEC2CredentialsWalkthrough(in io.Reader) (id, key string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProjectWalkthrough ¶
func AddProjectWalkthrough(in io.Reader) ( buildType string, buildFilePath string, inputErr error, )
AddProjectWalkthrough is the command line walkthrough that asks for details about the project the user intends to deploy
func AddRemoteWalkthrough ¶
func AddRemoteWalkthrough( in io.Reader, config *cfg.Config, name, port, sshPort, currBranch string, ) error
AddRemoteWalkthrough is the command line walkthrough that asks users for RemoteVPS details. It is up to the caller to save config.
func ChooseFromListWalkthrough ¶
ChooseFromListWalkthrough prints given options and reads in a choice from the given reader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.