Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VersionString ¶
func VersionString() string
Types ¶
type AuthCmd ¶
type AuthCmd struct {
SetKey AuthSetKeyCmd `cmd:"" help:"Set API key (uses --stdin by default)"`
Status AuthStatusCmd `cmd:"" help:"Show authentication status"`
Remove AuthRemoveCmd `cmd:"" help:"Remove stored credentials"`
}
type AuthRemoveCmd ¶
type AuthRemoveCmd struct{}
type AuthSetKeyCmd ¶
type AuthStatusCmd ¶
type AuthStatusCmd struct{}
type CLI ¶
type CLI struct {
RootFlags `embed:""`
Version kong.VersionFlag `help:"Print version and exit"`
Auth AuthCmd `cmd:"" help:"Auth and credentials"`
Locations LocationsCmd `cmd:"" help:"Location search operations"`
Rankings RankingsCmd `cmd:"" help:"Ranking check operations"`
VersionCmd VersionCmd `cmd:"" name:"version" help:"Print version"`
}
type LocationsCmd ¶
type LocationsCmd struct {
Search LocationsSearchCmd `cmd:"" help:"Search for locations"`
}
type LocationsSearchCmd ¶
type RankingsCheckCmd ¶
type RankingsCmd ¶
type RankingsCmd struct {
Check RankingsCheckCmd `cmd:"" help:"Check rankings for a business"`
Get RankingsGetCmd `cmd:"" help:"Get rankings results by request ID"`
}
type RankingsGetCmd ¶
type RankingsGetCmd struct {
RequestID string `arg:"" required:"" help:"Request ID (UUID)"`
}
type RootFlags ¶
type RootFlags struct {
Color string `help:"Color output: auto|always|never" default:"${color}"`
JSON bool `help:"Output JSON to stdout (best for scripting)" default:"${json}"`
Plain bool `help:"Output stable, parseable text to stdout (TSV; no colors)" default:"${plain}"`
Force bool `help:"Skip confirmations for destructive commands"`
NoInput bool `help:"Never prompt; fail instead (useful for CI)"`
Verbose bool `help:"Enable verbose logging"`
}
type VersionCmd ¶
type VersionCmd struct{}
Click to show internal directories.
Click to hide internal directories.