bdy target list

View as Markdown
$bdy target list|ls [options]

List targets

OPTIONS
-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
--pipeline <identifier>
Pipeline identifier to scope the target to. Requires --project
--environment <identifier>
Environment identifier to scope the target to. Resolves a workspace environment; add --project to point at a project environment
--scope <scope>
Force scope (WORKSPACE, PROJECT, ENVIRONMENT, PIPELINE). By default calculated by provided options and environmental variables (--pipeline,
--environment, --project
BUDDY_PROJECT, linked project)
--format <text|json>
Output format: json, text. Default: text
-h, --help
display help for command

Documentation for bdy v1.24.8

Last modified on Sep 3, 2026

Examples

List targets (workspace, or the linked project when run inside one)
bdy tg ls$
List all workspace targets
bdy tg ls --scope WORKSPACE$
List targets in a project
bdy tg ls -p project$
List targets of a pipeline
bdy tg ls -p project --pipeline pipeline-identifier$
List targets of a workspace environment
bdy tg ls --environment environment-identifier$
List targets of a project environment
bdy tg ls -p project --environment environment-identifier$