Skip to main content

ai_agent/commands/
usage.rs

1// Source: /data/home/swei/claudecode/openclaudecode/src/commands/usage/usage.tsx
2use super::Command;
3
4pub fn create_usage_command() -> Command {
5    Command::local("usage", "Show token usage")
6}
7
8pub fn create_extra_usage_command() -> Command {
9    Command::local("extra-usage", "Manage extra usage").argument_hint("[buy|manage]")
10}
11
12pub fn create_cost_command() -> Command {
13    Command::prompt("cost", "Estimate cost of the conversation")
14}
15
16pub fn create_privacy_settings_command() -> Command {
17    Command::local("privacy-settings", "Configure privacy settings")
18}
19
20pub fn create_rate_limit_options_command() -> Command {
21    Command::local("rate-limit-options", "Configure rate limiting")
22}