|
|
|
|
|
by scottmf
132 days ago
|
|
Just tested and yes, but it's a little tricky so your `c` script will have to manage session IDs: 1. Start a new session and provide a random UUID: claude -p "The secret word is potato" --session-id 550e8400-e29b-41d4-a716-446655440000
> I see you've shared a secret word. I'll keep that in mind — the secret word is **potato**.
> Is there something I can help you with today?
2. Use the -r/--resume flag with the same UUID for follow up messages: claude -p "What is the secret word?" -r 550e8400-e29b-41d4-a716-446655440000
> The secret word is **potato**.
|
|