PgBeam Docs
projects

link

Link current directory to a PgBeam project

Link the current working directory to a PgBeam project by creating a .pgbeam configuration file. This saves the project ID so subsequent commands (like pgbeam db list or pgbeam projects inspect) automatically use the linked project without requiring --project. An interactive selector is shown to choose from your organization's projects.

Usage

pgbeam link

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Link the current directory to a project
pgbeam link

# Link with a specific organization
pgbeam link --org org_xxx

Output

Prints a success message with the linked project ID and suggests pgbeam db list as a next step. A .pgbeam file is created in the current directory.

On this page