We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 thrift2flow ./idl/code.uber.internal/**/*.thrift works, but if I add it to package.json's scripts:
thrift2flow ./idl/code.uber.internal/**/*.thrift
"idl-flow": "thrift2flow ./idl/code.uber.internal/**/*.thrift"
it stops working. I believe it's because my shell expands the glob expression while the scripts in package.json do not (see https://medium.com/@jakubsynowiec/you-should-always-quote-your-globs-in-npm-scripts-621887a2a784). It would be good to have an ability to pass either a folder or a glob to the CLI.
The text was updated successfully, but these errors were encountered:
We can use something similar to what prettier, eslint and other CLI use, like https://github.com/mrmlnc/fast-glob or https://github.com/sindresorhus/globby
Sorry, something went wrong.
No branches or pull requests
Running
thrift2flow ./idl/code.uber.internal/**/*.thrift
works, but if I add it to package.json's scripts:it stops working. I believe it's because my shell expands the glob expression while the scripts in package.json do not (see https://medium.com/@jakubsynowiec/you-should-always-quote-your-globs-in-npm-scripts-621887a2a784). It would be good to have an ability to pass either a folder or a glob to the CLI.
The text was updated successfully, but these errors were encountered: