Documentation ¶
Index ¶
- func ConfirmFromUser(msg string, helpText string) (bool, error)
- func GetSingleLineInput(msg string, helpText string) (string, error)
- func ListRemotes() (map[string][]string, error)
- func RepoArgumentResolver(arg string) ([]string, error)
- func SelectFromOptions(msg string, helpText string, opts []string) (string, error)
- type CLIFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmFromUser ¶
Used for (Yes/No) questions
func GetSingleLineInput ¶
Used for Single Line Text Input Being used for getting "Import root" of user for configuring meta of Go analyzer
func ListRemotes ¶
Returns a map of remotes to their urls { "origin":["reponame","owner","provider"]} { "upstream":["reponame","owner","provider"]}
func RepoArgumentResolver ¶
Utility to parse the --repo flag
Types ¶
type CLIFactory ¶
Click to show internal directories.
Click to hide internal directories.