Skip to main content

AI-powered CLI assistant for developers — code analysis, explanation, fixing, and project scaffolding.

Project description

🚀 omga-cli

omga-cli is an AI-powered command-line assistant for developers.
It connects to Omga Ai and provides intelligent code analysis, explanations, fixes, documentation, and project scaffolding — all inside your terminal.


PyPI Downloads

✨ Features

Feature Description
🔍 Code Analysis Multi-language syntax checking and linting
🤖 AI Assistant Explanations, fixes, improvements, documentation
Streaming Responses Word-by-word AI output via SSE
🎨 Rich UI Syntax highlighting, diff views, styled panels
🗂 Project Scaffolding Generate FastAPI projects or AI-designed structures
📦 Snippets Manager Save, list, and remove reusable code snippets
💾 Response Cache SQLite-backed cache to avoid redundant API calls
🔑 Configurable Config file + env-variable API key override

🚀 Quick Start

Install from PyPI

pip install omga-cli

Run

# Interactive shell
omga-cli

# One-shot commands
omga-cli check main.py
omga-cli explain main.py
omga-cli ask "What is the GIL in Python?"
omga-cli fix buggy.py
omga-cli improve legacy.py
omga-cli docs utils.py
omga-cli run "pytest -v"
omga-cli generate project fastapi myapp

📋 All Commands

check <file>                       Syntax & lint analysis
explain <file>                     AI code explanation
ask <question>                     Ask the AI anything
fix <file>                         AI-assisted bug fixing
improve <file>                     Refactoring suggestions
docs <file>                        Generate documentation
run <shell command>                Execute a shell command safely
generate project <template> <n>    Scaffold a new project
snippet add|list|remove [name]     Manage code snippets
help                               Show help
exit / quit                        Exit the shell

🌍 Supported Languages

omga-cli detects the language from the file extension and passes it to the AI and syntax highlighter:

Python · JavaScript · TypeScript · Java · C · C++ · C# · Go · Rust · Ruby · PHP · Swift · Kotlin · Bash · HTML · CSS · SQL · JSON · YAML · TOML · Markdown · Dart · Lua · R — and more.


👨‍💻 Author

Pouria HosseiniPouriaHosseini@Outlook.com
Website: PouriaHosseini.ir


Happy coding! 🎉

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

omga_cli-1.2.0.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

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

omga_cli-1.2.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file omga_cli-1.2.0.tar.gz.

File metadata

  • Download URL: omga_cli-1.2.0.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for omga_cli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f92e8661adff610d8b81326ed5d1fca78e9ecca86fdd7fbcc2c9436368347466
MD5 28f63c133811ca63429c3277999bd3fd
BLAKE2b-256 cc95260af6ac569954fb610fd5ff7cb6dc488c436435f5a452f43e5eb7c4e9d3

See more details on using hashes here.

File details

Details for the file omga_cli-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: omga_cli-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for omga_cli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed6bed62042d417c43c283616bd84a56fc2b304eef4b72b6cf7d8afa55cc945a
MD5 f3d9d097d8730a02fccc3fcfea013003
BLAKE2b-256 5f5b975714eeab044946d8f71c62675855968c4052c6acb319b0ef2d0f1259d0

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