Documentation
¶
Overview ¶
Package input provides input parsing utilities for the Inertia CLI
Index ¶
- func AddProjectWalkthrough() (buildType cfg.BuildType, buildFilePath string, err error)
- func CatchSigterm(cancelFunc func())
- func ChooseFromListWalkthrough(optionName string, options []string) (string, error)
- func EnterEC2CredentialsWalkthrough() (id, key string, err error)
- func Prompt(query ...interface{}) (string, error)
- func Promptf(query string, args ...interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProjectWalkthrough ¶
AddProjectWalkthrough is the command line walkthrough that asks for details about the project the user intends to deploy
func CatchSigterm ¶
func CatchSigterm(cancelFunc func())
CatchSigterm listens in the background for some kind of interrupt and calls the given cancelFunc as necessary
func ChooseFromListWalkthrough ¶
ChooseFromListWalkthrough prints given options and reads in a choice from the given reader
func EnterEC2CredentialsWalkthrough ¶
EnterEC2CredentialsWalkthrough prints promts to stdout and reads input from given reader
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.