Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamePrompt = "Application Name:" SelectPrompt = "Select an Application:" CreateThis = "Create this application?" DeleteThis = "Delete this application?" EditThis = "Edit this application?" NoneFound = "no applications found" NotFound = "application `%s` not found" )
Variables ¶
This section is empty.
Functions ¶
func Edit ¶
func Edit(ctx *cli.Context, prev *structureSpec.App)
func GetOrSelect ¶
func GetOrSelect(ctx *cli.Context, checkEnv bool) (*structureSpec.App, error)
GetOrSelect will try to get the application from a name flag if it is not set in the flag it will offer a selection menu
func GetSelectOrDeselect ¶
func GetSelectOrDeselect(ctx *cli.Context) (app *structureSpec.App, deselect bool, err error)
func New ¶
func New(ctx *cli.Context) (*structureSpec.App, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.