Registry stack documentation: machine-readable Markdown.
Index of all pages: https://docs.registrystack.org/dev/llms.txt
Full corpus: https://docs.registrystack.org/dev/llms-full.txt

# bregctl connection use command reference

> Generated syntax and options for bregctl connection use.

{/* Generated from crates/registry-cli-docs/catalog.json and the workspace version in Cargo.toml by scripts/generate-cli-reference.mjs. Run npm run generate. */}

Select a saved connection for one exact product project.

## Contract status

This page is generated from the public Clap command tree for Registry Stack source version `0.45.0` and catalog SHA-256 `18546dbdf436972522108829ab0f8c804142a7474cfe3841e0b8ff10e061c842`. Hidden implementation commands are omitted.

## Usage

```text
bregctl connection use [OPTIONS] <NAME>
```

## Arguments

| Argument | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `<NAME>` | Yes | n/a | n/a | n/a | Local name of the connection to select for the project |

## Options

| Option | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `--project <PROJECT>` | No | n/a | n/a | n/a | Project directory, or a descendant from which the exact product root is found |
| `--format <FORMAT>` | No | `human` | `human`, `json` | n/a | Emit the selected command's report in this format |
| `-h, --help` | No | n/a | n/a | n/a | Print help |

## Generation contract

After changing a public command, argument, option, default, environment binding, or help description, run `cargo run --locked -p registry-cli-docs -- --write`, commit `crates/registry-cli-docs/catalog.json`, then run `npm run generate` from `docs/site`.