Skip to main content

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 stfu or tf instead of terraform - 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 point
  • stfu/terraform.py - Terraform command wrapper and execution
  • stfu/parser.py - Output parsing and processing
  • stfu/ui/ - UI components and rendering
  • stfu/config.py - Configuration management

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stfu_terraform-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stfu_terraform-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for stfu_terraform-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ee5cb5e66e47d6609be29031963256e6864e5038c462b643a2815b233a17e2f3
MD5 89cc641730e50098b045334b85cfd327
BLAKE2b-256 af092c328cb1b91b1b0991d0cd9fbe95d0653ecc4b4a11c98c2c16beba6d0ed6

See more details on using hashes here.

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

Hashes for stfu_terraform-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6077482281584f9b299aa15ec8c25c7a27c9fdf689493790cad205d3244d2fe8
MD5 076c9b8c3d4985f8324045e04bad8b9b
BLAKE2b-256 a525087d9a721a948491c71468d6c3d022698134cc11d76203fe4bf72069b4a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page