Metadata-Version: 2.4
Name: context-gen-cli
Version: 1.0.0
Summary: A modern CLI tool that scans any project, builds an AST-based dependency graph, and generates structured LLM context (agent.md / agent.json).
Author: yakkshit
License-Expression: MIT
Keywords: llm,context,agent,cli,code-analysis,ast,graph,mcp
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: typer[all]>=0.12.0
Requires-Dist: rich>=13.7.0
Requires-Dist: pathspec>=0.12.1
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: build>=1.1.0; extra == "dev"
Requires-Dist: twine>=5.0.0; extra == "dev"

# context-gen-cli (Python Edition)

> ⚡ Fast, AST-powered CLI tool that scans any project, extracts architecture models, and generates structured LLM context (`agent.md` & `agent.json`).

## Features
- **100% Accurate Python Dependency Graphs**: Built using Python's native `ast` (Abstract Syntax Tree) module.
- **Gitignore Respect**: Uses `pathspec` to ignore unwanted directories and secrets.
- **Dual Output**: Generates both human-readable Markdown (`agent.md`) and MCP-compatible structured JSON (`agent.json`).
- **Modern CLI**: Powered by `typer` and `rich`.

## Installation
```bash
pip install context-gen-cli
```

## Quick Start
```bash
# Generate agent.md in context/ directory
context-gen .

# Generate agent.json
context-gen . --format json

# Custom output path
context-gen ./my-project -o custom/path/context.md
```
