Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.1.0" // x-release-please-version
Variables ¶
View Source
var ( Command *cli.Command CommandErrorBuffer bytes.Buffer )
View Source
var OutputFormats = []string{"auto", "explore", "json", "jsonl", "pretty", "raw", "yaml"}
Functions ¶
func ShowJSONIterator ¶
func ShowJSONIterator[T any](stdout *os.File, title string, iter jsonview.Iterator[T], format string, transform string, itemsToDisplay int64) error
For an iterator over different value types, display its values to the user in different formats. -1 is used to signal no limit of items to display
Types ¶
type BodyContentType ¶
type BodyContentType int
const ( EmptyBody BodyContentType = iota MultipartFormEncoded ApplicationJSON ApplicationOctetStream )
type FileEmbedStyle ¶
type FileEmbedStyle int
const ( EmbedText FileEmbedStyle = iota EmbedIOReader )
type HasRawJSON ¶
type HasRawJSON interface {
RawJSON() string
}
Source Files
¶
- account.go
- apikey.go
- cmd.go
- cmdutil.go
- cmdutil_unix.go
- compose.go
- credit.go
- draft.go
- draw.go
- event.go
- extraction.go
- flagoptions.go
- integration.go
- monitor.go
- radar.go
- style.go
- subscribe.go
- suggest.go
- supportticket.go
- trend.go
- version.go
- webhook.go
- x.go
- xaccount.go
- xbookmark.go
- xcommunity.go
- xcommunityjoin.go
- xcommunitytweet.go
- xdm.go
- xfollower.go
- xlist.go
- xmedia.go
- xprofile.go
- xtweet.go
- xtweetlike.go
- xtweetretweet.go
- xuser.go
- xuserfollow.go
Click to show internal directories.
Click to hide internal directories.