Skip to main content

ai_agent/commands/
clear.rs

1// Source: /data/home/swei/claudecode/openclaudecode/src/commands/clear/clear.ts
2use super::Command;
3
4pub fn create_clear_command() -> Command {
5    Command::local("clear", "Clear the conversation").argument_hint("[cache|conversation|all]")
6}
7
8pub fn create_clear_cache_command() -> Command {
9    Command::local("clear-cache", "Clear cached data")
10}
11
12pub fn create_clear_conversation_command() -> Command {
13    Command::local("clear-conversation", "Clear the current conversation")
14}