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

Feature request: add -r recursive option #235

Open
maikeriva opened this issue Jul 11, 2023 · 2 comments
Open

Feature request: add -r recursive option #235

maikeriva opened this issue Jul 11, 2023 · 2 comments
Labels
enhancement New feature or request pr requested

Comments

@maikeriva
Copy link

Hi! I am really enjoying this tool, but I recently found that it lacks a -r recursive option.

Currently, it seems I can either:

  • Parse all the project files
  • Parse a specific file (or files, using wildcards *)

But if I want to parse only a specific folder and all its sub-folders and files in it, that doesn't seem possible. In many CLI tools this is often achievable with a -r option (for example: cp -r /some/sub/folder) thus I think it would be nice to have this for ts-auto-guard too.

@rhys-vdw
Copy link
Owner

That seems reasonable. Shouldn't be too hard to add. You want to open a PR?

@rhys-vdw rhys-vdw added enhancement New feature or request pr requested labels Jul 13, 2023
@rhys-vdw
Copy link
Owner

rhys-vdw commented Jul 31, 2023

Did you try doing ts-auto-guard /some/sub/folder/**/*.ts btw? Blob support makes more sense than -r imo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr requested
Projects
None yet
Development

No branches or pull requests

2 participants