-
Notifications
You must be signed in to change notification settings - Fork 0
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
Running doccmd over a directory #128
Comments
Thank you @my1e5 for giving What I do is equivalent to: $ doccmd --language=python --command="mypy" docs/**/*.rst or $ doccmd --language=python --command="mypy" docs/**/*.md Does that solve your use case? If not, or if you still think that it is best to have |
Happy to provide feedback So my use case is I have a I guess coming to this as a
So I think it would feel very natural if I don't know much about I like how
Maybe
Also I tried
And it seems to only run on the first folder within my docs directory and then the first file within that folder. EDIT -> Oh, it might be because the |
Thank you @my1e5 for your comment and your edit. Have you figured out the answer to the question in your edit? If so, is your use case problem resolved (even if the interface is not ideal)? |
I found this method which works $ find docs/ -type f -name "*.md" -exec doccmd --language=python --command="ruff check" {} \; |
Some open questions:
|
A potential plan for this:
|
@my1e5 Please give this a go and leave a comment / create issues. |
Found your tool from your comment on the "Apply
ruff
tomarkdown
code blocks" issue. It's really nice! Very interested in adopting it into my workflow.One feature which would be nice is the ability run
doccmd
over a folder. For example, I have adocs/
folder.In fact, do you know how I could run
doccmd
over a directory currently? Without specifying all the files individually?The text was updated successfully, but these errors were encountered: