track_query_usage

Function track_query_usage 

Source
pub fn track_query_usage(config: &CliConfig, count: u64) -> Result<()>
Expand description

Track a query against the user’s plan quota.

This is called before find() and ask() operations to record usage. Returns Ok(()) on success, or an error if quota is exceeded. Network errors are logged but don’t fail the operation (best-effort tracking).