Skip to main content

run_codexbar_usage

Function run_codexbar_usage 

Source
pub async fn run_codexbar_usage(
    provider: &str,
    opts: &RunCodexBarUsageOptions,
) -> Result<CodexBarUsageResponse, CodexBarError>
Expand description

Run codexbar usage --format json --provider <provider> and return the entry matching provider.

ยงErrors

Returns CodexBarError when the binary is missing, the process fails or times out, the output is not valid JSON, or no entry matches provider.