{"modulePath":"github.com/HasData/hasdata-cli","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Functions\n\n```go\nfunc Client() (*client.Client, error)\n```\nClient returns the lazily-constructed HTTP client used by generated commands.\n\n```go\nfunc Execute() error\n```\n\n```go\nfunc ExitCodeFor(err error) int\n```\nExitCodeFor returns the process exit code for a given error.\n\n```go\nfunc RegisterAPICommand(categoryID, categoryTitle string, cmd *cobra.Command)\n```\nRegisterAPICommand is invoked by generated files to attach a command to the root, grouped by its API category.\n\n```go\nfunc RootCmd() *cobra.Command\n```\n\n```go\nfunc SetVersionInfo(v, c, d string)\n```\n\n```go\nfunc WriteResponse(cmd *cobra.Command, resp *client.Response) error\n```\n\n","path":"github.com/HasData/hasdata-cli/cmd","name":"cmd","synopsis":"","isRedistributable":true}
