CLI for automatic DevOps environment configuration
Project description
Leme DevOps CLI
Automatic DevOps environment setup in 2 commands!
This CLI automatically installs and configures all necessary tools for DevOps development, including Docker, Git, Terraform, Azure CLI, AWS CLI, kubectl, Ansible and much more.
Quick Installation
# Install via pip
pip install leme
# Setup complete environment
leme setup
Done! All DevOps tools are configured and ready to use.
Supported Tools
Essential
- Docker - Containerization platform
- Git - Version control system
Cloud & DevOps (optional)
- Terraform - Infrastructure as code
- AWS CLI v2 - Amazon Web Services interface
- Azure CLI - Microsoft Azure interface
- kubectl - Kubernetes cluster management
- Ansible - Configuration automation
- watch - Command monitoring
Main Commands
Initial Setup
# Setup complete environment (interactive mode)
leme setup
# Install everything automatically without asking
leme setup --force
# View status of all tools
leme status
Individual Installation
# Install specific tools
leme install docker
leme install terraform
leme install azure
leme install aws
System Information
# View operating system information
leme info
# Check CLI version
leme --version
# Complete help
leme --help
Interactive Mode (Default)
By default, leme setup asks which optional tools you want to install:
$ leme setup
Leme DevOps CLI - DevOps Environment Setup
Checking current environment...
Found tools:
• Docker: Not installed
• Git: Installed (v2.39.0)
• Terraform: Not installed
Choose tools to install:
• Terraform (optional)
Infrastructure as code tool
Install Terraform? [y/N]: y
• Azure CLI (optional)
Azure command line interface
Install Azure CLI? [y/N]: n
...
Advanced Options
# Only check what's installed
leme setup --check-only
# Install only essential tools
leme setup --required-only
# Skip Docker installation
leme setup --skip-docker
# Install specific tools
leme setup --tools docker,terraform,azure
# Force reinstallation
leme setup --force
Supported Systems
| Operating System | Status | Installation Methods |
|---|---|---|
| Ubuntu 20.04+ | Fully Tested | apt + official repositories |
| Debian 11+ | Fully Tested | apt + official repositories |
| macOS 12+ | Functional | Homebrew + official installers |
| WSL Ubuntu | Tested | apt + official repositories |
| CentOS/RHEL 8+ | Functional | yum/dnf + official repositories |
| Fedora 35+ | Functional | dnf + official repositories |
Architectures: x86_64 (Intel/AMD) and ARM64 (Apple Silicon/ARM)
Usage Examples
For Students - Complete Setup
# Install the CLI
pip install leme
# Setup environment for DevOps course
leme setup
# Verify everything worked
leme status
docker run hello-world
For Developers - Selective Installation
# Install only Docker and Terraform
leme setup --tools docker,terraform
# Add AWS CLI later
leme install aws
# Check final configuration
leme status
For CI/CD - Automated Installation
# Install everything without interaction
leme setup --force
# Check installation in scripts
leme status --check-only
Troubleshooting
Docker doesn't work after installation (Linux)
# Add user to docker group
sudo usermod -aG docker $USER
newgrp docker
# Test
docker run hello-world
Python/pip not found
# Ubuntu/Debian
sudo apt update && sudo apt install python3 python3-pip
# macOS
brew install python3
# Windows - Download from python.org
Tools not detected
# Force complete verification
leme setup --force
# View debug information
leme info
Local Development
# Clone repository
git clone https://github.com/iesodias/projeto_cli.git
cd projeto_cli
# Install in development mode
pip install -e .
# Test command
leme --help
Documentation
- Complete Guide - Full documentation
- Examples - Example scripts
- Troubleshooting - Problem solving
Contributing
- Fork the project
- Create your feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Quick Start Summary
# INSTALLATION AND USAGE
pip install leme # Install CLI
leme setup # Setup environment (interactive)
leme status # Check installation
# USEFUL COMMANDS
leme setup --force # Install everything automatically
leme install docker # Install specific tool
leme info # System information
leme --help # Complete help
The CLI automatically detects your system and installs everything correctly!
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
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 leme-1.0.4.tar.gz.
File metadata
- Download URL: leme-1.0.4.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b012d75e30064932691cc654c57d254a513ebea0e75da955ebf8ede024e9cdf
|
|
| MD5 |
94696bb4d19d0d1341f290ff5287711a
|
|
| BLAKE2b-256 |
e02426942fdb9b55dccab3f09d1c691b38f016c66d27334b440b6e4ba1e0e60b
|
File details
Details for the file leme-1.0.4-py3-none-any.whl.
File metadata
- Download URL: leme-1.0.4-py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b766dccb0cab07952a0c298713f5a413f58074c0ae47d63acc0111858f3afa37
|
|
| MD5 |
4c73323cc8506b39fe9170295683c2ed
|
|
| BLAKE2b-256 |
40ed9564b3f8377981ed6782a237f593bf9e1b110066f59c52464fd466043674
|