A CLI tool to automatically generate comprehensive README files for GitHub repositories.
go install github.com/satuiro/mdtool/cmd/mdtool@latest
-
Clone the repository:
git clone https://github.com/satuiro/mdtool.git cd mdtool
-
Build and install:
make install
-
Set required environment variables:
export GROQ_API_KEY="your-groq-api-key" export GITHUB_TOKEN="your-github-token" # Prefer using classic token
-
Generate README for a repository:
mdtool readme -r owner/repo
-r, --repo
: Repository name in format 'owner/repo' (required)-o, --output
: Output format (preview/raw)-s, --save
: Save README to file--version
: Show version information