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
Hey, thank you for your project! Would be nice to have ability to keep parameters in file and get it from saved file.
Save to file:
$ protokaf generate HelloRequest \ --data '{"name": {{randomFemaleName | quote}}, "age": {{randomNumber 10 20}}}' \ --count 10 \ --seed 42 --save data.json
After we can use file to produce:
$ protokaf produce HelloRequest \ --load data.json
The text was updated successfully, but these errors were encountered:
You don't need additional parameters. $ protokaf generate HelloRequest \ --data '{"name": {{randomFemaleName | quote}}, "age": {{randomNumber 10 20}}}' \ --count 10 \ --seed 42 > data.json and $ cat data.json | protokaf produce HelloRequest
$ protokaf generate HelloRequest \ --data '{"name": {{randomFemaleName | quote}}, "age": {{randomNumber 10 20}}}' \ --count 10 \ --seed 42 > data.json
$ cat data.json | protokaf produce HelloRequest
Sorry, something went wrong.
I would like to save and load parameters, not data.
No branches or pull requests
Hey, thank you for your project!
Would be nice to have ability to keep parameters in file and get it from saved file.
Save to file:
After we can use file to produce:
The text was updated successfully, but these errors were encountered: