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

Allow multiple PATHs to be provided #24

Closed
garrison opened this issue Jul 29, 2022 · 1 comment
Closed

Allow multiple PATHs to be provided #24

garrison opened this issue Jul 29, 2022 · 1 comment

Comments

@garrison
Copy link
Contributor

According to treon --help, treon is meant to be invoked as

treon [PATH] [--threads=<number>] [-v] [--exclude=<string>]...

However, it is currently not possible to pass multiple PATHs, unlike many command-line tools (e.g., cat). If multiple PATHs are provided, the help text is displayed and nothing else happens.

It is possible to exclude multiple paths (#1), but currently, the only way to include multiple paths (e.g., to test multiple notebooks by individual filename or to test multiple directories) is to invoke treon multiple times sequentially, once for each. But this means that the full benefits of multithreading are not available.

garrison added a commit to garrison/treon that referenced this issue Jul 29, 2022
@amit1rrr
Copy link
Member

amit1rrr commented Jul 29, 2022

Thanks for opening this & sending out the PR to make this improvement.

I agree, accepting multiple paths would be a good addition to treon.

amit1rrr added a commit that referenced this issue Aug 4, 2022
Fix #24, allow multiple PATHs to be provided
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

2 participants