A beautiful Terraform CLI wrapper with enhanced UI capabilities
Project description
STFU - Terraform CLI Wrapper
A beautiful Terraform CLI wrapper with enhanced UI capabilities.
Overview
STFU (Simple Terraform Frontend Utility) is a Python CLI tool that acts as a drop-in replacement for the terraform command while providing enhanced visualization and user experience features. It wraps the standard Terraform CLI and processes its output to display beautiful, interactive interfaces.
Features
- Drop-in Replacement: Use
stfuortfinstead ofterraform- all commands pass through seamlessly - Enhanced UI: Beautiful output formatting and visualization (UI components designed in Figma)
- Extensible Architecture: Easy to add new UI components and modify existing ones
- Command Intelligence: Special handling for different Terraform commands (apply, destroy, plan, etc.)
- Output Processing: Parses and enhances Terraform output for better readability
Installation
pip install stfu-terraform
Usage
Use stfu exactly like you would use terraform:
# Initialize a Terraform project
stfu init
# Plan changes
stfu plan
# Apply changes
stfu apply
# Destroy infrastructure
stfu destroy
# Show current state
stfu show
Development
Setup
# Clone the repository
git clone <repository-url>
cd stfu
# Install in development mode
pip install -e .[dev]
Testing
pytest
Code Formatting
black .
flake8 .
mypy .
Architecture
stfu/cli.py- Main CLI entry pointstfu/terraform.py- Terraform command wrapper and executionstfu/parser.py- Output parsing and processingstfu/ui/- UI components and renderingstfu/config.py- Configuration management
License
MIT License - see LICENSE file for details.
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 stfu_terraform-0.1.0.tar.gz.
File metadata
- Download URL: stfu_terraform-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee5cb5e66e47d6609be29031963256e6864e5038c462b643a2815b233a17e2f3
|
|
| MD5 |
89cc641730e50098b045334b85cfd327
|
|
| BLAKE2b-256 |
af092c328cb1b91b1b0991d0cd9fbe95d0653ecc4b4a11c98c2c16beba6d0ed6
|
File details
Details for the file stfu_terraform-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stfu_terraform-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6077482281584f9b299aa15ec8c25c7a27c9fdf689493790cad205d3244d2fe8
|
|
| MD5 |
076c9b8c3d4985f8324045e04bad8b9b
|
|
| BLAKE2b-256 |
a525087d9a721a948491c71468d6c3d022698134cc11d76203fe4bf72069b4a8
|