e2b-dev / E2B

Secure open source cloud runtime for AI apps & AI agents
https://e2b.dev/docs
Apache License 2.0
7.02k stars 458 forks source link

Add interactive mode to CLI commands #371

Closed ValentaTomas closed 3 months ago

ValentaTomas commented 6 months ago

Some CLI commands would be much easier to use if we could invoke them with a flag for interactive mode and then set up the action we want to do via selecting options.

For example, killing sandboxes or listing sandbox logs right now requires using the command for listing sandboxes before and then manually pasting the sandbox ID we want to kill or inspect logs for.

This could also combine with variadic arguments — killing multiple sandboxes via selecting multiple in the e2b sandbox kill interactive mode.

ValentaTomas commented 3 months ago

This is a minor improvement that might not be worth prioritizing right now.