Documentation ¶
Index ¶
- Constants
- func Edit(ctx *cli.Context, prev *structureSpec.Website) (interface{}, error)
- func GetOrSelect(ctx *cli.Context) (*structureSpec.Website, error)
- func New(ctx *cli.Context) (interface{}, *structureSpec.Website, error)
- func RepositoryInfo(ctx *cli.Context, website *structureSpec.Website, new bool) (interface{}, error)
Constants ¶
View Source
const ( NamePrompt = "Website Name:" SelectPrompt = "Select a Website:" CreateThis = "Create this website?" DeleteThis = "Delete this website?" EditThis = "Edit this website?" NoneFound = "no websites found" NotFound = "website `%s` not found" )
Variables ¶
This section is empty.
Functions ¶
func Edit ¶
func Edit(ctx *cli.Context, prev *structureSpec.Website) (interface{}, error)
func GetOrSelect ¶
func GetOrSelect(ctx *cli.Context) (*structureSpec.Website, error)
GetOrSelect will try to get the website 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) (interface{}, *structureSpec.Website, error)
func RepositoryInfo ¶
func RepositoryInfo(ctx *cli.Context, website *structureSpec.Website, new bool) (interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.