mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-20 12:19:07 +00:00
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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user