feat(cubbix): add --no-shell in combination with --run to not drop a shell and exit when the command is done

This commit is contained in:
2025-04-30 09:46:28 -06:00
parent e852fdd1fb
commit 75daccb366
4 changed files with 186 additions and 22 deletions

View File

@@ -67,6 +67,9 @@ cubbix
# Create a session and run an initial command before the shell starts
cubbix --run "ls -l"
# Create a session, run a command, and exit (no shell prompt)
cubbix --run "ls -l" --no-shell
# List all active sessions
cubbi session list
@@ -111,6 +114,9 @@ cubbix https://github.com/username/repo --mcp github
# Shorthand with an initial command
cubbix . --run "apt-get update && apt-get install -y my-package"
# Execute a command and exit without starting a shell
cubbix . --run "python script.py" --no-shell
# Enable SSH server in the container
cubbix --ssh
```