JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q58337F
  • License MIT

CLI for managing grotte sandbox templates

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@grotte/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    GROTTE CLI

    Control your GROTTE sandboxes from the terminal.

    Install

    npm install -g @grotte/cli

    Or without installing globally:

    npx @grotte/cli --help

    Authentication

    # Via browser (recommended)
    grotte auth login
    
    # Via API key directly (non-interactive)
    grotte auth login --key grt_your_key_here

    Get your API key at app.grotte.parallactic.fr.

    Commands

    Sandboxes

    grotte sandbox list                  # list active sandboxes
    grotte sandbox create [template]     # create a new sandbox
    grotte sandbox logs <id>             # stream logs in real time
    grotte sandbox kill <id>             # kill a sandbox immediately

    Templates

    grotte templates list                # list available environments

    Keys

    grotte keys list                     # list your API keys
    grotte keys rotate                   # rotate your active key

    Account

    grotte whoami                        # show active account
    grotte auth logout                   # revoke local session

    Quick demo

    $ grotte sandbox list
    
      ID          TEMPLATE     STATUS      DURATION
      i716tr2o    base         RUNNING     2m 14s
    
    $ grotte sandbox logs i716tr2o
    Streaming logs for i716tr2o... (Ctrl+C to stop)
    
    stdout  Hello from GROTTE sandbox            14:23:07

    Configuration

    The CLI stores credentials at ~/.grotte/config.json. The API key is also read from the GROTTE_API_KEY environment variable; the env var takes precedence when both are set.

    License

    MIT · Based on E2B CLI by FoundryLabs, Inc. See NOTICE for full attribution and a summary of significant changes.