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.5.0.tar.gz (32.1 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.5.0-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omga_cli-1.5.0.tar.gz
  • Upload date:
  • Size: 32.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 a559bc0a01b49999ada96c29e257fae62c6e0169513654bd92aa146020c4049a
MD5 4a1fd60bb251b1838069798ec07c7841
BLAKE2b-256 a7b1a391d6a6007a31f46fddbdaac34d20d452220f49a9fd45f7f7f56a369cdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omga_cli-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 30.2 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3cbe62b3b061bbde8e12d0ca19ebc0d1dbe60fc16ad5548adebb40495297bb
MD5 7bdac9035db42b86e06ce856aafb953a
BLAKE2b-256 4a77ecd5b679909eee6439edb2e501c5179241fa8b4e5ea1b314286762debd92

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