New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take multiple arguments for files and directories to include #2
Comments
Do you want to accept multiple args for |
https://gist.github.com/simonw/345f16a54f9e753852ea0af4bd7c2abc |
files-to-prompt files_to_prompt tests | llm -m opus --system \
'rewrite the tests to cover the ability to pass multiple files and folders to the tool' https://gist.github.com/simonw/c3b021f7b4f8b1e30b79f95210cc5702 files-to-prompt files_to_prompt tests | llm -m opus --system \
'add one last test which tests .gitignore and include_hidden against an example that mixes single files and directories of files together in one invocation' https://gist.github.com/simonw/a578bae9fe409cb29533ae28a348cb27 |
I decided to make that last test a bit easier to read. symbex test_mixed_paths_with_options | llm -m opus --system \
'rewrite this test so the filenames are more obvious, thinks like ignored_in_gitignore.txt'
llm -c 'add a last bit to that test for ["test_dir", "single_file.txt", "--ignore-gitignore", "--include-hidden"]' https://gist.github.com/simonw/a637f3e244ef1330e657221bfa84dfae |
That test: files-to-prompt/tests/test_files_to_prompt.py Lines 85 to 141 in ebd191f
|
That way you could send just specific files like this:
The text was updated successfully, but these errors were encountered: