i asked this on IRC.. .. need some help if someone got some idea on it ?
[19:25] <DJ_> Hello, got a question .. in katello-cli ... i am checking below system
api
[19:25] <DJ_>
https://github.com/Katello/katello-cli/blob/master/src/katello/client/api...
[19:25] <DJ_> i am interested in
[19:25] <DJ_> def find_by_custom_info(self, org, key, value):
[19:25] <DJ_> method ...
[19:25] <DJ_> I dont see any call to this method so i can find systems using custom
information i have created ....
[19:27] <DJ_> though i am not python expert .. but i saw code and i can see i need
to create that in core/system.py
[19:27] <DJ_> and add it to
[19:27] <DJ_>
https://github.com/Katello/katello-cli/blob/master/src/katello/client/mai...
[19:27] <DJ_> But if i only want to write my own script for that particular method
how would i do that ? ... so for example .. i want to write something .. . and i can run
like
[19:28] <DJ_> python find_by_cust_info.py key="name" value="i am
here"
[19:28] <DJ_> i am not getting how i can load authentication modules .. particularly
..
[19:35] <DJ_> bit longer question.. but appriciate some help :) ....
Regards,
DJ