Re: Tips to add optional arguments on dnf using plugin

2019-07-23 Thread Fellipe Henrique
f not recognize the new argument.. only approach I can get global args, is add inside *def _main_parser(self)*: * on option_parser.py * on dnf package.. but, I avoid to change anything from mainstream.. Cheers, T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares* e-mail: > echo "lkrrovknFmsgo

Re: Tips to add optional arguments on dnf using plugin

2019-07-23 Thread Fellipe Henrique
Thinking here about these... If I made a fork from dnf package, and put arguments inside OptionParser class, on option_parser.py... I get the "global" argument as I needed... but how can I get these argument value inside my plugin? Any idea? cheers T.·.F.·.A.·. S+F *Fellipe

Re: Tips to add optional arguments on dnf using plugin

2019-07-23 Thread Fellipe Henrique
ll dnf commands( repolist, install, remove etc..) Maybe I need to change my approach, as you said @Nicolas Cheers! T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares* e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge' *Fedora Am

Re: Tips to add optional arguments on dnf using plugin

2019-07-23 Thread Fellipe Henrique
etails? What are you > trying to achieve? > > Regards, > > Marek > > -- > Marek Blaha > > Red Hat Czech s.r.o. > Software Engineer > > On Mon, Jul 22, 2019 at 7:59 PM Fellipe Henrique > wrote: > > > > Hello, > > > > First of all, than

Tips to add optional arguments on dnf using plugin

2019-07-22 Thread Fellipe Henrique
ugin with these approach? I already try to override OptionParser from cli inside Plugin class, no success... I try just parse cli args, but dnf still says my argument if not recognized.. Anyone, have any tips how to do that? Best regards, T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares*