Skip to content
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

Include files from only certain crates in Rust workspace #43

Open
seanpianka opened this issue Sep 16, 2024 · 0 comments
Open

Include files from only certain crates in Rust workspace #43

seanpianka opened this issue Sep 16, 2024 · 0 comments

Comments

@seanpianka
Copy link

seanpianka commented Sep 16, 2024

I'm trying to run this command from within a Rust workspace:

code2prompt . --include="./crates/dir1/*/**/*.rs,./crates/dir2/**/*.rs,./crates/dir3/**/*.rs,./crates/dir4/**/*.rs,./crates/dir5/**/*.rs,./crates/dir6/**/*.rs,./crates/dir7/**/*.rs,./crates/dir8/**/*.rs" --tokens

However, it's not able to find any of the files, it just copies the project tree structure to my clipboard. It seems only the *.rs include glob works to find files, but then it matches everything.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant