A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

ai chatgpt claude cli command-line command-line-tool gpt llm prompt prompt-engineering prompt-generator prompt-toolkit rust
1 Open Issue Need Help Last updated: Jul 17, 2025

Open Issues Need Help

View All on GitHub

AI Summary: The task is to fix a bug in the `code2prompt` CLI tool. Currently, the `--git-diff-branch` option only accepts local branch names as input for comparing code diffs. The fix involves modifying the `branch_exists()` function in the Rust code to use `repo.revparse_single()` instead of `repo.find_branch()`, allowing it to accept commit hashes and tags as valid inputs.

Complexity: 2/5
enhancement good first issue

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

MDX
#ai#chatgpt#claude#cli#command-line#command-line-tool#gpt#llm#prompt#prompt-engineering#prompt-generator#prompt-toolkit#rust