Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatUsageLines ¶
FormatUsageLines returns the canonical two-line CLI output for usage info.
Types ¶
type UsageInfo ¶
UsageInfo holds parsed grok /usage show output.
func FetchUsage ¶
FetchUsage launches grok in a PTY, submits /usage show, and parses the response.
func FetchUsageWithOptions ¶
FetchUsageWithOptions launches grok with optional verbose logging and retries.
func ParseShowUsageOutput ¶
ParseShowUsageOutput extracts weekly limit and next reset from grok scrollback or stdout.
Click to show internal directories.
Click to hide internal directories.