This project has been archived by its maintainers, and is no longer receiving any updates.
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
- Get your API key from our website
- Login with your API key:
docgen auth login --key YOUR_API_KEY
- Generate documentation for a file or directory:
docgen generate -f path/to/file.py
# or
docgen generate --current-dir
- Update documentation for changed files:
docgen update
Usage
Basic Commands
docgen generate: Generate documentation for files or directoriesdocgen update: Update docs for changed files (Git-aware)docgen analyze: Analyze code structure and complexitydocgen auth: Manage API authenticationdocgen config: Configure settingsdocgen clean: Remove generated documentation
Examples
# 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:
{
"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 for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for docgen-cli 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| docgen-cli-1.0.9.tar.gz | 91.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl | CPython 3.9 | CPython 3.9 | macOS 10.9+ universal2 (ARM64, x86-64) | Details |
Total release size: 259.1 kB
Release files / docgen-cli-1.0.9.tar.gz
| Download URL | docgen-cli-1.0.9.tar.gz |
|---|---|
| Size | 91.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be5498fd2294a8665112b055ad48c4afa2cf091d62fe3db72e2fe37c7cca3bff
|
|
BLAKE2b-256 checksum How to use checksums |
49bcf38354c4e35691a4ddd67020da8355639eee4ae328e2597d0d7b8ca10801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl
| Download URL | docgen_cli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl |
|---|---|
| Size | 168.1 kB |
| Tags | CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
0d2f007b78ee5dc01b4b55ed6506326aa8144b933b934d1edcab0a85580ee5e5
|
|
BLAKE2b-256 checksum How to use checksums |
6316e38fedbab648a1b295664e1746d3bbf78f79faef4a1effa13928afbae4c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for docgen-cli 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.