Documentation
¶
Overview ¶
Package usage logs ttal command invocations to SQLite for auto-compact summaries.
Plane: shared
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(subcommand, target string)
Log records a ttal command invocation with "command attempted" semantics — it fires immediately after flag validation, before the underlying operation completes. Convenience wrapper for LogWith("ttal", ...). Skips silently if TTAL_AGENT_NAME is not set. Never fails the caller.
Types ¶
type Count ¶
type Count struct {
Subcommand string `json:"subcommand"`
Target string `json:"target"`
Count int `json:"count"`
}
Count represents a grouped usage count for a subcommand+target pair.
Click to show internal directories.
Click to hide internal directories.