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.3.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.3.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omga_cli-1.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 f069e6c4f96c793f8a8d0d2eb81d90d410223b689a5c84efa5c9c77e6c966f94
MD5 92f3df0c5f47a73d1aa798c04c9decd3
BLAKE2b-256 9f883c509348355fff96cdcf03ea34fd7ad7a44b13e13aee79e0460394e59397

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omga_cli-1.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c846037fb188ec22674161d79ecb2905d2588b2029ac0fc2ef12ddfb92105c2b
MD5 2e07d671b43470343c6359db869435cd
BLAKE2b-256 0ede438cd32d55fa8db4bacb8a829fed4002673774b993031b6b58a734ba16a4

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