{"modulePath":"github.com/beeper/desktop-api-cli","version":"v0.3.0","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package cmd\n\n## Constants\n\n```go\nconst Version = \"0.3.0\" // x-release-please-version\n\n```\n\n## Variables\n\n```go\nvar (\n\tCommand            *cli.Command\n\tCommandErrorBuffer bytes.Buffer\n)\n```\n\n```go\nvar OutputFormats = []string{\"auto\", \"explore\", \"json\", \"jsonl\", \"pretty\", \"raw\", \"yaml\"}\n```\n\n## Functions\n\n```go\nfunc ShowJSON(out *os.File, title string, res gjson.Result, format string, transform string) error\n```\nDisplay JSON to the user in various different formats\n\n```go\nfunc ShowJSONIterator[T any](stdout *os.File, title string, iter jsonview.Iterator[T], format string, transform string, itemsToDisplay int64) error\n```\nFor an iterator over different value types, display its values to the user in different formats.\n\n## Types\n\n```go\ntype BodyContentType int\n```\n\n```go\nconst (\n\tEmptyBody BodyContentType = iota\n\tMultipartFormEncoded\n\tApplicationJSON\n\tApplicationOctetStream\n)\n```\n\n```go\ntype FileEmbedStyle int\n```\n\n```go\nconst (\n\tEmbedText FileEmbedStyle = iota\n\tEmbedIOReader\n)\n```\n\n```go\ntype HasRawJSON interface {\n\tRawJSON() string\n}\n```\n\n","path":"github.com/beeper/desktop-api-cli/pkg/cmd","name":"cmd","synopsis":"","isRedistributable":true}
