Command-line interface for deploying web applications on Ufazien platform
Reason this release was yanked:
This version contains bugs, please use the latest version.
Project description
Ufazien CLI
๐ A Command-line interface for deploying web applications on the Ufazien platform.
Features
- โจ Beautiful terminal UI powered by Rich
- ๐ฏ Modern CLI framework using Typer
- ๐ Secure authentication with token management
- ๐ฆ Easy project creation and deployment
- ๐๏ธ Database provisioning support
- ๐ Automatic project structure generation
Installation
From Source
# Clone the repository
git clone <repository-url>
cd ufazien-cli-py
# Install in development mode
pip install -e .
# Or install in production mode
pip install .
From PyPI (Coming Soon)
pip install ufazien-cli
Usage
Login
Authenticate with your Ufazien account:
ufazien login
You'll be prompted for your email and password.
Create a New Website
Create a new website project in the current directory:
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:
ufazien deploy
This will:
- Create a ZIP archive of your project (excluding files in
.ufazienignore) - Upload the files to your website
- Trigger the deployment
Check Status
Check your login status and profile:
ufazien status
Logout
Logout from your account:
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 |
Project Structure
When you create a new website, the CLI generates a project structure:
PHP Projects
.
โโโ index.php
โโโ config.php
โโโ database.php (if database is created)
โโโ .env (if database is created)
โโโ .gitignore
โโโ .ufazienignore
โโโ .ufazien.json
โโโ src/
โโโ index.php
โโโ css/
โ โโโ style.css
โโโ js/
โโโ main.js
Static Projects
.
โโโ index.html
โโโ .gitignore
โโโ .ufazienignore
โโโ .ufazien.json
โโโ src/
โโโ css/
โ โโโ style.css
โโโ js/
โโโ main.js
Configuration
Create a .ufazienignore file in your project root to exclude files and directories from deployment. The format is similar to .gitignore:
.git/
node_modules/
*.log
.env
Requirements
- Python 3.8+
- Ufazien account
Development
Setup Development Environment
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -e ".[dev]"
Running Tests
pytest
Code Formatting
black src/
ruff check src/
License
MIT License
Support
For issues and questions, please visit Ufazien Support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ufazien_cli-0.1.5.tar.gz.
File metadata
- Download URL: ufazien_cli-0.1.5.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
577bf9765b589168f734a99003cb46b12525c3c9575848adeb1f86f92b126043
|
|
| MD5 |
b9d6df87c9594b7478699491b8650c1d
|
|
| BLAKE2b-256 |
7d4f89d7499846eb1a4269007fc1da2e82c4c2a7064813dc03c926db4d27795b
|
File details
Details for the file ufazien_cli-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ufazien_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c17e0b96b2bde71f11a9462d5cc378696019322ad574808f7a409b0486d4580
|
|
| MD5 |
b04f55ad8ab255bb3d45867c28ce3803
|
|
| BLAKE2b-256 |
fad390e308561e029cb6a90e44092f20425b3a6d255adf708755e8b9335d9613
|