bdy distro create

View as Markdown
$bdy distro create|add [options]

Create a distribution Required scopes: DISTRIBUTION_WRITE

OPTIONS
--context <name>
Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation.
--examples
Show only examples; with this flag --format accepts text, json or jsonl
--verbose
Show REST API requests, responses, timing and retries on stderr
-w, --workspace <domain>
Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE
-p, --project <name>
Project name. Can be set via variable: BUDDY_PROJECT
--environment <identifier>
Environment identifier of an environment-scoped distribution. Looked up in the project (--project, BUDDY_PROJECT, linked project), then - unless --project is given - among the workspace environments
--scope <scope>
Force scope (WORKSPACE, PROJECT, ENVIRONMENT). By default calculated by provided options and environmental variables (--project,
--environment
BUDDY_PROJECT, linked project)
-i, --identifier <identifier>
Human-readable ID of the distribution
-n, --name <name>
Name of the distribution
--note <note>
Note of the distribution
--agent-note <note>
Note of the distribution for AI agents; stored as agent_note and meant to be read before acting on the resource
--format <text|json>
Output format: json, text. JSON CLI errors: {error:{code,message,hint}}, exit 1. Default: text (choices: "text", "json")
-h, --help
display help for command

Documentation for bdy v1.26.5

Last modified on Dec 1, 2026

Examples

Create distribution with name
bdy distro create -n name$
Create distribution in project with identifier
bdy distro create -i id --project project$
Create distribution in an environment (permissions follow the environment)
bdy distro create -n name --environment staging$
Return the result as JSON
bdy distro create --format json$