Metadata-Version: 2.4
Name: ufazien-cli
Version: 0.1.7
Summary: Command-line interface for deploying web applications on Ufazien platform
Author-email: Ufazien <ufazien@gmail.com>
License: MIT
Project-URL: Homepage, https://ufazien.com
Project-URL: Documentation, https://howtohoston.ufazien.com
Project-URL: Repository, https://github.com/martian56/ufazien-cli
Project-URL: Issues, https://github.com/martian56/ufazien-cli/issues
Keywords: ufazien,cli,deployment,hosting,web
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: requests>=2.31.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"

# Ufazien CLI

🚀 A Command-line interface for deploying web applications on the Ufazien platform.

## Features

- ✨ Beautiful terminal UI powered by [Rich](https://github.com/Textualize/rich)
- 🎯 Modern CLI framework using [Typer](https://github.com/tiangolo/typer)
- 🔐 Secure authentication with token management
- 📦 Easy project creation and deployment
- 🗄️ Database provisioning support
- 📝 Automatic project structure generation

## Installation

### From Source

```bash
git clone https://github.com/martian56/ufazien-cli.git
cd ufazien-cli-py

# Install in development mode
pip install -e .

# Or install in production mode
pip install .
```

### From PyPI

```bash
pip install ufazien-cli
```

## Usage

### Login

Authenticate with your Ufazien account:

```bash
ufazien login
```

You'll be prompted for your email and password.

### Create a New Website

Create a new website project in the current directory:

```bash
ufazien create
```

The CLI will guide you through:
- Website name and subdomain
- Website type (Static or PHP)
- Database creation (for PHP projects)
- Project structure generation

### Deploy Your Website

Deploy your website to Ufazien:

```bash
ufazien deploy
```

This will:
1. Create a ZIP archive of your project (excluding files in `.ufazienignore`)
2. Upload the files to your website
3. Trigger the deployment

### Check Status

Check your login status and profile:

```bash
ufazien status
```

### Logout

Logout from your account:

```bash
ufazien logout
```

## Commands

| Command | Description |
|---------|-------------|
| `login` | Login to your Ufazien account |
| `logout` | Logout from your account |
| `create` | Create a new website project |
| `deploy` | Deploy your website |
| `status` | Check login status and profile |

