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