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 passing files or single files to VTI #2455

Closed
soerenmartius opened this issue Nov 11, 2020 · 4 comments · Fixed by #2825
Closed

Allow passing files or single files to VTI #2455

soerenmartius opened this issue Nov 11, 2020 · 4 comments · Fixed by #2825

Comments

@soerenmartius
Copy link

  • [X ] I have searched through existing issues

Feature Request

At the moment it seems that the vti diagnostics command only accepts directories as an argument?
E.g., running vti diagnostics src/components/ will check all .vue inside the src/components directory. Passing a single file as an argument results in an ENOTDIR exception. It would be helpful to pass single files or a list of single files also use vti with pre-commit hooks also.

e.g.

vti diagnostics path/to/first/component.vue path/to/second/component.vue
@yoyo930021
Copy link
Member

we could do it with #2451.

@soerenmartius
Copy link
Author

we could do it with #2451.

that'd be great!

@soerenmartius
Copy link
Author

we could do it with #2451.
Hey @yoyo930021, do you plan on implementing this anytime soon? I'd be more than happy to contribute as well!

@yoyo930021
Copy link
Member

we could do it with #2451.
Hey @yoyo930021, do you plan on implementing this anytime soon? I'd be more than happy to contribute as well!

You can do it.

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

Successfully merging a pull request may close this issue.

2 participants