Skip to main content

ai_agent/commands/
files.rs

1// Source: /data/home/swei/claudecode/openclaudecode/src/commands/files/files.ts
2use super::Command;
3
4pub fn create_files_command() -> Command {
5    Command::local("files", "List files in session")
6}
7
8pub fn create_context_command() -> Command {
9    Command::local("context", "Show context usage")
10}
11
12pub fn create_copy_command() -> Command {
13    Command::local("copy", "Copy to clipboard").argument_hint("<text>")
14}
15
16pub fn create_export_command() -> Command {
17    Command::local("export", "Export session").argument_hint("[json|markdown] [<path>]")
18}
19
20pub fn create_share_command() -> Command {
21    Command::local("share", "Share session")
22}