Skip to main content
bunny scripts provides a full workflow for Edge Scripting: initialize a project from a template, deploy built code, and link an existing script to a local project.

bunny scripts init

Create a new Edge Script project from a template.
When choosing GitHub Actions, git is initialized automatically, GitHub-specific workflow files are kept, and after creating the script you’ll be shown the SCRIPT_ID to add as a GitHub repo secret. When choosing CLI, the .github/ and .changeset/ directories are removed from the template and git initialization is skipped.

bunny scripts deploy

Deploy code to an Edge Script. Uploads code and publishes by default.
bunny scripts deploy works regardless of how the script was created or whether GitHub Actions is configured. The last deployment always wins, whether triggered by a GitHub Action or a manual CLI deploy.
Link the current directory to a remote Edge Script. Creates a .bunny/script.json manifest file.

bunny scripts list

List all Edge Scripts.

bunny scripts show

Show details for an Edge Script. Uses the linked script from .bunny/script.json if no ID is provided.