Buddy Command Reference
On this page 419
This reference is generated from Buddy's runtime command registry and currently contains 417 commands. Run bun run docs:buddy after changing the registry; CI rejects stale output.
Command groups
| Group | Commands |
|---|---|
ai | 2 |
auth | 4 |
build | 16 |
cloud | 14 |
cms | 2 |
coming-soon | 1 |
comments | 4 |
commerce | 3 |
config | 1 |
configure | 1 |
core | 1 |
daemon | 5 |
dashboard | 2 |
db | 3 |
deploy | 3 |
desktop | 8 |
dev | 8 |
dns | 3 |
docs | 20 |
domains | 3 |
email | 7 |
env | 7 |
extension | 13 |
feedback | 3 |
format | 1 |
forms | 2 |
gdpr | 5 |
general | 55 |
generate | 20 |
hq | 3 |
inspire | 1 |
integrations | 1 |
key | 1 |
libs | 2 |
license | 1 |
link | 1 |
lint | 1 |
mail | 32 |
make | 21 |
marketing | 2 |
migrate | 6 |
monitoring | 2 |
package | 1 |
phone | 4 |
ports | 2 |
projects | 5 |
publish | 8 |
queue | 21 |
realtime | 2 |
release | 10 |
route | 1 |
scaffold | 1 |
schedule | 6 |
search | 2 |
search-engine | 2 |
security | 1 |
seed | 2 |
serve | 1 |
server | 5 |
setup | 4 |
simulator | 2 |
sms | 6 |
socials | 2 |
stack | 3 |
storage | 3 |
stripe | 1 |
support | 5 |
test | 5 |
types | 2 |
unlink | 1 |
unpublish | 2 |
upgrade | 5 |
user | 3 |
workflow | 8 |
Commands
about
Display diagnostic information about Stacks
- Usage:
$ buddy about - Namespace: none
- Aliases: none
- Arguments: none
add
Pull a registered stack and merge its project files into this Stacks application
- Usage:
$ buddy add <stack> - Namespace: none
- Aliases: none
- Arguments:
<stack>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite existing files | boolean, optional | false |
--dry-run | Show which files would be installed without changing the project | boolean, optional | false |
--conflict | Resolve existing files with skip, overwrite, or backup | value, required | "skip" |
-p, --project | Target a specific Stacks project | value, required | - |
--verbose | Show every file copied or skipped | boolean, optional | false |
Examples:
buddy add calendar
buddy add table --dry-run
buddy add calendar --conflict backup
ai:access
Make the Amazon Bedrock models in config/ai.ts invocable in this AWS account
- Usage:
$ buddy ai:access [...models] - Namespace:
ai - Aliases: none
- Arguments:
[models...]
| Option | Description | Contract | Default |
|---|---|---|---|
--region | The AWS region (defaults to AWS_REGION, then AWS_DEFAULT_REGION, then us-east-1) | value, optional | - |
-J, --json | Print the result per model as JSON | boolean, optional | false |
Examples:
buddy ai:access
buddy ai:access global.anthropic.claude-sonnet-5-5
ai:context
Generate compact deterministic project context for coding models
- Usage:
$ buddy ai:context - Namespace:
ai - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-J, --json | Emit the versioned machine-readable context contract | boolean, optional | false |
-o, --output | Write output to a file instead of stdout | value, optional | - |
--max-chars | Maximum characters in the prompt context payload | value, optional | 4000 |
--model | Model family used for the heuristic token estimate | value, optional | "gpt-4o" |
Examples:
buddy ai:context
buddy ai:context --json
buddy ai:context --json --output storage/framework/runtime/ai-context.json
auth:client
Create a new OAuth client
- Usage:
$ buddy auth:client - Namespace:
auth - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | Client name | value, optional | "OAuth Client" |
-r, --redirect | Redirect URI, or comma-separated provider URIs | value, optional | "http://localhost" |
--personal | Create a personal access client | boolean, optional | false |
--password | Create a password grant client | boolean, optional | false |
--provider | Create an authorization-server client | boolean, optional | false |
--owner | Owner user id for a provider client | value, optional | - |
--public | Create a public PKCE client without a secret | boolean, optional | false |
--scopes | Comma-separated provider scopes | value, optional | - |
--resources | Comma-separated provider resources | value, optional | - |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
auth:prune
Prune expired and revoked tokens
- Usage:
$ buddy auth:prune - Namespace:
auth - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--no-expired | Skip pruning expired tokens | boolean, optional, negated | true |
--no-revoked | Skip pruning revoked tokens | boolean, optional, negated | true |
-d, --days | Prune revoked tokens older than N days | value, optional | 7 |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
auth:setup
Set up authentication (migrations + personal access client)
- Usage:
$ buddy auth:setup - Namespace:
auth - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
auth:token
Create a personal access client token
- Usage:
$ buddy auth:token - Namespace:
auth - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build
Build any of your libraries (packages) for production use
- Usage:
$ buddy build [type] - Namespace: none
- Aliases: none
- Arguments:
[type]
| Option | Description | Contract | Default |
|---|---|---|---|
-c, --components | Build your component library | boolean, optional | - |
-w, --web-components | Build your framework agnostic web component library | boolean, optional | - |
-e, --elements | An alias to the -w flag | boolean, optional | - |
-f, --functions | Build your function library | boolean, optional | - |
-l, --libs | Build every package configured in config/library.ts | boolean, optional | - |
-k, --desktop | Build the Desktop Application | boolean, optional | - |
-m, --mobile | Build the native iOS and Android applications | boolean, optional | - |
--android | Build the native Android application | boolean, optional | - |
--ios | Build the native iOS application | boolean, optional | - |
-p, --views | Build your frontend | boolean, optional | - |
--pages | Build your frontend | boolean, optional | - |
-d, --docs | Build your documentation | boolean, optional | - |
-b, --buddy | Build the Buddy binary | boolean, optional | false |
-s, --stacks | Build Stacks framework | boolean, optional | false |
--project | Target a specific project | value, optional | false |
--server | Build the Stacks cloud server (Docker image) | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:android
Build the native Android application
- Usage:
$ buddy build:android - Namespace:
build - Aliases:
prod:android - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--bundle | Build a signed Android App Bundle (.aab) for Google Play (CRAFT_ANDROID_KEYSTORE and friends) | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:cli
Automagically build the CLI
- Usage:
$ buddy build:cli - Namespace:
build - Aliases:
prod:cli - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-b, --buddy | Build the Buddy binary | boolean, optional | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:components
Automagically build component libraries for production use & npm/CDN distribution
- Usage:
$ buddy build:components - Namespace:
build - Aliases:
prod:components - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-c, --components | Build your component library | boolean, optional | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:core
Automagically build the Stacks core.
- Usage:
$ buddy build:core - Namespace:
build - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:desktop
Build the Desktop Application
- Usage:
$ buddy build:desktop - Namespace:
build - Aliases:
prod:desktop - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--target | Web view app: comma-separated targets (darwin-arm64, linux-x64, win32-x64, ...) or all. Default: this machine | value, required | - |
--package | Web view app: also make the installers this operating system can make (MSI on Windows; AppImage, deb, rpm on Linux) | boolean, optional | false |
--import | Web view app: add targets built on another machine (their output folder, with its build.json) to this build, checked against their recorded hashes | value, required | - |
--identity | Web view app, macOS: the certificate to sign with (or DESKTOP_SIGNING_IDENTITY). A release needs a Developer ID Application certificate | value, required | - |
--native | Build the AppKit app (macos) when the config also declares a web view app | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:dmg
Package the desktop build as a macOS .app inside a .dmg
- Usage:
$ buddy build:dmg - Namespace:
build - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--app-name | Bundle display name (or DESKTOP_APP_NAME / APP_NAME) | value, required | - |
--app-version | Bundle version (or DESKTOP_APP_VERSION; defaults to the project's package.json) | value, required | - |
--bundle-id | Reverse-DNS bundle identifier (or DESKTOP_BUNDLE_ID) | value, required | - |
--signing-identity | Developer ID identity to sign with (or DESKTOP_SIGNING_IDENTITY). An AppKit app (macos) is then built for direct distribution: not sandboxed, with its updater when it has macos.updates | value, required | - |
--notary-profile | notarytool keychain profile to notarize and staple with (or DESKTOP_NOTARY_PROFILE) | value, required | - |
--notarize | Notarize and staple with an App Store Connect API key (or DESKTOP_NOTARIZE) | boolean, optional | - |
--api-key-id | App Store Connect API key ID (or APP_STORE_CONNECT_API_KEY_ID) | value, required | - |
--api-issuer-id | App Store Connect API issuer ID (or APP_STORE_CONNECT_API_ISSUER_ID) | value, required | - |
--api-key-path | The AuthKey_*.p8 file (or APP_STORE_CONNECT_API_KEY_PATH, or its PEM in APP_STORE_CONNECT_API_KEY) | value, required | - |
--volume-name | Name the mounted image shows (or DESKTOP_VOLUME_NAME) | value, required | - |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:docs
Automagically build your documentation site.
- Usage:
$ buddy build:docs - Namespace:
build - Aliases:
prod:docs,build:documentation,prod:documentation - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-d, --docs | Build your documentation | boolean, optional | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:frontend
Build your frontend
- Usage:
$ buddy build:frontend - Namespace:
build - Aliases:
build:pages,build:views,prod:frontend - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:frontend-static
Build the prerendered marketing/public static site (storage/framework/frontend-dist)
- Usage:
$ buddy build:frontend-static - Namespace:
build - Aliases:
build:public,prod:frontend-static - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:functions
Automagically build function library for npm/CDN distribution
- Usage:
$ buddy build:functions - Namespace:
build - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --functions | Build your function library | boolean, optional | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:ios
Build the native iOS application
- Usage:
$ buddy build:ios - Namespace:
build - Aliases:
prod:ios - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:libs
Build every package configured in config/library.ts
- Usage:
$ buddy build:libs - Namespace:
build - Aliases:
build:libraries,prod:libs - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:mobile
Build the native iOS and Android applications
- Usage:
$ buddy build:mobile - Namespace:
build - Aliases:
prod:mobile - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:server
Build the Stacks cloud server (Docker image)
- Usage:
$ buddy build:server - Namespace:
build - Aliases:
prod:server,build:docker - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:stacks
Build the Stacks framework.
- Usage:
$ buddy build:stacks - Namespace:
build - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-s, --stacks | Build Stacks framework | boolean, optional | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
build:web-components
Automagically build Web Component library for npm/CDN distribution
- Usage:
$ buddy build:web-components - Namespace:
build - Aliases:
build:wc,prod:web-components,prod:wc - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-w, --web-components | Build your framework agnostic web component library | boolean, optional | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cd
Print the absolute path of a Stacks project by name
- Usage:
$ buddy cd [name] - Namespace: none
- Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
--eval | Emit cd "path" instead of just the path - pair with eval "$(buddy cd <name> --eval)" for real shell-cd | boolean, optional | false |
--root | A directory to look in for a project that is not on the list yet (overrides STACKS_PROJECTS_ROOT) | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
changelog
Create a CHANGELOG.md file
- Usage:
$ buddy changelog - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-q, --quiet | Minimal output | boolean, optional | false |
-d, --dry-run | Do not write the file, just output the changes | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--from | Start git revision for generated changelog | value, required | - |
--to | End git revision for generated changelog | value, required | - |
--version | Version heading to use for the generated changelog entry | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
clean
Removes all node_modules & lock files
- Usage:
$ buddy clean - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-f, --force | Skip the confirmation prompt (required in CI/non-interactive shells) | boolean, optional | false |
--dry-run | Say what would be removed, and remove nothing | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud
Interact with the Stacks Cloud
- Usage:
$ buddy cloud - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--ssh | SSH into the Stacks Cloud | boolean, optional | false |
--connect | SSH into the Stacks Cloud | boolean, optional | false |
--invalidate-cache | Invalidate the CloudFront cache | boolean, optional | false |
--paths | The paths to invalidate | value, optional | - |
-y, --yes | Invalidate the CDN cache without asking first | boolean, optional | false |
--diff | Show the diff of the current, undeployed cloud changes | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:add
Add a resource to the Stacks Cloud
- Usage:
$ buddy cloud:add - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--jump-box | Check for the jump box, and say how to declare one if the stack has none | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:apply
Apply configured server size, persistent volumes and deployment storage
- Usage:
$ buddy cloud:apply - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment to reconcile | value, optional | "production" |
--dry-run | Show the compute plan without changing anything | boolean, optional | false |
--yes | Apply the displayed plan without prompting | boolean, optional | false |
-J, --json | Print the plan as JSON | boolean, optional | false |
cloud:attach
Attach this project to a server another project owns, after checking it is safe
- Usage:
$ buddy cloud:attach - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--server | Server to attach to, by provider name or by owning project slug | value, required | - |
--env | Environment to take the inventory for | value, optional | - |
--dry-run | Print the plan and change nothing | boolean, optional | false |
-J, --json | Emit the inventory as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:cleanup
Remove all resources that were retained during the cloud deletion
- Usage:
$ buddy cloud:cleanup - Namespace:
cloud - Aliases:
cloud:clean-up - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
cloud:dashboard
Run the local Stacks Cloud management cockpit (servers, sites, deploys)
- Usage:
$ buddy cloud:dashboard - Namespace:
cloud - Aliases:
cloud:cockpit - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Host to bind the dashboard to | value, optional | "127.0.0.1" |
--port | Port to bind the dashboard to | value, optional | "7676" |
--env | Environment to manage | value, optional | - |
--verbose | Enable verbose output | boolean, optional | false |
cloud:destroy
Destroy a drained server, once nothing on it is anyone's rollback
- Usage:
$ buddy cloud:destroy <server> - Namespace:
cloud - Aliases: none
- Arguments:
<server>
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment whose fleet and state pin the server belongs to | value, optional | - |
--confirm | The exact server name, which an irreversible step requires before it runs | value, required | - |
--discard-drained | Destroy it even though it still holds site trees that are somebody's rollback | boolean, optional | false |
--dry-run | Print the plan and change nothing | boolean, optional | false |
-J, --json | Emit the teardown plan as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:diff
Show the diff of the current, undeployed cloud changes
- Usage:
$ buddy cloud:diff - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
cloud:invalidate-cache
Invalidate the CloudFront cache
- Usage:
$ buddy cloud:invalidate-cache - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--paths | The paths to invalidate | value, optional | false |
-y, --yes | Invalidate without asking first | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:move
Move a deployed site to another server, cutting DNS over once the target serves it
- Usage:
$ buddy cloud:move <site> - Namespace:
cloud - Aliases: none
- Arguments:
<site>
| Option | Description | Contract | Default |
|---|---|---|---|
--to | Server to move the site to, by provider name or by owning project slug | value, required | - |
--from | Server the site is on now, when more than one could be serving it | value, required | - |
--env | Environment whose fleet and sites to move within | value, optional | - |
--confirm | The exact site name, which the irreversible steps require before they run | value, required | - |
--dry-run | Print the plan and change nothing | boolean, optional | false |
-J, --json | Emit the move plan as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:optimize-cost
Remove certain resources that may be re-applied at a later time
- Usage:
$ buddy cloud:optimize-cost - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--jump-box | Check for the jump box, and say how to remove it from the stack | boolean, optional | true |
--verbose | Enable verbose output | boolean, optional | false |
cloud:remove
Remove the Stacks Cloud. In case it fails, try again
- Usage:
$ buddy cloud:remove - Namespace:
cloud - Aliases:
cloud:rm,undeploy - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--jump-box | Check for the jump box, and say how to remove it from the stack | boolean, optional | false |
-y, --yes | Skip the confirmation prompt | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:rename
Rename a server in place, keeping the provider, state pin, hostname and inventory in step
- Usage:
$ buddy cloud:rename <server> - Namespace:
cloud - Aliases: none
- Arguments:
<server>
| Option | Description | Contract | Default |
|---|---|---|---|
--to | The new server name | value, required | - |
--env | Environment whose fleet and state pin to rename in | value, optional | - |
--dry-run | Print the plan and change nothing | boolean, optional | false |
-J, --json | Emit the rename plan as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:sites
List every server and what each one is hosting, across projects
- Usage:
$ buddy cloud:sites - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment to take the inventory for | value, optional | - |
--no-remote | Skip the SSH read of each box's gateway registry (co-tenants are then not listed) | boolean, optional, negated | true |
-J, --json | Emit the inventory as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cloud:targets
List deployed sites with what a remote session needs: host, SSH user and key, app path and env file
- Usage:
$ buddy cloud:targets - Namespace:
cloud - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment to take the inventory for | value, optional | - |
--no-remote | Skip the SSH read of each box's gateway registry (co-tenants are then not listed) | boolean, optional, negated | true |
-J, --json | Emit the inventory as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
cms:install
Activate the cms feature bundle. Post/Page/Author/Comment/Tag models + content edit dashboards.
- Usage:
$ buddy cms:install - Namespace:
cms - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every cms file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing cms files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what cms:install would change, and change nothing. | boolean, optional | false |
cms:uninstall
Deactivate the cms feature bundle.
- Usage:
$ buddy cms:uninstall - Namespace:
cms - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the cms scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the cms scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what cms:uninstall would change, and change nothing. | boolean, optional | false |
coming-soon
Put the application into coming soon mode
- Usage:
$ buddy coming-soon - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--message | The message to display | value, optional | false |
--secret | The secret phrase to bypass coming soon mode | value, optional | false |
--allow | IP addresses allowed to access the application | value, optional | false |
--status | The HTTP status code to return | value, optional | "200" |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy coming-soon
buddy coming-soon --secret=trailhead
buddy coming-soon --message="Opening soon"
coming-soon:status
Check if the application is in coming soon mode
- Usage:
$ buddy coming-soon:status - Namespace:
coming-soon - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
comments:approve
Publish a comment
- Usage:
$ buddy comments:approve <id> - Namespace:
comments - Aliases: none
- Arguments:
<id>
Examples:
buddy comments:approve 12
comments:delete
Delete a comment for good
- Usage:
$ buddy comments:delete <id> - Namespace:
comments - Aliases: none
- Arguments:
<id>
Examples:
buddy comments:delete 12
comments:list
List reader comments, newest first
- Usage:
$ buddy comments:list - Namespace:
comments - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--status | Only this status: pending, approved, rejected | value, required | - |
--type | Only comments on this table, e.g. posts | value, required | - |
--limit | How many to show | value, required | "25" |
Examples:
buddy comments:list
buddy comments:list --status pending --type posts
comments:reject
Hide a comment without deleting it
- Usage:
$ buddy comments:reject <id> - Namespace:
comments - Aliases: none
- Arguments:
<id>
Examples:
buddy comments:reject 12
commerce:import
Import a Shopify, WooCommerce or Shopware 6 catalog, and optionally its customers and orders
- Usage:
$ buddy commerce:import <url> - Namespace:
commerce - Aliases: none
- Arguments:
<url>
| Option | Description | Contract | Default |
|---|---|---|---|
--from | Where the store lives: shopify, woocommerce, shopware | value, required | - |
--customers | Also import customers from the admin API (credentials from env: SHOPIFY_ADMIN_TOKEN, WOOCOMMERCE_CONSUMER_KEY/_SECRET or SHOPWARE_CLIENT_ID/_SECRET) | boolean, optional | false |
--orders | Also import orders and their lines from the admin API (same credentials as --customers) | boolean, optional | false |
--catalog | Import the catalog too when --customers or --orders is given (it is the default otherwise) | boolean, optional | false |
--access-key | Shopware catalog only: the sales channel access key (public, from Sales Channels > API access), or set SHOPWARE_ACCESS_KEY | value, required | - |
--admin-url | Customers and orders only: the admin API address when it differs from | value, required | - |
--limit | Import at most this many products, customers and orders (each) | value, required | - |
--currency | ISO 4217 currency, for a store or order that does not report one | value, required | - |
--dry-run | Show what would be created or updated without writing anything | boolean, optional | false |
Examples:
buddy commerce:import https://shop.example.com --from shopify --dry-run
buddy commerce:import example.com/shop --from woocommerce --limit 50
buddy commerce:import https://shop.example.de --from shopware --access-key SWSC... --dry-run
SHOPIFY_ADMIN_TOKEN=shpat_... buddy commerce:import https://shop.example.com --from shopify --customers --orders --admin-url northwind.myshopify.com
commerce:install
Activate the commerce feature bundle. Order/Cart/Product/Customer/Coupon/GiftCard/Shipping + storefront API.
- Usage:
$ buddy commerce:install - Namespace:
commerce - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every commerce file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing commerce files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what commerce:install would change, and change nothing. | boolean, optional | false |
commerce:uninstall
Deactivate the commerce feature bundle.
- Usage:
$ buddy commerce:uninstall - Namespace:
commerce - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the commerce scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the commerce scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what commerce:uninstall would change, and change nothing. | boolean, optional | false |
commit
Commit your staged changes
- Usage:
$ buddy commit - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
completion
Generate shell completion scripts
- Usage:
$ buddy completion [shell] - Namespace: none
- Aliases: none
- Arguments:
[shell]
| Option | Description | Contract | Default |
|---|---|---|---|
-s, --shell | Shell type (bash, zsh, fish) | value, optional | - |
Examples:
buddy completion bash
buddy completion zsh
buddy completion fish
buddy completion bash > /usr/local/etc/bash_completion.d/buddy
config:migrate
Apply config-shape codemods for the latest Stacks version
- Usage:
$ buddy config:migrate - Namespace:
config - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Preview changes without writing | boolean, optional | false |
--only | Run a single codemod by id | value, optional | "" |
configure
Configure options
- Usage:
$ buddy configure - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--aws | Configure the AWS connection | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
configure:aws
Configure the AWS connection
- Usage:
$ buddy configure:aws - Namespace:
configure - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--profile | The AWS profile to use | boolean, optional | - |
--verbose | Enable verbose output | boolean, optional | false |
--access-key-id | The AWS access key | boolean, optional | - |
--secret-access-key | The AWS secret access key | boolean, optional | - |
--region | The AWS region | boolean, optional | - |
--output | The AWS output format | boolean, optional | - |
--quiet | Suppress output | boolean, optional | - |
core:status
Report whether this project runs on a vendored storage/framework/core or on the published packages
- Usage:
$ buddy core:status - Namespace:
core - Aliases:
publish:core:status - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy core:status
daemon
Show whether buddy is running in the background and what it is running
- Usage:
$ buddy daemon - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--json | Print the status as JSON | boolean, optional | false |
daemon:logs
Print the background buddy's log
- Usage:
$ buddy daemon:logs - Namespace:
daemon - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--lines | How many lines from the end to print | value, required | 50 |
daemon:restart
Restart the background buddy
- Usage:
$ buddy daemon:restart - Namespace:
daemon - Aliases: none
- Arguments: none
daemon:start
Start buddy in the background
- Usage:
$ buddy daemon:start - Namespace:
daemon - Aliases: none
- Arguments: none
daemon:status
Show whether buddy is running in the background and what it is running
- Usage:
$ buddy daemon:status - Namespace:
daemon - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--json | Print the status as JSON | boolean, optional | false |
daemon:stop
Stop background generation and the dashboards buddy started
- Usage:
$ buddy daemon:stop - Namespace:
daemon - Aliases: none
- Arguments: none
dashboard
Open a project's dashboard, starting it in the background if needed
- Usage:
$ buddy dashboard [project] - Namespace: none
- Aliases: none
- Arguments:
[project]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | The project to open, by name or path | value, optional | - |
--no-open | Start it and print its address without opening a browser | boolean, optional, negated | true |
--stop | Stop the project's background dashboard | boolean, optional | false |
dashboard:install
Activate the dashboard feature bundle. Admin SPA shell + Activity/Log/Request/Deployment/Notification dashboards.
- Usage:
$ buddy dashboard:install - Namespace:
dashboard - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every dashboard file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing dashboard files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what dashboard:install would change, and change nothing. | boolean, optional | false |
dashboard:uninstall
Deactivate the dashboard feature bundle.
- Usage:
$ buddy dashboard:uninstall - Namespace:
dashboard - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the dashboard scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the dashboard scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what dashboard:uninstall would change, and change nothing. | boolean, optional | false |
db:backup
Dump the application database to a file
- Usage:
$ buddy db:backup - Namespace:
db - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where to write the dump (default: storage/backups/database) | value, optional | - |
--retain | How many dumps to keep (default: DB_BACKUP_RETAIN, backups.retain, or 7) | value, optional | - |
--timeout | Stop a dump that runs longer than this and fail (default: DB_BACKUP_TIMEOUT, backups.timeout, or 3600) | value, optional | - |
--before-migrations | Deploy mode: succeed quietly when there is no database yet | boolean, optional | false |
--destination | Copy the dump offsite: s3://bucket/prefix or disk://name/prefix | value, optional | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy db:backup
buddy db:backup --out /var/backups/app --retain 30
buddy db:backup --destination disk://backups/daily
db:backups
List the database dumps that have been taken
- Usage:
$ buddy db:backups - Namespace:
db - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where dumps are kept (default: storage/backups/database) | value, optional | - |
Examples:
buddy db:backups
db:restore
Restore the application database from a dump
- Usage:
$ buddy db:restore [file] - Namespace:
db - Aliases: none
- Arguments:
[file]
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where dumps are kept (default: storage/backups/database) | value, optional | - |
--force | Skip the confirmation prompt | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy db:restore
buddy db:restore 2026-08-13T09-00-00-000.sqlite.sqlite --force
deploy
Deploy your project
- Usage:
$ buddy deploy [env] - Namespace: none
- Aliases: none
- Arguments:
[env]
| Option | Description | Contract | Default |
|---|---|---|---|
--domain | Specify a domain to deploy to | value, required | - |
--env-file | Deploy with only this runtime environment file | value, required | - |
--retire-domains | Explicitly retire omitted gateway hostnames (comma-separated) | value, required | - |
-p, --project | Target a specific project | value, optional | false |
--prod | Deploy to production | boolean, optional | false |
--dev | Deploy to development | boolean, optional | false |
--yes | Confirm all prompts by default | boolean, optional | false |
--site | Deploy only this one site to the existing server (multi-tenant surgical add) | value, required | - |
--staging | Deploy to staging | boolean, optional | false |
--dry-run | Preview the deployment and change nothing | boolean, optional | false |
--hold-dns | Ship and start the release without publishing DNS, TLS, CDN or mail records (bring a new server up before a cutover) | boolean, optional | false |
--docker | Also build an OCI image with pantry (native, no Docker daemon) and push it to the pantry registry | boolean, optional | false |
-J, --json | Emit a machine-readable deployment preview | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
deploy:preview
Deploy a preview (e.g. pr-123) as its own tenant on the app's box, at
- Usage:
$ buddy deploy:preview <name> - Namespace:
deploy - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--base | The environment whose box the preview runs on | value, required | "production" |
--verbose | Enable verbose output | boolean, optional | false |
deploy:preview:remove
Remove a preview from the app's box: its services, gateway route, certificate, files and DNS records
- Usage:
$ buddy deploy:preview:remove <name> - Namespace:
deploy - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--base | The environment whose box the preview runs on | value, required | "production" |
--verbose | Enable verbose output | boolean, optional | false |
deploy:rollback
Roll back a deployment to a preserved release
- Usage:
$ buddy deploy:rollback [site] - Namespace:
deploy - Aliases: none
- Arguments:
[site]
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment to roll back | value, required | "production" |
--to | Preserved release id to activate | value, required | - |
--dry-run | Preview the rollback without changing the active release | boolean, optional | false |
--all | Every configured site, instead of one | boolean, optional | false |
--only-if-live | Only roll back a site whose live release is this commit (what a failed deploy switched) | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
desktop:apple:csr
Generate local private keys and CSRs for Mac App Store distribution certificates
- Usage:
$ buddy desktop:apple:csr - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--common-name | Certificate request common name | value, required | - |
--output | Directory for private keys and certificate requests | value, required | - |
desktop:apple:doctor
Validate Mac App Store tooling, credentials, certificates, and project metadata
- Usage:
$ buddy desktop:apple:doctor - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--app-name | Mac App Store display name | value, required | - |
--bundle-id | Reverse-DNS bundle identifier | value, required | - |
--team-id | Apple Developer team ID | value, required | - |
--app-signing-identity | Mac App Distribution signing identity | value, required | - |
--installer-signing-identity | Mac Installer Distribution signing identity | value, required | - |
--provisioning-profile | Mac App Store provisioning profile | value, required | - |
--api-key-id | App Store Connect API key ID | value, required | - |
--api-issuer-id | App Store Connect API issuer ID | value, required | - |
--api-key-path | App Store Connect AuthKey .p8 file | value, required | - |
--keychain | Look for the signing identities in this keychain file only (or APPLE_KEYCHAIN) | value, required | - |
desktop:apple:init
Create a GitHub Actions caller for the reusable Stacks Mac App Store workflow
- Usage:
$ buddy desktop:apple:init - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Replace an existing workflow | boolean, optional | - |
desktop:apple:package
Build, sandbox, sign, and package a Mac App Store desktop app
- Usage:
$ buddy desktop:apple:package - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--app-name | Mac App Store display name | value, required | - |
--bundle-id | Reverse-DNS bundle identifier | value, required | - |
--team-id | Apple Developer team ID | value, required | - |
--app-version | Marketing version | value, required | - |
--build-number | Unique App Store build number, or "next" for one past the highest on App Store Connect (publish only) | value, required | - |
--minimum-macos | Minimum supported macOS version | value, required | - |
--category | LSApplicationCategoryType value | value, required | - |
--app-signing-identity | Mac App Distribution signing identity | value, required | - |
--installer-signing-identity | Mac Installer Distribution signing identity | value, required | - |
--provisioning-profile | Mac App Store provisioning profile | value, required | - |
--icon | Optional .icns app icon | value, required | - |
--skip-build | Package existing storage/framework/desktop-dist artifacts | boolean, optional | - |
--universal | Ship one arm64 + x86_64 binary, merged with lipo | boolean, optional | - |
--craft-arm64 | Thin arm64 Craft runtime for --universal (or CRAFT_BIN_ARM64) | value, required | - |
--craft-x64 | Thin x86_64 Craft runtime for --universal (or CRAFT_BIN_X64) | value, required | - |
--keychain | Sign with identities from this keychain file only (or APPLE_KEYCHAIN) | value, required | - |
--sandbox-check | Make a locally signed sandboxed app for testing a configured launcher | boolean, optional | - |
desktop:apple:provision
Plan or reconcile Apple Bundle ID, capabilities, certificates, and profile
- Usage:
$ buddy desktop:apple:provision - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--app-name | Mac App Store display name | value, required | - |
--bundle-id | Reverse-DNS bundle identifier | value, required | - |
--api-key-id | App Store Connect API key ID | value, required | - |
--api-issuer-id | App Store Connect API issuer ID | value, required | - |
--api-key-path | App Store Connect AuthKey .p8 file | value, required | - |
--capabilities | Comma-separated Apple capability types | value, required | - |
--app-certificate-csr | CSR for a missing Mac App Distribution certificate | value, required | - |
--installer-certificate-csr | CSR for a missing Mac Installer Distribution certificate | value, required | - |
--profile-name | Provisioning profile name | value, required | - |
--output | Directory for the plan and downloaded Apple assets | value, required | - |
--plan | Report the idempotent Apple resource diff without mutating it | boolean, optional | - |
--apply | Apply the Apple resource diff without revoking existing certificates | boolean, optional | - |
desktop:apple:publish
Build and validate or upload a signed Mac App Store package
- Usage:
$ buddy desktop:apple:publish - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--app-name | Mac App Store display name | value, required | - |
--bundle-id | Reverse-DNS bundle identifier | value, required | - |
--team-id | Apple Developer team ID | value, required | - |
--app-version | Marketing version | value, required | - |
--build-number | Unique App Store build number, or "next" for one past the highest on App Store Connect (publish only) | value, required | - |
--minimum-macos | Minimum supported macOS version | value, required | - |
--category | LSApplicationCategoryType value | value, required | - |
--app-signing-identity | Mac App Distribution signing identity | value, required | - |
--installer-signing-identity | Mac Installer Distribution signing identity | value, required | - |
--provisioning-profile | Mac App Store provisioning profile | value, required | - |
--icon | Optional .icns app icon | value, required | - |
--skip-build | Package existing storage/framework/desktop-dist artifacts | boolean, optional | - |
--universal | Ship one arm64 + x86_64 binary, merged with lipo | boolean, optional | - |
--craft-arm64 | Thin arm64 Craft runtime for --universal (or CRAFT_BIN_ARM64) | value, required | - |
--craft-x64 | Thin x86_64 Craft runtime for --universal (or CRAFT_BIN_X64) | value, required | - |
--keychain | Sign with identities from this keychain file only (or APPLE_KEYCHAIN) | value, required | - |
--api-key-id | App Store Connect API key ID | value, required | - |
--api-issuer-id | App Store Connect API issuer ID | value, required | - |
--api-key-path | App Store Connect AuthKey .p8 file | value, required | - |
--validate-only | Validate with App Store Connect without uploading | boolean, optional | - |
--package-only | Create the signed package without contacting App Store Connect | boolean, optional | - |
--testflight | After the upload, wait for processing and give the build to these comma-separated TestFlight groups | value, required | - |
--whats-new | TestFlight "What to Test" (default: the commit subjects since the last tag) | value, required | - |
desktop:probe
Measure WebGL2/WebGPU, frame pacing, input and audio latency, gamepad, fullscreen and pointer lock in a Craft window
- Usage:
$ buddy desktop:probe - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--browser | Run the same page in a browser instead (default browser, or a named one on macOS) | value, optional | - |
--no-open | With --browser, print the URL instead of opening it | boolean, optional, negated | true |
--record | Write the record into the framework repository's probe results (framework checkout only) | boolean, optional | - |
--out | Also write the record as JSON to this file | value, required | - |
--craft-bin | Craft binary to use (defaults to CRAFT_BIN, then craft on PATH) | value, required | - |
--interaction-window | How long to wait for real clicks and key presses; 0 skips them (default 20) | value, required | - |
--idle | Idle frame-pacing sample length (default 3) | value, required | - |
--load | Loaded frame-pacing sample length (default 6) | value, required | - |
--cpu-load | Busy-wait added to each loaded frame (default 6) | value, required | - |
--instances | Instanced cubes drawn per loaded frame, 12 triangles each (default 40000) | value, required | - |
--timeout | Give up after this long | value, required | - |
Examples:
buddy desktop:probe --record
buddy desktop:probe --browser=Safari --record
desktop:update:keypair
Generate the Ed25519 keypair that signs a desktop app's update manifests
- Usage:
$ buddy desktop:update:keypair - Namespace:
desktop - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--key-id | The name the app knows the key by | value, required | "main" |
--json | Print the keypair as JSON | boolean, optional | false |
Examples:
buddy desktop:update:keypair
buddy desktop:update:keypair --key-id release-2026
dev
Start development server
- Usage:
$ buddy dev [server] - Namespace: none
- Aliases: none
- Arguments:
[server]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --frontend | Start the frontend development server | boolean, optional | - |
-a, --api | Start the local API development server | boolean, optional | - |
-c, --components | Start the Components development server | boolean, optional | - |
-d, --dashboard | Start the Dashboard development server | boolean, optional | - |
-k, --desktop | Start the Desktop App development server | boolean, optional | - |
-n, --native | Start the app in a native Craft window | boolean, optional | - |
-o, --docs | Start the Documentation development server | boolean, optional | - |
-s, --system-tray | Start the System Tray development server | boolean, optional | - |
-i, --interactive | Get asked which development server to start | boolean, optional | false |
-l, --with-localhost | Include the localhost URL in the output | boolean, optional | false |
--browser | Open the application in a browser instead of its configured native window | boolean, optional | false |
--site | Open the marketing site instead of the application | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
--detach | Keep the dev servers running after this process or its shell exits (for nohup ./buddy dev --detach &) | boolean, optional | false |
dev:api
Start the local API development server
- Usage:
$ buddy dev:api - Namespace:
dev - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--no-watch-types | Skip the model/config type-regeneration watcher | boolean, optional, negated | true |
--verbose | Enable verbose output | boolean, optional | false |
dev:components
Start the Components development server
- Usage:
$ buddy dev:components - Namespace:
dev - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
dev:dashboard
Start the Dashboard development server
- Usage:
$ buddy dev:dashboard - Namespace:
dev - Aliases:
dev:admin - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dev:desktop
Start the Desktop App development server
- Usage:
$ buddy dev:desktop - Namespace:
dev - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--native | Run the AppKit app (macos) when the config also declares a web view app | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dev:docs
Start the Documentation development server
- Usage:
$ buddy dev:docs - Namespace:
dev - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dev:frontend
Start the frontend development server
- Usage:
$ buddy dev:frontend - Namespace:
dev - Aliases:
dev:pages,dev:views - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--site | Open the marketing site instead of the application | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dev:native
Start the app in a native Craft window
- Usage:
$ buddy dev:native - Namespace:
dev - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dev:system-tray
Start the System Tray development server
- Usage:
$ buddy dev:system-tray - Namespace:
dev - Aliases:
dev:tray - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dns
Lists the DNS records for a domain
- Usage:
$ buddy dns [domain] - Namespace: none
- Aliases: none
- Arguments:
[domain]
| Option | Description | Contract | Default |
|---|---|---|---|
-q, --query | Host name or IP address to query | value, required | - |
-t, --type | Type of the DNS record being queried (A, MX, NS…) | value, required | "A" |
-n, --nameserver | Address of the nameserver to send packets to | value, required | - |
--class | Network class of the DNS record being queried (IN, CH, HS) | value, required | - |
-U, --udp | Use the DNS protocol over UDP | boolean, optional | - |
-T, --tcp | Use the DNS protocol over TCP | boolean, optional | - |
-S, --tls | Use the DNS-over-TLS protocol | boolean, optional | - |
-H, --https | Use the DNS-over-HTTPS protocol | boolean, optional | - |
-1, --short | Short mode: display nothing but the first result | boolean, optional | false |
-J, --json | Display the output as JSON | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
dns:diff
Show which config/dns.ts records are missing from the live zone
- Usage:
$ buddy dns:diff [domain] - Namespace:
dns - Aliases: none
- Arguments:
[domain]
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
dns:pull
Print a domain's live DNS records as a config/dns.ts block
- Usage:
$ buddy dns:pull [domain] - Namespace:
dns - Aliases: none
- Arguments:
[domain]
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
dns:sync
Additively sync config/dns.ts to the registrar (creates missing records; never deletes or overwrites)
- Usage:
$ buddy dns:sync [domain] - Namespace:
dns - Aliases: none
- Arguments:
[domain]
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Show the plan without writing any records | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
docs:agent-counts
Rewrite the counts AGENTS.md and the skills state, from the tree
- Usage:
$ buddy docs:agent-counts - Namespace:
docs - Aliases: none
- Arguments: none
docs:agent-counts:check
Verify the counts AGENTS.md and the skills state are current
- Usage:
$ buddy docs:agent-counts:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:artifacts
Regenerate the generated API artifacts (OpenAPI + types)
- Usage:
$ buddy docs:artifacts - Namespace:
docs - Aliases: none
- Arguments: none
docs:artifacts:check
Verify the generated API artifacts are current
- Usage:
$ buddy docs:artifacts:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:buddy
Regenerate the buddy command reference doc
- Usage:
$ buddy docs:buddy - Namespace:
docs - Aliases: none
- Arguments: none
docs:buddy:check
Verify the buddy command reference doc is current
- Usage:
$ buddy docs:buddy:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:capabilities
Regenerate the driver capability matrix in docs/features/capabilities.md
- Usage:
$ buddy docs:capabilities - Namespace:
docs - Aliases: none
- Arguments: none
docs:capabilities:check
Verify the published capability matrix matches its registry
- Usage:
$ buddy docs:capabilities:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:desktop-matrix
Regenerate the desktop support matrix in docs/packages/desktop.md
- Usage:
$ buddy docs:desktop-matrix - Namespace:
docs - Aliases: none
- Arguments: none
docs:desktop-matrix:check
Verify the published desktop support matrix matches its source
- Usage:
$ buddy docs:desktop-matrix:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:links
Report internal documentation links
- Usage:
$ buddy docs:links - Namespace:
docs - Aliases: none
- Arguments: none
docs:links:check
Verify internal documentation links resolve
- Usage:
$ buddy docs:links:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:native-skills
Regenerate native skill package coverage and driver evidence
- Usage:
$ buddy docs:native-skills - Namespace:
docs - Aliases: none
- Arguments: none
docs:native-skills:check
Verify native skills cover current packages and driver capabilities
- Usage:
$ buddy docs:native-skills:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:screenshots
Capture and verify an explicit UI inventory with Bun WebView
- Usage:
$ buddy docs:screenshots - Namespace:
docs - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--config | Screenshot configuration path | value, required | "config/screenshots.ts" |
--out | Override the output directory | value, required | - |
--only | Comma-separated screen ids to capture | value, required | - |
--viewport | Comma-separated configured viewport names | value, required | - |
--list | Validate screen coverage without opening a browser | boolean, optional | false |
--check | Verify the complete saved inventory and image hashes | boolean, optional | false |
--publish | Rebuild the films and docs page from the saved captures, without a browser | boolean, optional | false |
--json | Print the inventory, model plan and capture report as JSON | boolean, optional | false |
Examples:
buddy docs:screenshots --list
buddy docs:screenshots --only welcome,calendar --viewport mobile
docs:snippets
Record the documented imports that do not compile, as the baseline
- Usage:
$ buddy docs:snippets - Namespace:
docs - Aliases: none
- Arguments: none
docs:snippets:check
Verify no NEW documented import fails to compile
- Usage:
$ buddy docs:snippets:check - Namespace:
docs - Aliases: none
- Arguments: none
docs:stories
Record browser and native user stories with video, scene screenshots and docs
- Usage:
$ buddy docs:stories - Namespace:
docs - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--config | Story configuration path | value, required | "config/stories.ts" |
--out | Generated documentation and media directory | value, required | - |
--only | Comma-separated story ids | value, required | - |
--list | Validate and list stories without starting drivers | boolean, optional | false |
--check | Verify complete recordings, configuration and artifact hashes | boolean, optional | false |
--json | Print the story report as JSON | boolean, optional | false |
Examples:
buddy docs:stories
buddy docs:stories --only checkout-ios,checkout-android
buddy docs:stories --check
docs:style-guide
Generate a branded application component style guide
- Usage:
$ buddy docs:style-guide - Namespace:
docs - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--config | Style guide configuration path | value, required | "config/style-guide.ts" |
docs:style-guide:check
Verify generated application style guide freshness
- Usage:
$ buddy docs:style-guide:check - Namespace:
docs - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--config | Style guide configuration path | value, required | "config/style-guide.ts" |
doctor
Run health checks on your Stacks installation
- Usage:
$ buddy doctor - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--no-fail | Print results but always exit 0 (CI ramp-up) | boolean, optional, negated | true |
domains:add
Add a domain to your cloud
- Usage:
$ buddy domains:add <domain> - Namespace:
domains - Aliases: none
- Arguments:
<domain>
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
domains:purchase
Purchase a domain
- Usage:
$ buddy domains:purchase <domain> - Namespace:
domains - Aliases: none
- Arguments:
<domain>
| Option | Description | Contract | Default |
|---|---|---|---|
--years | Number of years to purchase the domain for | value, required | - |
--privacy | Enable privacy protection; --no-privacy disables it (default: contactInfo.privacy, else on) | boolean, optional | - |
--auto-renew | Enable auto-renew; --no-auto-renew disables it (default: on) | boolean, optional | - |
--first-name | Registrant first name | value, required | - |
--last-name | Registrant last name | value, required | - |
--organization | Registrant organization name | value, required | - |
--address-line1 | Registrant address line 1 | value, required | - |
--address-line2 | Registrant address line 2 | value, required | - |
--city | Registrant city | value, required | - |
--state | Registrant state | value, required | - |
--country | Registrant country code | value, required | - |
--zip | Registrant zip | value, required | - |
--phone | Registrant phone | value, required | - |
--email | Registrant email | value, required | - |
--admin-first-name | Admin first name | value, required | - |
--admin-last-name | Admin last name | value, required | - |
--admin-organization | Admin organization | value, required | - |
--admin-address-line1 | Admin address line 1 | value, required | - |
--admin-address-line2 | Admin address line 2 | value, required | - |
--admin-city | Admin city | value, required | - |
--admin-state | Admin state | value, required | - |
--admin-country | Admin country code | value, required | - |
--admin-zip | Admin zip | value, required | - |
--admin-phone | Admin phone number | value, required | - |
--admin-email | Admin email | value, required | - |
--tech-first-name | Tech first name | value, required | - |
--tech-last-name | Tech last name | value, required | - |
--tech-organization | Tech organization name | value, required | - |
--tech-address-line1 | Tech address line 1 | value, required | - |
--tech-address-line2 | Tech address line 2 | value, required | - |
--tech-city | Tech city | value, required | - |
--tech-state | Tech state | value, required | - |
--tech-country | Tech country | value, required | - |
--tech-zip | Tech zip | value, required | - |
--tech-phone | Tech phone | value, required | - |
--tech-email | Tech email | value, required | - |
--contact-type | Contact type (default: contactInfo.contactType, else person) | value, required | - |
-y, --yes | Register (and pay for) the domain without asking first | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
domains:remove
Remove a domain from your cloud
- Usage:
$ buddy domains:remove <domain> - Namespace:
domains - Aliases: none
- Arguments:
<domain>
| Option | Description | Contract | Default |
|---|---|---|---|
-y, --yes | Skip the confirmation prompt | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
down
Put the application into maintenance mode
- Usage:
$ buddy down - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--message | The message to display | value, optional | false |
--retry | The number of seconds after which the request may be retried | value, optional | false |
--secret | The secret phrase to bypass maintenance mode | value, optional | false |
--allow | IP addresses allowed to access the application | value, optional | false |
--redirect | Redirect all requests to a given URL | value, optional | false |
--status | The HTTP status code to return | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy down
buddy down --message="Upgrading database"
buddy down --secret=my-secret-token
buddy down --retry=60
buddy down --allow=192.168.1.1 --allow=192.168.1.2
email
Email server management commands
- Usage:
$ buddy email - Namespace: none
- Aliases: none
- Arguments: none
email:inbox
View inbox emails from S3
- Usage:
$ buddy email:inbox [mailbox] - Namespace:
email - Aliases: none
- Arguments:
[mailbox]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --limit | Number of emails to show | value, required | "20" |
--raw | Show raw email content for a specific message ID | value, required | - |
--bucket | S3 bucket name override | value, required | - |
email:list
List configured mailboxes
- Usage:
$ buddy email:list - Namespace:
email - Aliases: none
- Arguments: none
email:logs
View email processing logs
- Usage:
$ buddy email:logs - Namespace:
email - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --lines | Number of log lines to show | value, required | "20" |
email:reprocess
Reprocess raw emails from S3 into mailbox structure
- Usage:
$ buddy email:reprocess - Namespace:
email - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--bucket | S3 bucket name override | value, required | - |
--prefix | S3 prefix to scan | value, required | "inbox/" |
--domain | Email domain | value, required | "stacksjs.com" |
email:status
Show email server status
- Usage:
$ buddy email:status - Namespace:
email - Aliases: none
- Arguments: none
email:test
Send a test email
- Usage:
$ buddy email:test [recipient] - Namespace:
email - Aliases: none
- Arguments:
[recipient]
email:verify
Check domain verification status
- Usage:
$ buddy email:verify - Namespace:
email - Aliases: none
- Arguments: none
env:check
Check environment configuration and validate setup
- Usage:
$ buddy env:check - Namespace:
env - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--strict | Require every value in a committed env file to be encrypted, not just secret-shaped ones | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy env:check
buddy env:check --file .env.production
buddy env:check --file .env.production --strict
env:decrypt
Decrypt a value
- Usage:
$ buddy env:decrypt [key] - Namespace:
env - Aliases: none
- Arguments:
[key]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--fk, --file-keys | The path to the file containing the keys | value, optional | "" |
-o, --stdout | Output the result to stdout | boolean, optional | false |
Examples:
buddy env:decrypt
buddy env:decrypt --file .env.production
buddy env:decrypt -k "SECRET_*"
env:encrypt
Encrypt a value
- Usage:
$ buddy env:encrypt [key] - Namespace:
env - Aliases: none
- Arguments:
[key]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--fk, --file-keys | The path to the file containing the keys | value, optional | "" |
-o, --stdout | Output the result to stdout | boolean, optional | false |
--ek, --exclude-key | The key to exclude from encryption | value, optional | "" |
Examples:
buddy env:encrypt
buddy env:encrypt --file .env.production
buddy env:encrypt -k "SECRET_*"
env:get
Get an environment variable
- Usage:
$ buddy env:get [key] - Namespace:
env - Aliases: none
- Arguments:
[key]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--format | The format to output the result (json, shell, eval) | value, optional | "json" |
-a, --all | Get all environment variables | boolean, optional | false |
-t, --pretty | Pretty print the result | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy env:get SECRET
buddy env:get SECRET --file .env.production
buddy env:get --all --pretty
buddy env:get --format shell
buddy env:get --format eval
buddy env:get --format json
env:keypair
Generate a keypair
- Usage:
$ buddy env:keypair [key] - Namespace:
env - Aliases: none
- Arguments:
[key]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--fk, --file-keys | The path to the file containing the keys | value, optional | "" |
--format | The format to output the result (json, shell, eval) | value, optional | "json" |
Examples:
buddy env:keypair
buddy env:keypair --file .env.production
buddy env:keypair DOTENV_PRIVATE_KEY
env:rotate
Rotate a keypair
- Usage:
$ buddy env:rotate [key] - Namespace:
env - Aliases: none
- Arguments:
[key]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--fk, --file-keys | The path to the file containing the keys | value, optional | "" |
-o, --stdout | Print the rotated file and its new keypair without writing either | boolean, optional | false |
--dry-run | Report what would change without writing anything | boolean, optional | false |
--ek, --exclude-key | The key to exclude from encryption | value, optional | "" |
Examples:
buddy env:rotate
buddy env:rotate --file .env.production
buddy env:rotate --file .env.production --dry-run
env:set
Set an environment variable
- Usage:
$ buddy env:set [key] [value] - Namespace:
env - Aliases: none
- Arguments:
[key],[value]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --file | The environment file to use | value, optional | "" |
--fk, --file-keys | The path to the file containing the keys | value, optional | "" |
--plain | Don't encrypt the value | boolean, optional | false |
--stdin | Read the exact value from piped standard input instead of an argument | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy env:set SECRET=value
buddy env:set SECRET value
buddy env:set SECRET value --file .env.production
buddy env:set SECRET value --plain
buddy env:set SECRET --stdin --file .env.production
extension:build
Build the browser extension (Chrome + Firefox + Safari) from config/extension.ts
- Usage:
$ buddy extension:build - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--target | Build a single target (chrome | firefox | safari | webkit); omit to build all. webkit emits content-blocker lists and WKUserScripts for WKWebView apps | value, required | - |
--version | Override the extension version (defaults to package.json) | value, required | - |
extension:chrome:publish
Build, upload, and submit the Chrome extension through Web Store API v2
- Usage:
$ buddy extension:chrome:publish - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--version | Override the extension version (defaults to package.json) | value, required | - |
--service-account-path | Google service-account JSON key path | value, required | - |
--access-token | Short-lived Chrome Web Store OAuth access token | value, required | - |
--upload-only | Upload without submitting the item for review | boolean, optional | - |
--allow-warnings | Submit even when Chrome reports validation warnings | boolean, optional | - |
extension:chrome:status
Fetch the Chrome Web Store item status
- Usage:
$ buddy extension:chrome:status - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--service-account-path | Google service-account JSON key path | value, required | - |
--access-token | Short-lived Chrome Web Store OAuth access token | value, required | - |
extension:firefox:previews
Sync the Firefox listing screenshots declared in config/extension.ts
- Usage:
$ buddy extension:firefox:previews - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--api-key | AMO JWT issuer | value, required | - |
--api-secret | AMO JWT secret | value, required | - |
--dry-run | Report what would change without touching the listing | boolean, optional | - |
extension:firefox:publish
Build and submit the Firefox extension through Mozilla Add-ons
- Usage:
$ buddy extension:firefox:publish - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--version | Override the extension version (defaults to package.json) | value, required | - |
--api-key | AMO JWT issuer | value, required | - |
--api-secret | AMO JWT secret | value, required | - |
--source-code | Human-readable source archive for AMO review | value, required | - |
--approval-timeout | How long to wait for human approval (default 0) | value, required | - |
extension:init
Scaffold a Chrome, Firefox, or Safari extension, including the Safari Xcode app
- Usage:
$ buddy extension:init - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--name | Extension display name | value, required | - |
--target | Scaffold chrome, firefox, safari, or all (default all) | value, required | - |
--bundle-id | Safari container bundle identifier | value, required | - |
--team-id | Apple Developer team used for Safari signing | value, required | - |
--platform | Safari platform: macos, ios, or all (default all) | value, required | - |
--force | Overwrite existing starter and Safari scaffold files | boolean, optional | - |
extension:package
Build + zip the browser extension into store-ready archives
- Usage:
$ buddy extension:package - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--target | Package a single target (chrome | firefox | safari); omit to package all | value, required | - |
--version | Override the extension version (defaults to package.json) | value, required | - |
extension:publish
Publish to every store this project is set up for - the release-tag entry point
- Usage:
$ buddy extension:publish - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--version | Override the extension version (defaults to package.json) | value, required | - |
--targets | Comma-separated subset of chrome,firefox,safari | value, required | - |
--dry-run | Report the publish plan without uploading anything | boolean, optional | - |
extension:safari:app
Build the extension and its macOS, iPhone, and iPad Safari container apps
- Usage:
$ buddy extension:safari:app - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--release | Build the Release configuration (default Debug) | boolean, optional | - |
--signed | Sign locally against the Apple ID in Xcode (local builds only - see below) | boolean, optional | - |
--skip-xcodebuild | Only build + sync the extension payload | boolean, optional | - |
--version | Override the extension version (defaults to package.json) | value, required | - |
--platform | Build macos, ios, or all (defaults to config safariPlatforms) | value, required | - |
extension:safari:init
Scaffold the Safari container app (Xcode project) from the template
- Usage:
$ buddy extension:safari:init - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--bundle-id | Base bundle identifier (defaults to config safariBundleId) | value, required | - |
--dir | Output directory for the Xcode project (default safari) | value, required | - |
--force | Overwrite existing scaffold files | boolean, optional | - |
--team-id | Apple Developer team used for signing | value, required | - |
extension:safari:provision
Register Safari Bundle IDs and check the App Store Connect app record
- Usage:
$ buddy extension:safari:provision - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--api-key-id | App Store Connect API key ID | value, required | - |
--api-issuer-id | App Store Connect API issuer ID | value, required | - |
--api-key-path | Path to the App Store Connect AuthKey_*.p8 file | value, required | - |
--check | Report missing resources without creating Bundle IDs | boolean, optional | - |
--version | Create or align App Store versions (defaults to package.json) | value, required | - |
--platform | Provision macos, ios, or all (defaults to config safariPlatforms) | value, required | - |
extension:safari:publish
Archive and validate or upload the Safari app to App Store Connect
- Usage:
$ buddy extension:safari:publish - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--version | Override the marketing version (defaults to package.json) | value, required | - |
--build-number | CFBundleVersion (defaults to GITHUB_RUN_NUMBER or Unix time) | value, required | - |
--team-id | Apple Developer team (defaults to config safariTeamId) | value, required | - |
--api-key-id | App Store Connect API key ID | value, required | - |
--api-issuer-id | App Store Connect API issuer ID | value, required | - |
--api-key-path | Path to the App Store Connect AuthKey_*.p8 file | value, required | - |
--validate-only | Create and validate the archive without uploading it | boolean, optional | - |
--platform | Publish macos, ios, or all (defaults to config safariPlatforms) | value, required | - |
--skip-screenshots | Do not regenerate the App Store screenshot set before publishing | boolean, optional | - |
extension:safari:submit
Synchronize metadata and submit an existing Safari version to App Review
- Usage:
$ buddy extension:safari:submit - Namespace:
extension - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--version | Marketing version to submit (defaults to package.json) | value, required | - |
--api-key-id | App Store Connect API key ID | value, required | - |
--api-issuer-id | App Store Connect API issuer ID | value, required | - |
--api-key-path | Path to the App Store Connect AuthKey_*.p8 file | value, required | - |
--platform | Submit macos, ios, or all (defaults to config safariPlatforms) | value, required | - |
--prepare-only | Synchronize the listing without submitting it for review | boolean, optional | - |
features
Show which framework feature bundles are active.
- Usage:
$ buddy features - Namespace: none
- Aliases: none
- Arguments: none
feedback:invite
Mint a revocable link an external reviewer files feedback through
- Usage:
$ buddy feedback:invite <label> - Namespace:
feedback - Aliases: none
- Arguments:
<label>
| Option | Description | Contract | Default |
|---|---|---|---|
--board | Board id or name to file into. Defaults to Feedback. | value, required | - |
--expires | Expire the link after this many days. Omitted, it lasts until revoked. | value, required | - |
--create-board | Create the board, with columns, if it does not exist | boolean, optional | false |
Examples:
buddy feedback:invite Pawel
buddy feedback:invite Pawel --expires 30 --create-board
buddy feedback:invite "Design review" --board 3
feedback:revoke
Stop a feedback link, by id or by the label it was minted with
- Usage:
$ buddy feedback:revoke <link> - Namespace:
feedback - Aliases: none
- Arguments:
<link>
Examples:
buddy feedback:revoke 3
buddy feedback:revoke Pawel
feedback:tokens
List the feedback links and whether they still work
- Usage:
$ buddy feedback:tokens - Namespace:
feedback - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--board | Only links filing into this board id or name | value, required | - |
Examples:
buddy feedback:tokens
buddy feedback:tokens --board Feedback
format
Format your project codebase
- Usage:
$ buddy format [...paths] - Namespace: none
- Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
-w, --write | Write changes to files | boolean, optional | false |
-c, --check | Check formatting without making changes | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy format
buddy format resources/components
format:check
Check formatting without making changes
- Usage:
$ buddy format:check [...paths] - Namespace:
format - Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy format:check
buddy format:check docs
forms:install
Activate the forms feature bundle. User-defined forms: builder models, conditional fields, public submit + CSV export.
- Usage:
$ buddy forms:install - Namespace:
forms - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every forms file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing forms files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what forms:install would change, and change nothing. | boolean, optional | false |
forms:uninstall
Deactivate the forms feature bundle.
- Usage:
$ buddy forms:uninstall - Namespace:
forms - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the forms scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the forms scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what forms:uninstall would change, and change nothing. | boolean, optional | false |
fresh
Re-installs your npm dependencies
- Usage:
$ buddy fresh - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-f, --force | Skip the confirmation prompt (required in CI/non-interactive shells) | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
gdpr:erase
Erase a data subject: delete or anonymize their rows per each model's declaration
- Usage:
$ buddy gdpr:erase <subject> - Namespace:
gdpr - Aliases: none
- Arguments:
<subject>
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Print exactly what would change, and change nothing | boolean, optional | false |
-y, --yes | Skip the confirmation prompt | boolean, optional | false |
Examples:
buddy gdpr:erase ada@example.com --dry-run
buddy gdpr:erase 42 --yes
gdpr:export
Export a data subject's personal data as JSON (user id, email or uuid)
- Usage:
$ buddy gdpr:export <subject> - Namespace:
gdpr - Aliases: none
- Arguments:
<subject>
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Write the export to this file instead of stdout | value, required | - |
Examples:
buddy gdpr:export ada@example.com --out ada.json
gdpr:prune
Apply every model's retention policy (the daily PruneRetainedDataJob does the same)
- Usage:
$ buddy gdpr:prune - Namespace:
gdpr - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Print what would be pruned, and change nothing | boolean, optional | false |
gdpr:register
Generate the processing register from the model declarations
- Usage:
$ buddy gdpr:register - Namespace:
gdpr - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--format | markdown or json | value, required | "markdown" |
--out | Where to write it. Defaults to database/processing-register.md (or .json) | value, required | - |
--stdout | Print it instead of writing a file | boolean, optional | false |
gdpr:register:check
Verify the committed processing register matches the model declarations
- Usage:
$ buddy gdpr:register:check - Namespace:
gdpr - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--format | markdown or json | value, required | "markdown" |
--out | The register to check. Defaults to database/processing-register.md (or .json) | value, required | - |
generate
Automagically build any of your libraries/packages for production use. Select any of the following packages
- Usage:
$ buddy generate - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-t, --types | Generate your TypeScript types | boolean, optional | - |
-e, --entries | Generate your function & Component Library Entry Points | boolean, optional | - |
-w, --web-types | Generate web-types.json for IDEs | boolean, optional | - |
-d, --custom-data | Generate VS Code custom data (custom-elements.json) for IDEs | boolean, optional | - |
-i, --ide-helpers | Generate IDE helpers | boolean, optional | - |
-c, --component-meta | Generate component meta information | boolean, optional | - |
-r, --pantry | Generate the pantry configuration file | boolean, optional | - |
-o, --openapi | Generate the OpenAPI specification | boolean, optional | - |
--images | Generate every image declared in config/images.ts | boolean, optional | - |
-p, --project | Target a specific project | value, optional | false |
--core-symlink | Generate symlink of the core framework to the project root | boolean, optional | - |
--verbose | Enable verbose output | boolean, optional | false |
generate:app-icons
Generate the app icon and favicon sets
- Usage:
$ buddy generate:app-icons - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:app-store
Generate the App Store screenshot set
- Usage:
$ buddy generate:app-store - Namespace:
generate - Aliases:
generate:screenshots - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:auto-imports
Regenerate the auto-import barrels and name registries in storage/framework/auto-imports
- Usage:
$ buddy generate:auto-imports - Namespace:
generate - Aliases: none
- Arguments: none
generate:component-meta
Generate component meta information
- Usage:
$ buddy generate:component-meta - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:core-symlink
Symlink .framework -> storage/framework. A shortcut for core developers.
- Usage:
$ buddy generate:core-symlink - Namespace:
generate - Aliases: none
- Arguments: none
generate:db-types
Refresh database/types.d.ts for db.selectFrom autocomplete (stacksjs/stacks#1923)
- Usage:
$ buddy generate:db-types - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Print the would-be file content without writing | boolean, optional | false |
--framework | Write the framework's own FrameworkSchema instead of the app's DatabaseSchema | boolean, optional | false |
--dialect | Raw column dialect: sqlite, mysql, or postgres | value, required | - |
generate:entries
Generate your function & Component Library Entry Points
- Usage:
$ buddy generate:entries - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
generate:erd-diagram
Derive an entity-relationship diagram from your models (writes docs/erd.md)
- Usage:
$ buddy generate:erd-diagram - Namespace:
generate - Aliases:
generate:erd - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Print the diagram without writing it | boolean, optional | false |
--out | Where to write the diagram; a .md target gets a fenced mermaid block | value, optional | "docs/erd.md" |
--no-columns | Relationships only, without the column lists | boolean, optional, negated | true |
--only | Comma-separated tables or model names to include | value, optional | "" |
generate:ide-helpers
Generate IDE helpers
- Usage:
$ buddy generate:ide-helpers - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:images
Generate every image declared in config/images.ts
- Usage:
$ buddy generate:images - Namespace:
generate - Aliases:
images:generate - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--social | Only build the social cards | boolean, optional | - |
--app-store | Only build the App Store screenshots | boolean, optional | - |
--app-icons | Only build the app icons and favicons | boolean, optional | - |
--verbose | Enable verbose output | boolean, optional | false |
generate:migrations
Generate Migrations
- Usage:
$ buddy generate:migrations - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dialect | Generate into this dialect's corpus instead of the connected one (sqlite, mysql, singlestore, vitess, postgres), or all for the connected dialect and every other one that keeps a corpus. No database of that dialect is needed | value, required | - |
generate:og
Generate the social cards used by link previews
- Usage:
$ buddy generate:og - Namespace:
generate - Aliases:
generate:social - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:openapi-spec
Generate the OpenAPI specification
- Usage:
$ buddy generate:openapi-spec - Namespace:
generate - Aliases:
generate:openapi - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:pantry-config
Generate the pantry configuration file
- Usage:
$ buddy generate:pantry-config - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:project
Refresh the generated files enabled in config/buddy.json
- Usage:
$ buddy generate:project - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--tasks | Comma-separated generators to run: imports,migrations,types | value, required | "imports,migrations,types" |
generate:review
Review Buddy’s generated changes and approve a local commit
- Usage:
$ buddy generate:review - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
generate:types
Generate your TypeScript types
- Usage:
$ buddy generate:types - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-w, --watch | Re-run on changes to models/ and config/ | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
generate:vschema
Derive a Vitess VSchema from your models (writes database/vschema.json)
- Usage:
$ buddy generate:vschema - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Print the VSchema without writing it | boolean, optional | false |
--out | Where to write the VSchema | value, optional | "database/vschema.json" |
generate:vscode-custom-data
Generate VS Code custom data (custom-elements.json) for IDEs
- Usage:
$ buddy generate:vscode-custom-data - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
generate:web-types
Generate web-types.json for IDEs
- Usage:
$ buddy generate:web-types - Namespace:
generate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
hq:connect
Connect this app to HQ services (BugHQ and LogHQ by default) and write their keys to .env
- Usage:
$ buddy hq:connect [...services] - Namespace:
hq - Aliases: none
- Arguments:
[services...]
| Option | Description | Contract | Default |
|---|---|---|---|
--no-open | Print the approve link without opening the browser | boolean, optional, negated | true |
--no-verify | Skip service read checks and test log/error delivery | boolean, optional, negated | true |
--timeout | How long to wait for each approval | value, required | 600 |
--messenger | Explicitly mount the identified HQ.support messenger in the app layout | boolean, optional | false |
--layout | App-local stx layout to mount the opt-in messenger in | value, required | - |
Examples:
buddy hq:connect
buddy hq:connect loghq
buddy hq:connect bughq loghq --no-open
hq:status
Show usage against the allowance of each connected HQ service
- Usage:
$ buddy hq:status [...services] - Namespace:
hq - Aliases: none
- Arguments:
[services...]
Examples:
buddy hq:status
hq:sync
Send this app's routes to StatusHQ, which checks each one
- Usage:
$ buddy hq:sync - Namespace:
hq - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Show what would be checked and what is left out, and send nothing | boolean, optional | false |
Examples:
buddy hq:sync
buddy hq:sync --dry-run
http
Send an HTTP request to a domain
- Usage:
$ buddy http [domain] - Namespace: none
- Aliases: none
- Arguments:
[domain]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-v, --verbose | Enable verbose output | boolean, optional | false |
inspire
Inspire yourself with a random quote
- Usage:
$ buddy inspire - Namespace: none
- Aliases:
insp - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--two, -t | Inspire yourself with two random quotes | boolean, optional | false |
inspire:two
Inspire yourself with two random quotes
- Usage:
$ buddy inspire:two - Namespace:
inspire - Aliases: none
- Arguments: none
install
Install your dependencies
- Usage:
$ buddy install - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-v, --verbose | Enable verbose output | boolean, optional | false |
integrations:probe
Check whether the third-party endpoints this framework calls still exist (sends no credentials)
- Usage:
$ buddy integrations:probe - Namespace:
integrations - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--timeout | How long to wait for each endpoint | value, required | "12000" |
--json | Print the results as JSON instead of a report | boolean, optional | false |
key:generate
Generate & set the application key.
- Usage:
$ buddy key:generate - Namespace:
key - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
launch
Bring the application out of coming soon mode
- Usage:
$ buddy launch - Namespace: none
- Aliases:
coming-soon:off - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy launch
libs
List the packages this project releases out of resources/functions and resources/components
- Usage:
$ buddy libs - Namespace: none
- Aliases:
libs:list,libraries - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--json | Print the resolved packages as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy libs
libs:build
Build every configured library package
- Usage:
$ buddy libs:build - Namespace:
libs - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
libs:publish
Publish the built library packages through pantry
- Usage:
$ buddy libs:publish - Namespace:
libs - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Report what would be published without uploading anything | boolean, optional | false |
--tag | Publish under an explicit distribution tag such as alpha or next | value, required | - |
--publisher | Choose pantry, bun or npm explicitly; otherwise discover the installed publisher | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy libs:publish --dry-run
buddy libs:publish --tag alpha --dry-run
buddy libs:publish --publisher bun --tag alpha --dry-run
license:keygen
Generate the Ed25519 keypair that signs software license tokens
- Usage:
$ buddy license:keygen - Namespace:
license - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--key-id | The id apps look the public key up by (defaults to license- | value, required | - |
--json | Print the keypair as JSON | boolean, optional | false |
Examples:
buddy license:keygen
buddy license:keygen --key-id license-2026
link:core
Point this app's @stacksjs/* at a local framework checkout
- Usage:
$ buddy link:core [...packages] - Namespace:
link - Aliases: none
- Arguments:
[packages...]
| Option | Description | Contract | Default |
|---|---|---|---|
--path | Framework checkout to link against | value, required | - |
--cwd | Application directory to link (defaults to the working directory) | value, required | - |
--all | Link every core package the app has installed | boolean, optional | false |
Examples:
buddy link:core auth router
buddy link:core --all --path ../stacks
lint
Automagically lints your project codebase
- Usage:
$ buddy lint [...paths] - Namespace: none
- Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --fix | Automagically fixes all lint errors | boolean, optional | false |
--stx | Run the stx conformance checks instead of code style | boolean, optional | false |
--max-warnings | Fail when warnings exceed this count | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy lint
buddy lint app/Jobs database/seeders
lint:fix
Automagically fixes all lint errors
- Usage:
$ buddy lint:fix [...paths] - Namespace:
lint - Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
--max-warnings | Fail when warnings exceed this count | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy lint:fix
buddy lint:fix app/Jobs/Foo.ts
list
List all available Buddy commands
- Usage:
$ buddy list - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-f, --filter | Filter commands by name or group | value, optional | - |
-n, --namespace | Filter commands by namespace (e.g., make, env, db) | value, optional | - |
-g, --grouped | Group commands by category | boolean, optional | true |
--format | Output format (text, json) | value, optional | "text" |
-J, --json | Output the complete command inventory as JSON | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy list
buddy list --filter=make
buddy list --namespace=make
buddy list --namespace=env
buddy list --no-grouped
buddy list --format=json
buddy list --json
mail:credentials
Show SMTP credentials for email access
- Usage:
$ buddy mail:credentials [email] - Namespace:
mail - Aliases: none
- Arguments:
[email]
mail:dev
Run the local mail catcher: accepts every message, delivers none, shows them in the webmail UI
- Usage:
$ buddy mail:dev - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--port | SMTP port (default: 1025) | value, required | - |
--ui-port | Webmail UI port (default: 8025) | value, required | - |
--no-open | Do not open the webmail UI in a browser | boolean, optional, negated | true |
Examples:
buddy mail:dev
buddy mail:dev --port 2525 --ui-port 8080
mail:forward:compile
Compile and validate the live RFC 5228 forwarding script
- Usage:
$ buddy mail:forward:compile - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:logs
Show mail server logs from production
- Usage:
$ buddy mail:logs - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --lines | Number of log lines to show | value, required | "50" |
-f, --follow | Follow log output (poll every 5s) | boolean, optional | - |
--filter | Filter logs by pattern (e.g. AUTH, LOGIN, error) | value, required | - |
mail:port25:request
Request port 25 unblock for direct SMTP delivery
- Usage:
$ buddy mail:port25:request - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--provider | Cloud provider: aws or hetzner | value, required | "aws" |
--instance-id | AWS EC2 instance ID (auto-detected if not provided) | value, required | - |
--server-id | Hetzner server ID (auto-detected if not provided) | value, required | - |
--elastic-ip | AWS Elastic IP address | value, required | - |
--rdns | Reverse DNS hostname (e.g. mail.stacksjs.com) | value, required | - |
--use-case | Description of email use case | value, required | - |
mail:port25:status
Check outbound port 25 status on the mail server
- Usage:
$ buddy mail:port25:status - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--provider | Cloud provider: aws or hetzner | value, required | "aws" |
mail:preview
Open the dev-only Mailable preview UI in your browser
- Usage:
$ buddy mail:preview - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--no-open | Print the URL but skip the browser-open step | boolean, optional, negated | true |
--port | Override the API port (default: from config.ports.api / PORT_API) | value, required | - |
Examples:
buddy mail:preview
buddy mail:preview --no-open
buddy mail:preview --port 4000
mail:provision
Provision this app's mail from config/email.ts onto the shared mail server (domain + DKIM + mailboxes + MX/SPF/DKIM/DMARC DNS). Reusable + idempotent; the same reconcile buddy deploy runs.
- Usage:
$ buddy mail:provision - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--ip | Mail server IP (defaults to the A record of config.email.domain) | value, required | - |
--dry-run | Report the mailbox, DKIM, certificate and DNS actions, and make no server, ACME or DNS calls | boolean, optional | false |
mail:proxy
Start local IMAP proxy for Mail.app
- Usage:
$ buddy mail:proxy - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--port | IMAP proxy port | value, required | "1993" |
--api | Mail API URL | value, required | - |
mail:server
Start SMTP relay server
- Usage:
$ buddy mail:server - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--port | SMTP port | value, required | "587" |
mail:status
Show mail server status
- Usage:
$ buddy mail:status - Namespace:
mail - Aliases: none
- Arguments: none
mail:storage:backup
Create and verify an encrypted local mail backup
- Usage:
$ buddy mail:storage:backup - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:escrow
Copy the machine-bound LUKS key to AWS Secrets Manager
- Usage:
$ buddy mail:storage:escrow - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
--force | Replace a different existing secret | boolean, optional | false |
mail:storage:externalize
Move the LUKS key off-host and require external unlocks
- Usage:
$ buddy mail:storage:externalize - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
--force | Replace a different existing secret | boolean, optional | false |
mail:storage:header:backup
Stream a LUKS header backup to S3 with KMS encryption
- Usage:
$ buddy mail:storage:header:backup - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
--bucket | Recovery bucket (defaults to | value, required | - |
mail:storage:key:recovery:add
Add an independent LUKS recovery key to macOS Keychain
- Usage:
$ buddy mail:storage:key:recovery:add - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:key:recovery:verify
Verify the Keychain recovery key against the live LUKS header
- Usage:
$ buddy mail:storage:key:recovery:verify - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:key:slot:remove
Remove an unusable non-primary LUKS keyslot
- Usage:
$ buddy mail:storage:key:slot:remove - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
--slot | LUKS keyslot number to remove | value, required | - |
mail:storage:key:verify
Verify the external key against the LUKS2 header
- Usage:
$ buddy mail:storage:key:verify - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:kms:ensure
Create and apply the customer-managed production mail KMS key
- Usage:
$ buddy mail:storage:kms:ensure - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:lock
Stop mail and lock external mail storage
- Usage:
$ buddy mail:storage:lock - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:machine-bind
Enable unattended reboot recovery with a machine-bound encrypted LUKS credential
- Usage:
$ buddy mail:storage:machine-bind - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:maildir:migrate
Migrate live mailboxes to canonical Maildir++ layout
- Usage:
$ buddy mail:storage:maildir:migrate - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:restic:configure
Configure client-encrypted Restic backups to S3
- Usage:
$ buddy mail:storage:restic:configure - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
--force | Rotate an existing dedicated IAM access key | boolean, optional | false |
mail:storage:restore:check
Restore and validate the newest off-host mail snapshot
- Usage:
$ buddy mail:storage:restore:check - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:status
Show encrypted mail storage and external-key status
- Usage:
$ buddy mail:storage:status - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:unlock
Unlock external mail storage and start mail
- Usage:
$ buddy mail:storage:unlock - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
mail:storage:volume:migrate
Create a dedicated Hetzner volume and migrate encrypted mail storage
- Usage:
$ buddy mail:storage:volume:migrate - Namespace:
mail - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--host | Mail server hostname or IP | value, required | - |
--secret | AWS Secrets Manager secret ID | value, required | - |
--region | AWS region | value, required | "us-east-1" |
--profile | AWS credential profile | value, required | "default" |
--size | Hetzner volume size in GiB | value, required | "20" |
mail:test
Test mail API connection
- Usage:
$ buddy mail:test - Namespace:
mail - Aliases: none
- Arguments: none
mail:user:add
Add a mail user
- Usage:
$ buddy mail:user:add <email> - Namespace:
mail - Aliases: none
- Arguments:
<email>
| Option | Description | Contract | Default |
|---|---|---|---|
--password | Deprecated: use --password-stdin to avoid exposing secrets in process arguments | value, required | - |
--password-stdin | Read the mailbox password from standard input without printing it | boolean, optional | - |
mail:user:delete
Delete a mail user
- Usage:
$ buddy mail:user:delete <email> - Namespace:
mail - Aliases: none
- Arguments:
<email>
mail:user:list
List mail users
- Usage:
$ buddy mail:user:list - Namespace:
mail - Aliases: none
- Arguments: none
make
The make command
- Usage:
$ buddy make [make] - Namespace: none
- Aliases: none
- Arguments:
[make]
| Option | Description | Contract | Default |
|---|---|---|---|
-a, --action | Create a new action | value, optional | false |
-c, --component | Create a new component | value, optional | false |
-d, --database | Create a new database | value, optional | false |
-f, --factory | Create a new factory | value, optional | false |
--fn, --function | Create a new function | value, optional | false |
-l, --language | Create a new language | value, optional | false |
-m, --model | Create a new model | value, optional | false |
--mw, --middleware | Create a new middleware | value, optional | false |
-p, --page | Create a new page | value, optional | false |
--mg, --migration | Create a new migration | value, optional | false |
-n, --notification | Create a new notification | value, optional | false |
--qt, --queue-table | Make queue migration | boolean, optional | false |
-s, --stack | Create a new stack | value, optional | false |
--dry-run | Preview the files that would be generated without writing | boolean, optional | false |
--with-validation | Include a validation rules block in the generated stub | boolean, optional | false |
--with-auth | Include auth-aware boilerplate in the generated stub | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:action
Create a new action
- Usage:
$ buddy make:action [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--dry-run | Preview the file without writing | boolean, optional | false |
--with-validation | Generate a stub that calls validate() | boolean, optional | false |
--with-auth | Generate a stub that requires an authenticated user | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:auth
Copy the sign-in pages and actions into your app so you can change them
- Usage:
$ buddy make:auth - Namespace:
make - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--api | Copy the actions only, for an app with its own front end | boolean, optional | false |
-f, --force | Overwrite the copies your app already has | boolean, optional | false |
--dry-run | List the files it would copy, and copy nothing | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy make:auth
buddy make:auth --api // actions only, no pages
make:certificate
Create a new SSL Certificate
- Usage:
$ buddy make:certificate - Namespace:
make - Aliases:
make:cert - Arguments: none
Examples:
buddy make:certificate
make:command
Create a new CLI command
- Usage:
$ buddy make:command [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-s, --signature | The command signature (CLI name) | value, optional | false |
-d, --description | The command description | value, optional | false |
--register | Also add an entry to app/Commands.ts (optional - commands are auto-discovered) | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy make:command SendEmails
buddy make:command SendEmails --signature=send-emails
make:component
Create a new component
- Usage:
$ buddy make:component [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:database
Create a new database
- Usage:
$ buddy make:database [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:factory
Create a new factory
- Usage:
$ buddy make:factory [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:function
Create a new function
- Usage:
$ buddy make:function [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:job
Create a new job
- Usage:
$ buddy make:job [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-q, --queue | The queue to dispatch to | value, optional | "default" |
-c, --class | Create a class-based job | boolean, optional | false |
-t, --tries | Number of retry attempts | value, optional | 3 |
-b, --backoff | Backoff delay in seconds | value, optional | 3 |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:lang
Create a new language
- Usage:
$ buddy make:lang [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:mail
Create a new Mailable + companion stx template
- Usage:
$ buddy make:mail [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-f, --force | Overwrite existing files | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy make:mail OrderShipped
buddy make:mail welcome-back // PascalCases to WelcomeBack, kebab-cases to welcome-back
buddy make:mail Welcome --force // overwrite existing files
make:middleware
Create a new middleware
- Usage:
$ buddy make:middleware [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:migration
Create a new migration
- Usage:
$ buddy make:migration [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:model
Create a new model
- Usage:
$ buddy make:model [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:notification
Create a new notification
- Usage:
$ buddy make:notification [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-e, --email | Is it an email notification? | boolean, optional | true |
-c, --chat | Is it a chat notification? | boolean, optional | false |
-s, --sms | Is it a SMS notification? | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:page
Create a new page
- Usage:
$ buddy make:page [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:policy
Create a new authorization policy
- Usage:
$ buddy make:policy [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-m, --model | The model this policy is for | value, optional | false |
--no-register | Do not register in Gates.ts | boolean, optional, negated | true |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy make:policy PostPolicy
buddy make:policy CommentPolicy --model=Comment
make:queue-table
Create the queue jobs table migration
- Usage:
$ buddy make:queue-table - Namespace:
make - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
make:resource
Create a new API resource
- Usage:
$ buddy make:resource [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-m, --model | The model this resource is for | value, optional | false |
-c, --collection | Create a collection resource | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy make:resource UserResource
buddy make:resource PostResource --model=Post
buddy make:resource PostCollection --collection
make:stack
Create a new stack
- Usage:
$ buddy make:stack [name] - Namespace:
make - Aliases: none
- Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
make:view
Create a new page
- Usage:
$ buddy make:view [name] - Namespace:
make - Aliases:
make:page [name] - Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the action | value, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
marketing:install
Activate the marketing feature bundle. /api/email/subscribe, /api/contact, Campaign/EmailList/SocialPost.
- Usage:
$ buddy marketing:install - Namespace:
marketing - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every marketing file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing marketing files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what marketing:install would change, and change nothing. | boolean, optional | false |
marketing:uninstall
Deactivate the marketing feature bundle.
- Usage:
$ buddy marketing:uninstall - Namespace:
marketing - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the marketing scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the marketing scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what marketing:uninstall would change, and change nothing. | boolean, optional | false |
migrate
Migrates your database
- Usage:
$ buddy migrate - Namespace: none
- Aliases:
db:migrate - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-d, --diff | Show the SQL that would be run | boolean, optional | false |
--pretend | Same as --diff (and --dry-run): preview, change nothing | boolean, optional | false |
--dry-run | Same as --diff: preview, change nothing | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
-a, --auth | Also migrate auth tables (oauth_clients, oauth_access_tokens, oauth_refresh_tokens, password_resets) | boolean, optional | true |
--no-auth | Skip auth/oauth table migrations | boolean, optional, negated | true |
-f, --force | Apply destructive changes (drop column/table, lossy type change) without confirmation. Without it they are held back and everything else is applied | boolean, optional | false |
--create-database | Create the database if it does not exist, without asking | boolean, optional | false |
--from-db | Diff against the live database schema instead of the snapshot (self-heal drift) | boolean, optional | false |
--no-rename | Treat renamed columns as drop + add instead of a data-preserving rename | boolean, optional, negated | true |
--generate | Generate migrations from your models before applying them. The default in an interactive terminal; a non-interactive run (CI, a deploy) applies committed files only unless this is passed. --no-generate never generates | boolean, optional | - |
--strict | Fail when the schema has drifted from the models, a migration is git-ignored or hand-written, or two migrations share a number (for CI) | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
migrate:align
Repair a live database that drifted from the models, without writing migrations (PostgreSQL)
- Usage:
$ buddy migrate:align - Namespace:
migrate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--apply | Run the safe repairs, in one transaction | boolean, optional | false |
--widen-integers | Also widen integer columns the models declare as bigint (rewrites those tables) | boolean, optional | false |
--relax-constraints | Also remove obsolete NOT NULL constraints, polymorphic foreign keys, and conflicting keys with an enforced model reference | boolean, optional | false |
-f, --force | With --apply, skip the confirmation | boolean, optional | false |
--json | Emit the plan as JSON | boolean, optional | false |
migrate:fresh
Drop all tables and re-run every migration (destroys all data)
- Usage:
$ buddy migrate:fresh - Namespace:
migrate - Aliases:
db:fresh - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-d, --diff | Show what would be dropped and replayed, and change nothing | boolean, optional | false |
--pretend | Same as --diff (and --dry-run): preview, change nothing | boolean, optional | false |
--dry-run | Same as --diff: preview, change nothing | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
-s, --seed | Run database seeders after migration | boolean, optional | false |
-a, --auth | Also migrate auth tables (oauth_clients, oauth_access_tokens, oauth_refresh_tokens, password_resets) | boolean, optional | true |
--no-auth | Skip auth/oauth table migrations | boolean, optional, negated | true |
--create-database | Create the database if it does not exist, without asking | boolean, optional | false |
-f, --force | Skip the drop-database confirmation (only honored when the migrateFresh guard is "allow") | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
migrate:project
Port an existing project (Laravel, Rails) into a Stacks project.
- Usage:
$ buddy migrate:project [target] - Namespace:
migrate - Aliases: none
- Arguments:
[target]
| Option | Description | Contract | Default |
|---|---|---|---|
--from | Source framework - one of: laravel, rails | value, required | "laravel" |
--source | Path to the existing source project. Defaults to the current working directory. | value, required | false |
--dry-run | Show what would be translated without writing files. | boolean, optional | false |
--verbose | Print the per-entry table after the summary. | boolean, optional | false |
migrate:regenerate
Rebuild database/migrations from your models for a given dialect
- Usage:
$ buddy migrate:regenerate [dialect] - Namespace:
migrate - Aliases: none
- Arguments:
[dialect]
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Show what would change without writing anything | boolean, optional | false |
-f, --force | Regenerate even though the database already has migrations recorded | boolean, optional | false |
--replace-unmarked | Also delete migrations carrying no @generated marker (pre-marker corpora only) | boolean, optional | false |
--only-existing-tables | Rebuild exactly the tables already in the corpus, for changing dialect without adopting the framework schema | boolean, optional | false |
migrate:status
Compare database/migrations, the migrations ledger, and the live schema
- Usage:
$ buddy migrate:status - Namespace:
migrate - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--reconcile | Repair the ledger where the schema proves what happened | boolean, optional | false |
--include-partial | With --reconcile, also record half-applied migrations | boolean, optional | false |
--requeue-reverted | With --reconcile, un-record the migrations of a table that is missing so the next migrate rebuilds it | boolean, optional | false |
--json | Emit the audit as JSON | boolean, optional | false |
--strict | Also fail when a migration was written by hand rather than generated from the models | boolean, optional | false |
migrate:switch
Pre-flight check + plan for switching DB_CONNECTION between sqlite / mysql / vitess / postgres
- Usage:
$ buddy migrate:switch <driver> - Namespace:
migrate - Aliases: none
- Arguments:
<driver>
monitoring:install
Activate the monitoring feature bundle. Error model + error-tracking views and actions.
- Usage:
$ buddy monitoring:install - Namespace:
monitoring - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every monitoring file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing monitoring files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what monitoring:install would change, and change nothing. | boolean, optional | false |
monitoring:uninstall
Deactivate the monitoring feature bundle.
- Usage:
$ buddy monitoring:uninstall - Namespace:
monitoring - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the monitoring scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the monitoring scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what monitoring:uninstall would change, and change nothing. | boolean, optional | false |
new
Create a new Stacks project
- Usage:
$ buddy new [name] - Namespace: none
- Aliases:
create - Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | The name of the project | value, optional | false |
-m, --minimal | Skip optional feature bundles (cms, commerce, dashboard, marketing, monitoring, realtime, queue) - bare-bones API/SPA starter that can re-add them later via ./buddy <feature>:install. | boolean, optional | false |
--native | Create a minimal offline Craft desktop app | boolean, optional | false |
--desktop | Also make it a native Mac app: stx screens drawn by AppKit, with the API running inside the app (config/desktop.ts, macos.agent) | boolean, optional | false |
--adopt | Integrate an existing native app without replacing its source (requires --native) | boolean, optional | false |
--with-core | Keep the framework vendored in storage/framework/core as a Bun workspace, for working ON Stacks. Apps that only work WITH Stacks want the default, which resolves every @stacksjs/* package from npm. | boolean, optional | false |
--vendor-defaults | Commit a copy of the framework defaults in storage/framework/defaults instead of linking it to node_modules/@stacksjs/defaults. Implied by --with-core. | boolean, optional | false |
--no-provision | Install JavaScript dependencies without provisioning system packages | boolean, optional, negated | true |
--ref | Scaffold from an explicit Stacks tag, branch or commit | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
outdated
List all the outdated project dependencies
- Usage:
$ buddy outdated - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
package:discover
Discover Stacks-compatible packages from pantry
- Usage:
$ buddy package:discover - Namespace:
package - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
phone
Phone/voice service management commands
- Usage:
$ buddy phone - Namespace: none
- Aliases: none
- Arguments: none
phone:numbers
List phone numbers
- Usage:
$ buddy phone:numbers - Namespace:
phone - Aliases: none
- Arguments: none
phone:search
Search available phone numbers
- Usage:
$ buddy phone:search [country] - Namespace:
phone - Aliases: none
- Arguments:
[country]
| Option | Description | Contract | Default |
|---|---|---|---|
-t, --type | Phone number type (TOLL_FREE, DID) | value, required | "TOLL_FREE" |
phone:setup
Initialize phone infrastructure
- Usage:
$ buddy phone:setup - Namespace:
phone - Aliases: none
- Arguments: none
phone:status
Show phone service status
- Usage:
$ buddy phone:status - Namespace:
phone - Aliases: none
- Arguments: none
ports
List the ports this project's servers use
- Usage:
$ buddy ports - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | - |
-q, --quiet | Use minimal output | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
-c, --check | Check which of this project's ports are free and which are in use | boolean, optional | false |
ports:check
Check which of this project's ports are free and which are in use
- Usage:
$ buddy ports:check - Namespace:
ports - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | - |
-q, --quiet | Use minimal output | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
ports:list
List the ports this project's servers use
- Usage:
$ buddy ports:list - Namespace:
ports - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | - |
-q, --quiet | Use minimal output | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
prepublish
Run your prepublish script
- Usage:
$ buddy prepublish - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
preview
Serve a static build locally, the way a static host would
- Usage:
$ buddy preview [dir] - Namespace: none
- Aliases: none
- Arguments:
[dir]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --port | Port to listen on | value, required | "3001" |
Examples:
buddy preview
buddy preview dist --port 4000
projects
List the Stacks projects on this machine
- Usage:
$ buddy projects - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-q, --quiet | Print only the paths, one per line | boolean, optional | false |
--json | Print the list as JSON | boolean, optional | false |
projects:add
Add a Stacks project to this machine's list
- Usage:
$ buddy projects:add [path] - Namespace:
projects - Aliases: none
- Arguments:
[path]
projects:list
List the Stacks projects on this machine
- Usage:
$ buddy projects:list - Namespace:
projects - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-q, --quiet | Print only the paths, one per line | boolean, optional | false |
--json | Print the list as JSON | boolean, optional | false |
projects:prune
Drop listed projects whose directory is gone
- Usage:
$ buddy projects:prune - Namespace:
projects - Aliases: none
- Arguments: none
projects:remove
Take a project off this machine's list (the project itself is not touched)
- Usage:
$ buddy projects:remove <name> - Namespace:
projects - Aliases:
projects:forget - Arguments:
<name>
projects:scan
Find Stacks projects under a directory and add them to the list
- Usage:
$ buddy projects:scan [dir] - Namespace:
projects - Aliases: none
- Arguments:
[dir]
| Option | Description | Contract | Default |
|---|---|---|---|
--depth | How many levels below the directory to look | value, required | 6 |
publish
Publish a Stacks default into your userland (app/) directory so you can customize it
- Usage:
$ buddy publish [resource] [name] - Namespace: none
- Aliases: none
- Arguments:
[resource],[name]
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
publish:action
Publish a default action from storage/framework/defaults/app/Actions/ to app/Actions/
- Usage:
$ buddy publish:action <name> - Namespace:
publish - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
publish:component
Publish a default component to the same path under resources/components/, by name or by its path there
- Usage:
$ buddy publish:component <name> - Namespace:
publish - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy publish:component Pagination
buddy publish:component Storefront/ProductCard
publish:controller
Publish a default controller from storage/framework/defaults/app/Controllers/ to app/Controllers/
- Usage:
$ buddy publish:controller <name> - Namespace:
publish - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
publish:core
Publish a framework package source from node_modules/@stacksjs/
- Usage:
$ buddy publish:core [pkg] - Namespace:
publish - Aliases: none
- Arguments:
[pkg]
| Option | Description | Contract | Default |
|---|---|---|---|
--all | Vendor the whole framework: copy storage/framework/core out of a local Stacks checkout and wire it up as a Bun workspace | boolean, optional | false |
--path | The Stacks checkout to vendor from (defaults to $STACKS_FRAMEWORK_PATH, ../stacks, then ~/Code/stacks) | value, required | - |
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy publish:core router
buddy publish:core --all
buddy publish:core --all --path ../stacks
publish:defaults
Commit a copy of the framework defaults in storage/framework/defaults instead of linking it to node_modules/@stacksjs/defaults
- Usage:
$ buddy publish:defaults - Namespace:
publish - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy publish:defaults
publish:middleware
Publish a default middleware from storage/framework/defaults/app/Middleware/ to app/Middleware/
- Usage:
$ buddy publish:middleware <name> - Namespace:
publish - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
publish:model
Publish a default model from storage/framework/defaults/app/Models/ to app/Models/
- Usage:
$ buddy publish:model <name> - Namespace:
publish - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
publish:view
Publish a default view to resources/views/
- Usage:
$ buddy publish:view <path> - Namespace:
publish - Aliases: none
- Arguments:
<path>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Overwrite an existing userland file | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy publish:view login
buddy publish:view dashboard/commerce/orders
queue:clear
Clear all jobs from the queue
- Usage:
$ buddy queue:clear - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--force | Force the operation without confirmation | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:dlq
List dead-letter jobs (jobs that re-failed after retry)
- Usage:
$ buddy queue:dlq - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--reason | Filter by reason (repeat-failure | poison-detected | circuit-broken | manual) | value, optional | false |
--since | Only show rows dead-lettered since (e.g. 1h, 30m, 2d) | value, optional | false |
--limit | Maximum rows to display (default 100) | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:dlq:purge
Delete dead-letter rows older than a retention window
- Usage:
$ buddy queue:dlq:purge - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--older-than-days | Retention window in days (default 30) | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:dlq:retry
Re-enqueue a dead-letter job back into its queue
- Usage:
$ buddy queue:dlq:retry - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--id | Dead-letter row id to retry | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:failed
List all failed jobs
- Usage:
$ buddy queue:failed - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--since | Only show jobs failed since (e.g. 1h, 30m, 2d) | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:flush
Delete all failed jobs
- Usage:
$ buddy queue:flush - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--force | Force the operation without confirmation | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:inspect
Inspect a specific job
- Usage:
$ buddy queue:inspect [id] - Namespace:
queue - Aliases: none
- Arguments:
[id]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--failed | Inspect a failed job | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:install
Activate the queue feature bundle. Job + FailedJob models + queue dashboard pages.
- Usage:
$ buddy queue:install - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every queue file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing queue files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what queue:install would change, and change nothing. | boolean, optional | false |
queue:list
List queued jobs (flat row view, filterable by queue/status)
- Usage:
$ buddy queue:list - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--status | Filter by pending | reserved | delayed | value, optional | false |
--limit | Maximum rows to display (default 50) | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:monitor
Monitor queue status in real-time
- Usage:
$ buddy queue:monitor - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
-i, --interval | Refresh interval in milliseconds | value, optional | "2000" |
--verbose | Enable verbose output | boolean, optional | false |
queue:pause
Manually pause a queue (circuit-breaker)
- Usage:
$ buddy queue:pause - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--queue | Queue name to pause | value, optional | false |
--for | Pause duration in seconds (default 300) | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:quarantine
List quarantined jobs (or --add a manual quarantine)
- Usage:
$ buddy queue:quarantine - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--add | Manually quarantine a job class | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:resume
Resume a paused queue (circuit-breaker)
- Usage:
$ buddy queue:resume - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--queue | Queue name to resume | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:retry
Retry failed jobs
- Usage:
$ buddy queue:retry [id] - Namespace:
queue - Aliases: none
- Arguments:
[id]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--all | Apply to all items | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:schedule
Start the job scheduler for cron-based jobs
- Usage:
$ buddy queue:schedule - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:schedule:list
List all scheduled jobs
- Usage:
$ buddy queue:schedule:list - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:status
Display the status of queue workers
- Usage:
$ buddy queue:status - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:table
Create a migration for the jobs database table
- Usage:
$ buddy queue:table - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:uninstall
Deactivate the queue feature bundle.
- Usage:
$ buddy queue:uninstall - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the queue scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the queue scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what queue:uninstall would change, and change nothing. | boolean, optional | false |
queue:unquarantine
Lift the quarantine on a job class
- Usage:
$ buddy queue:unquarantine - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--name | Job class name to unquarantine | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
queue:work
Start processing jobs on the queue
- Usage:
$ buddy queue:work - Namespace:
queue - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-q, --queue | Specify queue name | value, optional | false |
-c, --connection | Queue connection to use | value, optional | false |
--concurrency | Number of concurrent workers | value, optional | "1" |
--verbose | Enable verbose output | boolean, optional | false |
realtime:install
Activate the realtime feature bundle. WebSocket broadcaster + Websocket model + realtime-stats actions.
- Usage:
$ buddy realtime:install - Namespace:
realtime - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--publish-all | Also copy every realtime file into the project so you can edit it in place. Not needed to run the feature - see publish:action/publish:model to take ownership of one file at a time. | boolean, optional | - |
--force | With --publish-all, overwrite existing realtime files (default skips existing paths so the copy is idempotent). | boolean, optional | - |
--dry-run | Say what realtime:install would change, and change nothing. | boolean, optional | false |
realtime:uninstall
Deactivate the realtime feature bundle.
- Usage:
$ buddy realtime:uninstall - Namespace:
realtime - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--keep-files | Don't delete the realtime scaffolding (action/model/view files). Flip the flag only. | boolean, optional | - |
--force | Delete the realtime scaffolding even where you have edited it. Without this, changed files are kept. | boolean, optional | - |
--dry-run | Say what realtime:uninstall would change, and change nothing. | boolean, optional | false |
release
Release a new version of your libraries/packages
- Usage:
$ buddy release - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Run the release without actually releasing | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--bump | Non-interactive bump: patch | minor | major | prepatch | preminor | premajor | prerelease | pre | release | build | calendar | x.y.z | value, required | - |
--preid | Prerelease version identifier, for example beta or rc (registry channel is library.release.distTag) | value, required | - |
--skip-github-release | Push the tag without creating its GitHub release | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
release:accept
Accept exact successful source CI and download its original library candidate
- Usage:
$ buddy release:accept - Namespace:
release - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--directory | Retained native library candidate directory | value, required | - |
--tag | Actual release tag (defaults to GITHUB_REF_NAME) | value, required | - |
--run-id | Exact source CI run for a historical readback or retry | value, required | - |
--historical | Read-only acquisition using current source policy, independent of current public package definitions | boolean, optional | false |
release:desktop
Build, sign and notarize the desktop app (web view, or AppKit macos), and publish it with signed update manifests
- Usage:
$ buddy release:desktop - Namespace:
release - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--target | Web view app: comma-separated targets (darwin-arm64, linux-x64, win32-x64, ...) or all. Default: this machine | value, required | - |
--native | Release the AppKit app (macos) when the config also declares a web view app | boolean, optional | false |
--identity | macOS: Developer ID Application certificate (or DESKTOP_SIGNING_IDENTITY). A web view bundle built with another identity is signed again with it | value, required | - |
--notary-profile | macOS: notarytool keychain profile (or DESKTOP_NOTARY_PROFILE) | value, required | - |
--notarize | macOS: notarize with an App Store Connect API key instead of a keychain profile (or DESKTOP_NOTARIZE). An AppKit release uses the key whenever no profile is given | boolean, optional | false |
--api-key-id | macOS: App Store Connect API key ID (or APP_STORE_CONNECT_API_KEY_ID) | value, required | - |
--api-issuer-id | macOS: App Store Connect API issuer ID (or APP_STORE_CONNECT_API_ISSUER_ID) | value, required | - |
--api-key-path | macOS: the AuthKey_*.p8 file (or APP_STORE_CONNECT_API_KEY_PATH, or its PEM in APP_STORE_CONNECT_API_KEY) | value, required | - |
--channel | Release channel (default: the app's updates.channel, else stable) | value, required | - |
--notes | Release notes, shown by the app before it updates | value, required | - |
--skip-build | Release what was already built: buddy build:desktop targets (including --imported ones), or the Developer ID AppKit app of an earlier run | boolean, optional | false |
--package-only | AppKit app: stop at the Developer ID app and a signed DMG, and record them in .pantry/native/artifact.json. Nothing is notarized or published: the build step of Pantry's native app pipeline | boolean, optional | false |
--dry-run | Do everything except notarize and upload; write the signed manifests locally | boolean, optional | false |
--allow-dirty | Release from a working tree with uncommitted changes | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy release:desktop --identity "Developer ID Application: Example (ABCDE12345)" --notary-profile example
buddy release:desktop --api-key-id ABC123DEFG --api-issuer-id 00000000-0000-0000-0000-000000000000 --api-key-path ./AuthKey_ABC123DEFG.p8
buddy release:desktop --target linux-x64 --skip-build
buddy release:desktop --package-only
release:github
Create the GitHub release for a pushed tag (default: the newest), with the changes since the tag before it
- Usage:
$ buddy release:github [tag] - Namespace:
release - Aliases: none
- Arguments:
[tag]
| Option | Description | Contract | Default |
|---|---|---|---|
--assets | Attach comma-separated immutable native JSON receipts to the release | value, required | - |
--dry-run | Print the release instead of creating it | boolean, optional | false |
release:ios
Ship the iOS app: regenerate its project for production, commit, tag and push
- Usage:
$ buddy release:ios - Namespace:
release - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--bump | build | patch | minor | major | x.y.z (default: a new build of the current marketing version) | value, required | - |
--keep-builds | Older TestFlight builds to retain after the replacement is available to testers (needs an App Store Connect API key) | value, required | 1 |
--skip-github-release | Push the tag without creating its GitHub release | boolean, optional | false |
--notes | What to Test for this build, instead of the notes generated from the commits since the previous build | value, required | - |
--notes-file | Read What to Test from a file (also RELEASE_NOTES / RELEASE_NOTES_FILE, or release.notes in config/mobile.ts) | value, required | - |
--wait | Wait for processing, notes and configured internal TestFlight group delivery (default 60 minutes; needs an App Store Connect API key) | value, optional | - |
--dry-run | Run the release without actually releasing | boolean, optional | false |
release:notes
Print the tester notes of a mobile release tag (default: the newest v*-build.* tag), or set them as its TestFlight What to Test
- Usage:
$ buddy release:notes [tag] - Namespace:
release - Aliases: none
- Arguments:
[tag]
| Option | Description | Contract | Default |
|---|---|---|---|
--from | Generate from the commits since this ref instead of the previous build tag | value, required | - |
--play | Fit the notes to Google Play's 500-character What's new | boolean, optional | false |
--markdown | Markdown, as the GitHub release shows the notes | boolean, optional | false |
--testflight | Set the notes as the TestFlight build's What to Test through App Store Connect | boolean, optional | false |
--wait | With --testflight: wait this long for the build to appear (default 60) | value, optional | - |
--notes | Use this text instead | value, required | - |
--notes-file | Read the text from a file instead | value, required | - |
release:prepare
Build, check and retain the exact source library candidate for normal CI
- Usage:
$ buddy release:prepare - Namespace:
release - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--directory | Retained native library candidate directory | value, required | - |
--dry-run | Validate the real library plan without writing files | boolean, optional | false |
release:publish
Publish only accepted original archives and verify actual registry bytes and tags
- Usage:
$ buddy release:publish - Namespace:
release - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--directory | Retained native library candidate directory | value, required | - |
--dry-run | Validate retained publisher input without uploading | boolean, optional | false |
release:readback
Verify retained historical library bytes using only the current verifier
- Usage:
$ buddy release:readback - Namespace:
release - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--directory | Retained native library candidate directory | value, required | - |
--output | Save the read-only registry verification receipt | value, required | - |
release:testflight
Complete internal tester delivery for an existing iOS release tag
- Usage:
$ buddy release:testflight [tag] - Namespace:
release - Aliases: none
- Arguments:
[tag]
| Option | Description | Contract | Default |
|---|---|---|---|
--wait | Wait for processing and tester availability (default 60 minutes) | value, optional | - |
--keep-builds | Older builds to retain after tester delivery succeeds | value, required | 1 |
--dry-run | Run the release without actually releasing | boolean, optional | false |
release:verify
Verify exact source gates, published archives and installed consumer checks
- Usage:
$ buddy release:verify <plan> - Namespace:
release - Aliases: none
- Arguments:
<plan>
| Option | Description | Contract | Default |
|---|---|---|---|
--output | Save the successful verification receipt as JSON | value, required | - |
route:list
Lists your routes
- Usage:
$ buddy route:list - Namespace:
route - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
scaffold:crud
Generate model, migration, and CRUD actions
- Usage:
$ buddy scaffold:crud [name] - Namespace:
scaffold - Aliases:
make:crud,make:scaffold - Arguments:
[name]
| Option | Description | Contract | Default |
|---|---|---|---|
-n, --name | Resource name (PascalCase) | value, optional | false |
-f, --fields | Comma-separated field list, e.g. title:string,body:text,published:boolean | value, optional | "" |
--dry-run | Preview the generated files without writing | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy scaffold:crud Post --fields=title:string,body:text,published:boolean
schedule:disable
Pause a scheduled task without editing source
- Usage:
$ buddy schedule:disable <name> - Namespace:
schedule - Aliases: none
- Arguments:
<name>
schedule:enable
Resume a paused scheduled task
- Usage:
$ buddy schedule:enable <name> - Namespace:
schedule - Aliases: none
- Arguments:
<name>
schedule:list
List all registered scheduled tasks with their next run time
- Usage:
$ buddy schedule:list - Namespace:
schedule - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--json | Print a machine-readable schedule registry | boolean, optional | false |
schedule:run
Run the scheduler
- Usage:
$ buddy schedule:run - Namespace:
schedule - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
schedule:run-one
Run one registered scheduled task immediately
- Usage:
$ buddy schedule:run-one <name> - Namespace:
schedule - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--in-process | Run a background task in this process instead of spawning it (how the scheduler starts one) | boolean, optional | - |
schedule:status
Show currently-held overlap locks (this-process only)
- Usage:
$ buddy schedule:status - Namespace:
schedule - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--json | Print machine-readable scheduler status | boolean, optional | false |
screenshot
Photograph a page at one or more viewport sizes, with Bun's own browser view
- Usage:
$ buddy screenshot <url> - Namespace: none
- Aliases: none
- Arguments:
<url>
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where the PNG goes. With several viewports, each name is added before the extension. | value, required | "screenshot.png" |
--viewport | mobile, tablet, desktop or WIDTHxHEIGHT, comma-separated | value, required | "desktop" |
--wait | How long to let the page settle after it loads | value, required | 1500 |
--wait-for | Wait until this CSS selector matches before photographing | value, required | "" |
--timeout | How long --wait-for may take | value, required | 15000 |
--scroll | Scroll down this far before photographing | value, required | 0 |
--eval | Run this in the page before photographing, and print what it returns | value, required | "" |
--profile | Keep cookies and storage here between runs, so a signed-in page can be photographed | value, required | "" |
--backend | webkit or chrome. Defaults to webkit on a Mac and chrome elsewhere. | value, required | "" |
Examples:
buddy screenshot localhost:3000 --viewport mobile,desktop --out storage/screenshots/home.png
buddy screenshot https://example.com/pricing --wait-for main --wait 500
search-engine:settings
List index settings
- Usage:
$ buddy search-engine:settings - Namespace:
search-engine - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-m, --model | Target a specific model | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
search-engine:update
Indexes database data to search engine
- Usage:
$ buddy search-engine:update - Namespace:
search-engine - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-m, --model | Target a specific model | value, required | - |
-f, --flush | Flushes all data from search engine | value, optional | false |
-s, --settings | Update index settings | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
search:flush
Delete all documents from a model index (Scout-style alias)
- Usage:
$ buddy search:flush [model] - Namespace:
search - Aliases: none
- Arguments:
[model]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
search:reindex
Re-index a model (Scout-style alias for search-engine:update)
- Usage:
$ buddy search:reindex [model] - Namespace:
search - Aliases: none
- Arguments:
[model]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
security:scan
Scan the project for security vulnerabilities: vulnerable dependencies, committed secrets, dangerous code, risky GitHub workflows and repository hygiene
- Usage:
$ buddy security:scan - Namespace:
security - Aliases:
audit - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--only | Run only these checks, comma-separated: dependencies, secrets, code, workflows, hygiene | value, required | - |
--skip | Skip these checks, comma-separated | value, required | - |
--json | Print the report as JSON | boolean, optional | false |
--fail-on | Exit non-zero for findings at or above this severity: critical, high, medium, low or none | value, required | "high" |
--offline | Do not use the network (skips the dependency advisory check) | boolean, optional | false |
--show-ignored | List the findings that .security-ignore.json or a security-ignore comment set aside | boolean, optional | false |
--path | Scan this directory instead of the project | value, required | - |
Examples:
buddy security:scan
buddy security:scan --only dependencies,secrets
buddy security:scan --fail-on medium --json
seed
Seed your database
- Usage:
$ buddy seed - Namespace: none
- Aliases:
db:seed - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--only | Comma-separated list of models to seed | value, optional | "" |
--except | Comma-separated list of models to skip | value, optional | "" |
--only-seeders | Comma-separated list of application seeder classes to run | value, optional | "" |
--tag | Comma-separated list of seeder tags to run (e.g. deploy) | value, optional | "" |
--except-seeders | Comma-separated list of application seeder classes to skip | value, optional | "" |
--skip-models | Skip model-factory seeding | boolean, optional | false |
--skip-application-seeders | Skip application seeders | boolean, optional | false |
--include-defaults | Also seed the framework's built-in models | boolean, optional | false |
--allow-protected | Seed auth/oauth models even on a non-fresh DB (will invalidate live tokens) | boolean, optional | false |
--attach-accounts | Point seeded rows at existing User/Team/Customer rows, not only ones this run seeded (scratch databases only) | boolean, optional | false |
--fresh | Truncate tables before seeding | boolean, optional | false |
--append | Add rows to tables that already have some, instead of skipping them | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
seed:admins
Make every address in config.auth.admins an administrator
- Usage:
$ buddy seed:admins - Namespace:
seed - Aliases:
admins:seed - Arguments: none
seed:roles
Seed default RBAC role packs (admin, dev, client)
- Usage:
$ buddy seed:roles - Namespace:
seed - Aliases:
roles:seed - Arguments: none
serve
Start the production HTTP server (STX views + /api proxy + coming-soon/maintenance gate)
- Usage:
$ buddy serve - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --port | Port to listen on (defaults to PORT env or 3000) | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
serve:api
Start the production API server (bun-router routes the frontend proxies /api to)
- Usage:
$ buddy serve:api - Namespace:
serve - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --port | Port to listen on (defaults to PORT env or 3008) | value, required | - |
server:doctor
Check that a host can run this application before deploying to it
- Usage:
$ buddy server:doctor [host] - Namespace:
server - Aliases: none
- Arguments:
[host]
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment whose configuration to check against | value, required | "production" |
--discover | Browse the local network for hosts advertising SSH | boolean, optional | false |
--json | Print the findings as JSON | boolean, optional | false |
server:first-boot
Write the first-boot configuration onto a freshly flashed card
- Usage:
$ buddy server:first-boot - Namespace:
server - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--hostname | The name the board answers to on the network | value, required | "pi-stacks" |
--user | The login to create, which the deploy then uses | value, required | "pi" |
--ssh-key | Public key to authorise | value, required | - |
--os | Which image to write: raspberry-pi-os-lite, raspberry-pi-os, ubuntu-24.04, ubuntu-26.04 | value, required | "raspberry-pi-os-lite" |
--out | Write the files here instead of the mounted boot partition | value, required | - |
--wifi-ssid | Join this wireless network on first boot | value, required | - |
--wifi-country | Two-letter regulatory domain, required with wifi | value, required | - |
--timezone | IANA timezone for the board | value, required | - |
--env | Environment whose configuration to bootstrap | value, required | "production" |
--force | Overwrite first-boot files already on the card | boolean, optional | false |
server:flash
Write a Linux OS image to an SD card or USB disk
- Usage:
$ buddy server:flash - Namespace:
server - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--os | Which image to write: raspberry-pi-os-lite, raspberry-pi-os, ubuntu-24.04, ubuntu-26.04 | value, required | "raspberry-pi-os-lite" |
--device | The whole disk to write to, for example /dev/disk4 | value, required | - |
--list | List the disks that could be written to, and exit | boolean, optional | false |
--dry-run | Say what would happen without writing anything | boolean, optional | false |
-y, --yes | Do not ask for confirmation before writing | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
server:setup
Adopt a host: check it, then install what the deploy needs
- Usage:
$ buddy server:setup [host] - Namespace:
server - Aliases: none
- Arguments:
[host]
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment whose configuration to bootstrap | value, required | "production" |
--discover | Browse the local network for hosts advertising SSH | boolean, optional | false |
--dry-run | Run the checks and stop before changing the host | boolean, optional | false |
server:trust
Trust the host's own certificate authority on this machine
- Usage:
$ buddy server:trust [host] - Namespace:
server - Aliases: none
- Arguments:
[host]
| Option | Description | Contract | Default |
|---|---|---|---|
--env | Environment whose configuration names the host | value, required | "production" |
--discover | Browse the local network for hosts advertising SSH | boolean, optional | false |
--ca-path | Where the authority lives on the host | value, required | "/etc/rpx/local-ca/rpx-root-ca.crt" |
--mobileconfig | Also write an Apple configuration profile for an iPhone or iPad | value, required | - |
--export-only | Save the certificate without changing this machine, and say how to trust it by hand | boolean, optional | false |
--json | Print the result as JSON | boolean, optional | false |
setup
This command ensures your project is setup correctly
- Usage:
$ buddy setup - Namespace: none
- Aliases:
ensure - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--skip-aws | Skip AWS configuration during setup | boolean, optional | false |
--skip-keygen | Skip generating an application key during setup | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
setup:ai
Set the project up for an AI coding agent (Claude Code, Codex, Cursor, Copilot, Gemini)
- Usage:
$ buddy setup:ai [provider] - Namespace:
setup - Aliases:
ai:setup - Arguments:
[provider]
| Option | Description | Contract | Default |
|---|---|---|---|
--copy | Copy the agent files instead of symlinking them, so they can be edited per project | boolean, optional | false |
--force | Overwrite files that already exist | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
setup:ios
Install the iOS build tools (iosDependencies in config/deps.ts) through Pantry and check for Xcode
- Usage:
$ buddy setup:ios - Namespace:
setup - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
setup:oh-my-zsh
Enable Oh My Zsh
- Usage:
$ buddy setup:oh-my-zsh - Namespace:
setup - Aliases:
upgrade:oh-my-zsh - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
setup:ssl
Setup SSL certificates and hosts file for HTTPS development
- Usage:
$ buddy setup:ssl - Namespace:
setup - Aliases:
ssl:setup - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-d, --domain | Custom domain to setup (defaults to APP_URL) | value, optional | - |
--skip-hosts | Skip adding domain to hosts file | boolean, optional | false |
--skip-trust | Skip trusting the certificate | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
share
Share your local development server via a public tunnel
- Usage:
$ buddy share [type] - Namespace: none
- Aliases: none
- Arguments:
[type]
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --port | Local port to share | value, required | - |
--server | Tunnel server URL | value, required | "api.localtunnel.dev" |
--subdomain | Request a specific subdomain | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
simulator:doctor
Whether an iOS simulator can run here, and what to do when it cannot
- Usage:
$ buddy simulator:doctor - Namespace:
simulator - Aliases: none
- Arguments: none
simulator:open
Open a URL in Mobile Safari on a simulator, booting one if needed
- Usage:
$ buddy simulator:open <url> - Namespace:
simulator - Aliases: none
- Arguments:
<url>
| Option | Description | Contract | Default |
|---|---|---|---|
--device | Which device, by name. Defaults to the newest iPhone. | value, required | "" |
--screenshot | Save a picture of the result here | value, required | "" |
--settle | How long to let the page load before the screenshot | value, required | 8 |
--fresh | Quit Mobile Safari first, so this is not the last page again | boolean, optional | false |
sms
SMS service management commands
- Usage:
$ buddy sms - Namespace: none
- Aliases: none
- Arguments: none
sms:add-phone
Add a phone to sandbox for testing
- Usage:
$ buddy sms:add-phone <phone> - Namespace:
sms - Aliases: none
- Arguments:
<phone>
sms:sandbox-list
List sandbox verified phone numbers
- Usage:
$ buddy sms:sandbox-list - Namespace:
sms - Aliases: none
- Arguments: none
sms:send
Send a test SMS
- Usage:
$ buddy sms:send <phone> [message] - Namespace:
sms - Aliases: none
- Arguments:
<phone>,[message]
| Option | Description | Contract | Default |
|---|---|---|---|
--template | Use a message template | value, required | - |
sms:setup
Initialize SMS infrastructure
- Usage:
$ buddy sms:setup - Namespace:
sms - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Show what would be done without making changes | boolean, optional | - |
sms:status
Show SMS service status
- Usage:
$ buddy sms:status - Namespace:
sms - Aliases: none
- Arguments: none
sms:verify
Verify a sandbox phone number
- Usage:
$ buddy sms:verify <id> <code> - Namespace:
sms - Aliases: none
- Arguments:
<id>,<code>
socials:authorize
Run a platform consent flow and print the tokens for .env
- Usage:
$ buddy socials:authorize [identity] - Namespace:
socials - Aliases: none
- Arguments:
[identity]
| Option | Description | Contract | Default |
|---|---|---|---|
--platform | Which platform to authorize. Only twitter needs a consent flow today. | value, required | "twitter" |
--port | Loopback port the redirect comes back on. Must match the registered redirect URI. | value, required | "7731" |
--timeout | How long to wait at the browser | value, required | "300" |
Examples:
buddy socials:authorize home-lang
buddy socials:authorize stacks --platform twitter --port 7731
socials:identities
List the social identities and whether each platform is ready to post
- Usage:
$ buddy socials:identities - Namespace:
socials - Aliases: none
- Arguments: none
Examples:
buddy socials:identities
stack:install
Install a stack into your project
- Usage:
$ buddy stack:install <name> - Namespace:
stack - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Force overwrite existing files | boolean, optional | false |
--dry-run | Show what would be installed without making changes | boolean, optional | false |
--conflict | Conflict resolution strategy: skip, overwrite, or backup | value, required | "skip" |
-p, --project | Target a specific Stacks project | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy add calendar
buddy add table --force
buddy add calendar --conflict backup --verbose
buddy add table --dry-run
stack:list
List available and installed stacks
- Usage:
$ buddy stack:list - Namespace:
stack - Aliases:
stack:ls - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific Stacks project | value, required | - |
Examples:
buddy stack:list
stack:uninstall
Uninstall a stack from your project
- Usage:
$ buddy stack:uninstall <name> - Namespace:
stack - Aliases: none
- Arguments:
<name>
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Force overwrite existing files | boolean, optional | false |
-p, --project | Target a specific Stacks project | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy stack:uninstall blog
buddy stack:uninstall blog --force
status
Check whether the application is in maintenance or coming-soon mode
- Usage:
$ buddy status - Namespace: none
- Aliases:
maintenance:status - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
storage:backup
Archive a storage disk to a file
- Usage:
$ buddy storage:backup [disk] - Namespace:
storage - Aliases: none
- Arguments:
[disk]
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where to write the archive (default: storage/backups/storage) | value, optional | - |
--retain | How many archives to keep, per disk | value, optional | "7" |
--destination | Copy the archive offsite: s3://bucket/prefix or disk://name/prefix | value, optional | - |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy storage:backup
buddy storage:backup public --retain 30
buddy storage:backup --destination disk://backups/uploads
storage:backups
List the storage archives that have been taken
- Usage:
$ buddy storage:backups - Namespace:
storage - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where the archives are (default: storage/backups/storage) | value, optional | - |
storage:restore
Restore a storage disk from an archive
- Usage:
$ buddy storage:restore <archive> [disk] - Namespace:
storage - Aliases: none
- Arguments:
<archive>,[disk]
| Option | Description | Contract | Default |
|---|---|---|---|
--out | Where the archives are (default: storage/backups/storage) | value, optional | - |
--force | Restore even though it overwrites files that are there now | boolean, optional | false |
Examples:
buddy storage:restore 2026-09-10T08-15-00-000.local.zip
stripe:setup
Sets up stripe products in the dashboard
- Usage:
$ buddy stripe:setup - Namespace:
stripe - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
--dry-run | Report the products that would be created or updated, and write nothing to Stripe | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
support:doctor
Check HQ.support configuration and read access without creating a conversation
- Usage:
$ buddy support:doctor - Namespace:
support - Aliases: none
- Arguments: none
support:import
Preview or resume a private Intercom migration using the connected support project
- Usage:
$ buddy support:import <provider> [file] - Namespace:
support - Aliases: none
- Arguments:
<provider>,[file]
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Run the server compatibility rehearsal without importing data | boolean, optional | false |
--resume | Resume a saved migration run | value, required | - |
--status | Read counts and status without reading customer transcripts | value, required | - |
Examples:
buddy support:import intercom export.json --dry-run
buddy support:import intercom export.json
buddy support:import intercom --resume 1
support:install
Connect HQ.support and write its server keys to .env
- Usage:
$ buddy support:install - Namespace:
support - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--no-open | Print the approve link without opening the browser | boolean, optional, negated | true |
--no-verify | Skip service read checks and test log/error delivery | boolean, optional, negated | true |
--timeout | How long to wait for each approval | value, required | 600 |
--messenger | Explicitly mount the identified HQ.support messenger in the app layout | boolean, optional | false |
--layout | App-local stx layout to mount the opt-in messenger in | value, required | - |
Examples:
buddy support:install
buddy support:install --no-open
support:sync-docs
Synchronize explicitly selected Markdown documents as private draft support knowledge
- Usage:
$ buddy support:sync-docs [...files] - Namespace:
support - Aliases: none
- Arguments:
[files...]
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Show selected sources without sending content | boolean, optional | false |
--public | Explicitly make selected articles customer-visible | boolean, optional | false |
--publish | Publish selected articles instead of keeping drafts | boolean, optional | false |
--locale | Knowledge locale | value, required | "en" |
Examples:
buddy support:sync-docs docs/getting-started.md --dry-run
buddy support:sync-docs docs/getting-started.md --public --publish
support:verify
Publish a Stacks deployment challenge and confirm the permanent HQ.support free tier
- Usage:
$ buddy support:verify <origin> - Namespace:
support - Aliases: none
- Arguments:
<origin>
| Option | Description | Contract | Default |
|---|---|---|---|
--confirm | Confirm the public challenge after deployment | boolean, optional | false |
Examples:
buddy support:verify https://my-app.example
buddy support:verify https://my-app.example --confirm
telemetry
Manage telemetry settings
- Usage:
$ buddy telemetry - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--enable | Enable telemetry | boolean, optional | - |
--disable | Disable telemetry | boolean, optional | - |
--status | Show telemetry status | boolean, optional | - |
Examples:
buddy telemetry --status
buddy telemetry --enable
buddy telemetry --disable
test
Runs your test suite
- Usage:
$ buddy test [...paths] - Namespace: none
- Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
-f, --feature | Runs your feature tests | boolean, optional | false |
-u, --unit | Runs your unit tests | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | true |
Examples:
buddy test
buddy test tests/unit/auth.test.ts
buddy test storage/framework/core/scheduler/tests
test:feature
Runs your feature tests
- Usage:
$ buddy test:feature [...paths] - Namespace:
test - Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy test:feature
buddy test:feature tests/feature/login.test.ts
test:page-audit
Loads pages in headless Chrome and reports duplicate API requests, failed requests and console errors
- Usage:
$ buddy test:page-audit - Namespace:
test - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--url | Page URLs to audit, comma-separated (paths resolve against --base) | value, required | - |
--base | Origin that paths in --url resolve against | value, optional | "http://localhost:3000" |
--quiet-ms | How long the network must stay quiet before a page counts as loaded | value, optional | 1000 |
--timeout | Give up waiting for a page to settle after this long | value, optional | 15000 |
--mobile | Audit at a 390px phone viewport instead of 1440px | boolean, optional | false |
--json | Print the reports as JSON | boolean, optional | false |
--lighthouse | Also measure Performance, Accessibility, Best Practices and SEO with Lighthouse | boolean, optional | false |
--sitemap | Audit every page in a local sitemap on --base | value, required | - |
--device | Lighthouse profile: mobile, desktop or both | value, required | "both" |
--basic-auth | Authenticate on --base using STACKS_AUDIT_USERNAME and STACKS_AUDIT_PASSWORD | boolean, optional | false |
--min-score | Required Lighthouse score in every category, from 0 to 100 | value, required | 100 |
--output | Directory for Lighthouse JSON, HTML and summary reports | value, required | "storage/framework/testing/lighthouse" |
Examples:
buddy test:page-audit --url /,/dashboard --base http://localhost:3000
buddy test:page-audit --url http://localhost:3000/pricing --json
buddy test:page-audit --lighthouse --sitemap public/sitemap.xml --base http://localhost:3000 --min-score 100
test:types
Typechecks your codebase
- Usage:
$ buddy test:types - Namespace:
test - Aliases:
typecheck - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
test:ui
Runs your test suite
- Usage:
$ buddy test:ui - Namespace:
test - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
test:unit
Runs your unit tests
- Usage:
$ buddy test:unit [...paths] - Namespace:
test - Aliases: none
- Arguments:
[paths...]
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy test:unit
buddy test:unit tests/unit/auth.test.ts
tinker
Interactive REPL with Stacks framework preloaded
- Usage:
$ buddy tinker - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-e, --eval | Evaluate a single expression and exit | value, optional | "" |
--print | Evaluate, print, and exit | value, optional | "" |
--no-banner | Skip the welcome banner | boolean, optional, negated | true |
--preload | Additional modules to preload (comma-separated) | value, optional | "" |
--project | Run in this project directory instead of the current one | value, optional | "" |
--serve | Speak the frame protocol on stdio (JSON requests in, frames out) for tools that drive a session | boolean, optional | false |
--bare | Do not boot the app: a plain Bun session | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
tray
Open the Buddy menu-bar app for your Stacks projects
- Usage:
$ buddy tray - Namespace: none
- Aliases: none
- Arguments: none
types:fix
Fix the generated types of & for your library/libraries (not yet implemented)
- Usage:
$ buddy types:fix - Namespace:
types - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
types:generate
Generate the types of & for your library/libraries
- Usage:
$ buddy types:generate - Namespace:
types - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-p, --project | Target a specific project | value, optional | false |
-w, --watch | Re-run on changes to models/ and config/ | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
unlink:core
Go back to the installed @stacksjs/* packages (all of them, unless you name some)
- Usage:
$ buddy unlink:core [...packages] - Namespace:
unlink - Aliases: none
- Arguments:
[packages...]
| Option | Description | Contract | Default |
|---|---|---|---|
--cwd | Application directory to unlink (defaults to the working directory) | value, required | - |
Examples:
buddy unlink:core
unpublish:core
Drop a vendored storage/framework/core/
- Usage:
$ buddy unpublish:core [pkg] - Namespace:
unpublish - Aliases: none
- Arguments:
[pkg]
| Option | Description | Contract | Default |
|---|---|---|---|
--all | Unvendor the whole framework: remove storage/framework/core and resolve every @stacksjs package from the stacks dependency in package.json | boolean, optional | false |
--force | Delete the vendored source even when it has uncommitted changes | boolean, optional | false |
--installer | Install the published packages with bun or pantry instead of detecting which one the project uses | value, required | - |
--verbose | Enable verbose output | boolean, optional | false |
unpublish:defaults
Drop the vendored storage/framework/defaults and run the installed @stacksjs/defaults through a gitignored link
- Usage:
$ buddy unpublish:defaults - Namespace:
unpublish - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Drop the vendored tree even where it differs from the installed package | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy unpublish:defaults
up
Bring the application out of maintenance mode
- Usage:
$ buddy up - Namespace: none
- Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy up
upgrade
Upgrade the Stacks framework to the latest version
- Usage:
$ buddy upgrade - Namespace: none
- Aliases:
update - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
-V, --version | Install a specific version (e.g., 0.70.23) | value, required | - |
--canary | Upgrade to the latest canary (bleeding-edge main) build | boolean, optional | false |
--stable | Switch to the latest vetted stable release | boolean, optional | false |
--dry-run | Preview the selected upgrades without writing, installing, or compiling | boolean, optional | false |
--allow-downgrade | Accept a release that moves a dependency this app declares to an older version (refused by default) | boolean, optional | false |
-f, --force | Force re-download, bypassing cache and version checks | boolean, optional | false |
--from | Sync from a local stacks checkout (e.g. ~/Code/stacks). Skips GitHub. | value, required | - |
--no-postinstall | Skip dependency installation and post-sync hooks (auto-imports, database types, migrations, AI setup) | boolean, optional, negated | true |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy upgrade
buddy update
buddy upgrade --from ~/Code/stacks
buddy upgrade --version 0.70.23
buddy upgrade --dry-run
buddy upgrade --allow-downgrade
buddy upgrade --canary
buddy upgrade --stable
buddy upgrade --force
upgrade:all
Upgrade framework, dependencies, Bun, shell integration, and binary
- Usage:
$ buddy upgrade:all - Namespace:
upgrade - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--from | Sync from a local stacks checkout (e.g. ~/Code/stacks). Skips GitHub. | value, required | - |
--dry-run | Preview the selected upgrades without writing, installing, or compiling | boolean, optional | false |
--canary | Upgrade to the latest canary (bleeding-edge main) build | boolean, optional | false |
-f, --force | Force re-download, bypassing cache and version checks | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy upgrade:all
upgrade:binary
Upgrade the stacks binary to the latest version
- Usage:
$ buddy upgrade:binary - Namespace:
upgrade - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Preview the selected upgrades without writing, installing, or compiling | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy upgrade:binary
upgrade:bun
Upgrade Bun to the latest version
- Usage:
$ buddy upgrade:bun - Namespace:
upgrade - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Preview the selected upgrades without writing, installing, or compiling | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy upgrade:bun
upgrade:dependencies
Upgrade your dependencies (pantry.yaml & package.json)
- Usage:
$ buddy upgrade:dependencies - Namespace:
upgrade - Aliases:
upgrade:deps - Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Preview the selected upgrades without writing, installing, or compiling | boolean, optional | false |
-p, --project | Target a specific project | value, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy upgrade:dependencies
upgrade:shell
Upgrade the shell integration (currently only supports Oh My Zsh)
- Usage:
$ buddy upgrade:shell - Namespace:
upgrade - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--dry-run | Preview the selected upgrades without writing, installing, or compiling | boolean, optional | false |
--verbose | Enable verbose output | boolean, optional | false |
Examples:
buddy upgrade:shell
user:add
Create a user account (optionally an admin)
- Usage:
$ buddy user:add <email> - Namespace:
user - Aliases: none
- Arguments:
<email>
| Option | Description | Contract | Default |
|---|---|---|---|
--name | Display name. Defaults to the local part of the email. | value, required | - |
--password | Password. Generated and printed once if omitted. | value, required | - |
--role | Role to assign, e.g. admin. Seeds the default roles if the table is empty. | value, required | - |
--update | If the account already exists, reset its password and ensure the role | boolean, optional | false |
Examples:
buddy user:add chris@example.com --role admin
buddy user:add support@example.com --name Support --password s3cret
user:audit
List accounts whose name looks like an advert (a link, markup, or far too long)
- Usage:
$ buddy user:audit - Namespace:
user - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--json | Print the findings as JSON | boolean, optional | false |
Examples:
buddy user:audit
buddy user:audit --json
user:list
List the accounts that can sign in
- Usage:
$ buddy user:list - Namespace:
user - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--limit | How many to show | value, required | "25" |
version
Retrieving Stacks build version
- Usage:
$ buddy version - Namespace: none
- Aliases: none
- Arguments: none
workflow:artifacts
Read retained artifact identities and digests
- Usage:
$ buddy workflow:artifacts <number> - Namespace:
workflow - Aliases: none
- Arguments:
<number>
workflow:check-credentials
Check native-accept or native-release inputs without printing credentials
- Usage:
$ buddy workflow:check-credentials <phase> - Namespace:
workflow - Aliases: none
- Arguments:
<phase>
workflow:release-state
Verify the committed release identity and set its upload output
- Usage:
$ buddy workflow:release-state - Namespace:
workflow - Aliases: none
- Arguments: none
workflow:run
Start a configured workflow using its normal API
- Usage:
$ buddy workflow:run [file] - Namespace:
workflow - Aliases: none
- Arguments:
[file]
| Option | Description | Contract | Default |
|---|---|---|---|
--ref | Source branch or revision | value, required | - |
--inputs | Workflow input values as JSON, without credentials | value, required | - |
workflow:runs
Read the exact-source workflow run history
- Usage:
$ buddy workflow:runs [file] - Namespace:
workflow - Aliases: none
- Arguments:
[file]
| Option | Description | Contract | Default |
|---|---|---|---|
--sha | Filter by the full source commit | value, required | - |
workflow:setup
Generate the normal Stacks workflow from config/workflows.ts
- Usage:
$ buddy workflow:setup - Namespace:
workflow - Aliases: none
- Arguments: none
| Option | Description | Contract | Default |
|---|---|---|---|
--force | Replace a reviewed existing custom workflow | boolean, optional | false |
--check | Verify committed workflow bytes without changing them | boolean, optional | false |
workflow:show
Read actual workflow job and step execution
- Usage:
$ buddy workflow:show <number> - Namespace:
workflow - Aliases: none
- Arguments:
<number>
workflow:step
Run one declared application step through Stacks
- Usage:
$ buddy workflow:step <step> - Namespace:
workflow - Aliases: none
- Arguments:
<step>