{"modulePath":"github.com/deepsourcelabs/cli","version":"v0.2.4","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmdutils\n\n## Functions\n\n```go\nfunc ConfirmFromUser(msg string, helpText string) (bool, error)\n```\nUsed for (Yes/No) questions\n\n```go\nfunc GetSingleLineInput(msg string, helpText string) (string, error)\n```\nUsed for Single Line Text Input Being used for getting \"Import root\" of user for configuring meta of Go analyzer\n\n```go\nfunc ListRemotes() (map[string][]string, error)\n```\nReturns a map of remotes to their urls { \"origin\":\\[\"reponame\",\"owner\",\"provider\"]} { \"upstream\":\\[\"reponame\",\"owner\",\"provider\"]}\n\n```go\nfunc RepoArgumentResolver(arg string) ([]string, error)\n```\nUtility to parse the --repo flag\n\n```go\nfunc SelectFromOptions(msg string, helpText string, opts []string) (string, error)\n```\nUsed for Single Option Selection from Multiple Options Being used for selecting Java version for configuring meta of Java analyzer \u003e \\* 1\n\n  - 2\n  - 3\n\n## Types\n\n```go\ntype CLIFactory struct {\n\tConfig       cliConfig.ConfigData\n\tGQLClient    *api.DSClient\n\tHostName     string\n\tTokenExpired bool\n}\n```\n\n","path":"github.com/deepsourcelabs/cli/cmdutils","name":"cmdutils","synopsis":"","isRedistributable":true}
