-
Notifications
You must be signed in to change notification settings - Fork 98
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
Rework kci pubsub
commands with Click
framework
#2203
Conversation
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.
OK this doesn't change any of the bindings so it can be done in parallel of the API class rework. Then when adding the queue commands etc. with new bindings, it would be good to do it directly on top of the reworked API class with a nested class for events.
f995b2c
to
e500abe
Compare
Rework CLI tools to interact with the API PubSub interface with `Click` framework. Rename group of commands from `kci pubsub` to `kci event` and add sub-commands to subscribe, unsubscribe, receive and send events. Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Remove CLI tool for API PubSub from `kernelci.legacy` module as it has been reworked and added to `kernelci.cli` module. Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
e500abe
to
24b5ad2
Compare
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.
Tested on staging:
subscribe, receive, unsubscribe, send
Rework CLI tools to interact with the API PubSub interface with
Click
framework.Added
kci event
commands.