Skip to main content

ai_agent/commands/
tasks.rs

1// Source: /data/home/swei/claudecode/openclaudecode/src/tasks.ts
2use super::Command;
3
4pub fn create_tasks_command() -> Command {
5    Command::local("tasks", "Manage background tasks")
6        .argument_hint("[list|kill|resume] [<task-id>]")
7}
8
9pub fn create_status_command() -> Command {
10    Command::local("status", "Show session status")
11}
12
13pub fn create_stats_command() -> Command {
14    Command::local("stats", "Show usage statistics")
15}
16
17pub fn create_theme_command() -> Command {
18    Command::local("theme", "Change the theme").argument_hint("[theme-name]")
19}
20
21pub fn create_tag_command() -> Command {
22    Command::local("tag", "Tag this session").argument_hint("[<tag-name>]")
23}