# bucketwarden-cli

[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](../../Cargo.toml)
[![Rust crate](https://img.shields.io/badge/rust-crate-orange.svg)](Cargo.toml)
[![SSOT governed](https://img.shields.io/badge/SSOT-governed-2f6f4e.svg)](../../.ssot/registry.json)

`bucketwarden-cli` owns BucketWarden command parsing, operator command routing, local diagnostics, and `s3 serve` listener startup. It is command glue, not the home for demo implementation logic.

## Install

```toml
bucketwarden-cli = { path = "../bucketwarden-cli" }
```

## Usage

```rust
fn main() -> Result<(), bucketwarden_cli::CliError> {
    bucketwarden_cli::run_env()
}
```

## Crate Links

- Called by [`bucketwarden`](../bucketwarden/README.md).
- Wraps demos from [`bucketwarden-demo`](../bucketwarden-demo/README.md).
- Composes runtime calls into [`bucketwarden-server`](../bucketwarden-server/README.md).
- Uses [`bucketwarden-auth`](../bucketwarden-auth/README.md), [`bucketwarden-lock`](../bucketwarden-lock/README.md), [`bucketwarden-policy`](../bucketwarden-policy/README.md), and [`bucketwarden-s3`](../bucketwarden-s3/README.md).

## Author

Jacob Stewart `<jacob@swarmauri.com>`
