mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-20 20:29:06 +00:00
docs: Add --run option examples to README
This commit is contained in:
@@ -41,6 +41,9 @@ mc
|
|||||||
# Create a new session with the default driver
|
# Create a new session with the default driver
|
||||||
mc session create
|
mc session create
|
||||||
|
|
||||||
|
# Create a session and run an initial command before the shell starts
|
||||||
|
mc session create --run "echo 'Setup complete'; ls -l"
|
||||||
|
|
||||||
# List all active sessions
|
# List all active sessions
|
||||||
mc session list
|
mc session list
|
||||||
|
|
||||||
@@ -81,6 +84,9 @@ mcx https://github.com/username/repo # Clones the repository
|
|||||||
|
|
||||||
# Shorthand with MCP servers
|
# Shorthand with MCP servers
|
||||||
mcx https://github.com/username/repo --mcp github
|
mcx https://github.com/username/repo --mcp github
|
||||||
|
|
||||||
|
# Shorthand with an initial command
|
||||||
|
mcx . --run "apt-get update && apt-get install -y my-package"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Driver Management
|
## Driver Management
|
||||||
|
|||||||
Reference in New Issue
Block a user