Releases: skelouse/code-to-gpt
Releases · skelouse/code-to-gpt
v0.0.10: Merge pull request #11 from skelouse/add-include-and-exclude-aliases
Add a size limit when reading files
Added --max-size flag which defaults to 2MB. After this is reached the command will exit. Should help with staying under context limits as well as stopping when hitting large files.
$ code-to-gpt -c --include "**/*.go" --max-size 10000
2024/11/28 00:47:45 parsing files:
...maximum size limit reached at code-to-gpt/parser/run.go (2345 bytes).
...current limit (10000 bytes), maybe set --max-size to a value higher than that
exit status 1
Add verbose output
Example in this repository:
$ code-to-gpt -c --exclude "**/*.go"
├── .gitignore
├── LICENSE
├── README.md
├── go.mod
├── go.sum
└── super-diff.sh
6 files copied to clipboard
v0.0.6
v0.0.5: Merge pull request #1 from skelouse/add-ignores
Add package-lock and node_modules to ignore
Add LICENSE and parse to go-pkg
v0.0.4 Create LICENSE
Add flag parsing and default to no-split
Run code-to-gpt
with the necessary flags:
--with-prompt
: Includes an initial prompt.--split-files
or-s
: Splits the codebase into multiple files if it is too large for a single file.--clipboard
or-c
: Copies the output to the clipboard. Note: this flag does not work with--split-files
.
Improve prompting and split files to consumable sizes.
v0.0.2 Improve prompt and implementation