# AIGenDB CLI 🚀

**AI-Powered Database Architecture & Provisioning Platform**

AIGenDB is a powerful command-line interface that allows you to generate complete database schemas using AI and provision them instantly on managed RDS instances.

---

## 🏗️ Features

- **AI Schema Generation:** Describe your project in plain English, and AIGenDB generates the optimized SQL schema for you.
- **Instant Provisioning:** Deploy your generated schema to a real PostgreSQL database with a single command.
- **Project Management:** Track multiple projects, edit schemas, and reprovision databases directly from the CLI.
- **Secure by Design:** All operations are authenticated via Firebase and mediated by a secure backend.

## 🚀 Quick Start

### 1. Installation

Install the CLI via pip:

```bash
pip install aigendb
```

### 2. Login

Authenticate with your AIGenDB account:

```bash
aigendb login
```

If you don't have an account, sign up at [aigendb.xyz](https://www.aigendb.xyz/signup).

### 3. Generate & Provision

Simply run the main command and follow the interactive prompts:

```bash
aigendb
```

Select **"1. Start Schema Generation"** to begin!

---

## 🛠️ Commands

AIGenDB uses `typer` for a robust CLI experience:

- `aigendb`: Start the interactive dashboard.
- `aigendb login`: Authenticate your session.
- `aigendb logout`: Clear your local session.
- `aigendb --version`: Show the current version.

---

## 📄 License

This project is licensed under the **PolyForm Noncommercial License 1.0.0**. See the [LICENSE](LICENSE) file for details.

## 🌐 Links

- **Website:** [https://www.aigendb.xyz](https://www.aigendb.xyz)
- **Support:** [Request more credits](https://www.aigendb.xyz/pricing)

---

Developed with ❤️ by the AIGenDB Team.
