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.4.0.tar.gz (32.4 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.4.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for omga_cli-1.4.0.tar.gz
Algorithm Hash digest
SHA256 b8fd5bc63393d09e1a5b3368bef381e2a3ab75d371afe69f2fdb69fbb36150cd
MD5 14c6b067766577828de8f19a0ab3f039
BLAKE2b-256 0ab684b57079bcadb0e2753f020dd60b0306ba46a5c03d9dba89821a4b487b5e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for omga_cli-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c713956091093198bf602fda68eebe01be75fc3e4729d36a65ac83c7f41fcc1
MD5 e52c655d319b5b79e86d3ce89f09d736
BLAKE2b-256 488f3de7775325ae17d8785a51991ccb71b259927f148c3550f3fc546073dc41

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