Skip to content

shammahk/aidocgen-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aidocgen

A powerful CLI tool for generating comprehensive markdown documentation for projects, using OpenAI's GPT.

Installation

Install aidocgen using npm:

npm install -g aidocgen

Install aidocgen using yarn:

yarn global add aidocgen

Features

  • Generates detailed documentation and tests for all code files and projects.
  • Uses OpenAI's GPT-4 for intelligent and context-aware documentation.
  • Easy to set up and use with a simple CLI interface.

Usage

Before using aidocgen, you need to set your OpenAI API key. Run the initialization command and follow the prompts:

aidocgen init

You will be asked to provide your OpenAI API key which will be set locally for your future use. We do not have access to your OpenAI API key.

Generate documentation for a single file:

aidocgen parse path/to/yourFile.ts

Generate documentation for an entire directory:

aidocgen parse path/to/yourDirectory

Generate test for a single file:

aidocgen test-file "file path" "test framework, e.g jest | mocha"

Generate test for an entire directory:

aidocgen test-directory "file path" "test framework, e.g jest | mocha"

Contributing

Contributions are welcome! If you have an idea for improvement or have found a bug, please open an issue or submit a pull request.

https://github.com/shammahk/aidocgen

License

aidocgen is MIT licensed.

About

A CLI for creating documentation using AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published