From 21101320a1d2992c10a0194df9fbb5e36dfba61b Mon Sep 17 00:00:00 2001 From: "Mathieu Virbel (aider)" Date: Tue, 1 Apr 2025 09:49:26 -0600 Subject: [PATCH] docs: Add --run option examples to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b359be5..ce11be3 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,9 @@ mc # Create a new session with the default driver 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 mc session list @@ -81,6 +84,9 @@ mcx https://github.com/username/repo # Clones the repository # Shorthand with MCP servers 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