-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding command line arguments for Kotlin examples #58
Conversation
@DariusIMP If this pull request contains a bugfix or a new feature, then please consider using |
* Adapt JNI codebase to recent Zenoh changes. * issue(api sync): removing publisher.write() after it was removed from the Rust API
As it is, a repeated flag will overwrite itself, so only the last instance counts. For list options ( |
… listen and connect arguments. For instance: gradle ZPub --args="-l tcp/localhost:7447 tcp/localhost:7448 tcp/localhost:7449" now becomes gradle ZPub --args="-l tcp/localhost:7447 -l tcp/localhost:7448 -l tcp/localhost:7449"
I just fixed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Using Clickt to allow users to specify arguments when running examples on Kotlin.
Usage
For instance the ZPub example, you run it using gradle, and providing the arguments the following way:
gradle ZPub --args="<your arguments>"
** Example: **
gradle ZPub --args="-h"
will display the help menu with the available arguments:
Solves #55