-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Write a meaningful CLI using the client library #52
Comments
I can pick this up. I will probably use clap crate unless you have strong feelings otherwise. |
Sounds good to me |
#60 covers this issue |
Based on your comments in the closed PR I'm looking through types like |
For reference sake I'm using clap with derive sub commands to mimic the structure of k8s or docker commands i.e
If we removed self from
But at the moment the need to first create the struct makes that more difficult rather than just passing id directly to VenClient::delete |
Hm, that's a good one. We did not really consider that when designing the API of the client library. Maybe there is a third option we could consider. If you want to delete a
Another example would be if you want to create a What do you think of this approach? |
Hey @KeeganMyers, |
@KeeganMyers, I just removed you as an assignee from this issue as you seemed to be unresponsive the last months. If you are still interested, please send a short message and I'll assign you again. Let me know if you would like any help. |
The intention is to create a CLI application that uses the
openleadr-client
crate to allow users to create/update/modify/delete programs/events/reports/vens/resources on the VTN.The file
openleadr-client/src/bin/cli.rs
contains a stub for a CLI application, which needs to be filled.The text was updated successfully, but these errors were encountered: