diff --git a/README.md b/README.md index e56ba59..3cd5e69 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ claudebox list # list your boxes claudebox info # one box: state, IP, snapshot labels claudebox shell # enter as the claude user claudebox exec -- # run a command in the box +claudebox tmux [session] # attach/create a tmux session — survives disconnects claudebox snapshot [label] # checkpoint (label defaults to manual-) claudebox restore # roll back to a snapshot claudebox rename # rename a box (stop it first) diff --git a/bin/claudebox b/bin/claudebox index de9a320..1013551 100755 --- a/bin/claudebox +++ b/bin/claudebox @@ -42,6 +42,7 @@ CMDS=( "info^ [--json]^box^One box: state, type, IP, and its snapshot labels^fn:cmd_info^" "shell^^box^Open a shell in a box, as the claude user^fn:cmd_shell^" "exec^ -- ^box^Run a command inside a box^fn:cmd_exec^" + "tmux^ []^box^Attach or create a tmux session in a box — survives disconnects^fn:cmd_tmux^" "snapshot^ [