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