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