The document command helps you generate documentation for your codebase. It integrates with the genie comments to provide structured and detailed documentation, making it easier to understand and maintain your code.

Usage

genie document --file "filename"

Flags

--file: Specifies the file to generate documentation for. This flag is required.

Key Features

  • Automatic Documentation Generation: Creates structured documentation based on genie comments in your code.

  • File-Specific Documentation: Allows you to generate documentation for a specific file in your project.

Example

genie document --file "main.py"