Metadata-Version: 2.1
Name: docgen-cli
Version: 1.0.9
Summary: AI-Powered Documentation Generator for Developers
Home-page: https://github.com/aniket-0-cyber/docgen-cli
Author: Aniket Singh, Varshith
Author-email: aniket0999@gmail.com
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/aniket-0-cyber/docgen-cli/issues
Project-URL: Source, https://github.com/aniket-0-cyber/docgen-cli
Keywords: documentation generator ai development tools docstring markdown
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Documentation
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# DocGen CLI

An AI-powered documentation generator that automatically creates comprehensive documentation for any programming language.

## Features

- 🤖 AI-powered documentation generation
- 🌐 Language-agnostic code analysis
- 📝 Markdown and docstring generation
- 🔄 Git integration for tracking code changes
- ⚡ Asynchronous batch processing
- 💾 Smart caching system
- 🔑 API key management
- 📊 Usage tracking

## Installation
bash
pip install docgen-cli

## Quick Start

1. Get your API key from our website
2. Login with your API key:

```bash
docgen auth login --key YOUR_API_KEY
```

3. Generate documentation for a file or directory:

```bash
docgen generate -f path/to/file.py
# or
docgen generate --current-dir
```

4. Update documentation for changed files:

```bash
docgen update
```

## Usage

### Basic Commands

- `docgen generate`: Generate documentation for files or directories
- `docgen update`: Update docs for changed files (Git-aware)
- `docgen analyze`: Analyze code structure and complexity
- `docgen auth`: Manage API authentication
- `docgen config`: Configure settings
- `docgen clean`: Remove generated documentation

### Examples

```bash
# Generate docs for current directory
docgen generate --current-dir

# Generate docs for a specific file
docgen g -f src/main.py

# Update documentation for changed files
docgen update

# Configure output format
docgen config output_format html
```

## Configuration

Create a `.docgen.json` file in your project root:

```json
{
    "output_format": "markdown",
    "output_dir": "docs",
    "exclude_patterns": ["**/test/*", "**/*.test.*"],
    "language_settings": {
        "python": {
            "docstring_style": "google"
        }
    }
}
```

## Supported Languages

- Python
- JavaScript/TypeScript
- Java
- And more...

## Contributing

Contributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md) for details.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.


