A CLI tool for code checking, explanation, and AI assistance
Project description
omga-cli
omga-cli is an advanced, AI-powered command-line assistant built for developers.
It combines local checks (syntax, linting, project scaffolding) with the power of OMGA, giving you a smart, minimal, and developer-friendly workflow.
✨ Features
- ✅ Syntax & lint checks (
check file.py) - 🤖 AI explanations & Q&A (
explain,ask) - 🔧 Auto-fixes with diff previews (
fix --apply) - ⚡ Run shell commands safely (
run "ls -la") - 🚀 Project scaffolding (e.g., FastAPI starter)
- 📚 Snippet management (
snippet add/list) - 💡 Interactive mode with Tab-completion (static + AI suggestions)
🚀 Quickstart
# 1. Install omga-cli
pip install omga-cli
# 2. Run in interactive mode
omga-cli
# Or run a one-shot command
omga-cli <command>
🖥️ Example Usage
# Check syntax
omga-cli check file.py
# → "Syntax OK" or error list
# Explain code
omga-cli explain file.py
# → "This code does X, but watch for Y pitfall."
# Ask general AI question
omga-cli ask "how to use pandas?"
# Fix code with AI suggestions
omga-cli fix file.py --apply
# Scaffold a FastAPI project
omga-cli generate project fastapi myapp
# Manage code snippets
omga-cli snippet add hello "print('Hello World')"
omga-cli snippet list
🔒 Security Note
The run command executes local shell commands directly.
⚠️ Use it only with trusted commands. No sandboxing is provided.
👨💻 Author
Developed with ❤️ by Pouria Hosseini
📧 Contact: PouriaHosseini@Outlook.com
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 omga_cli-0.1.0.tar.gz.
File metadata
- Download URL: omga_cli-0.1.0.tar.gz
- Upload date:
- Size: 673.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ce671775ff6778fa9c766d874f100e3e396ea5aa773bff4f4e4c5630dd00c0
|
|
| MD5 |
e08cadfacdba9b1dbb64f3bb0606a559
|
|
| BLAKE2b-256 |
66ade9345a9ef745322e7ea3ed70c0365353500fe72059237fba4f5ebc01984f
|
File details
Details for the file omga_cli-0.1.0-cp313-cp313-macosx_14_0_x86_64.whl.
File metadata
- Download URL: omga_cli-0.1.0-cp313-cp313-macosx_14_0_x86_64.whl
- Upload date:
- Size: 949.2 kB
- Tags: CPython 3.13, macOS 14.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f6af06d8607a6f6c597ddc2b16c95dd961b31732489975e242c9344b4b45b47
|
|
| MD5 |
7c106882d8eb19f35ed5643c1581578f
|
|
| BLAKE2b-256 |
562e09e1df9e1a79f76f278abc2801bf3239e55ba66517316acebdb9c5fdd3e3
|