<div dir="ltr">Why not to use stevedore?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 18, 2014 at 1:42 PM, Igor Kalnitsky <span dir="ltr"><<a href="mailto:ikalnitsky@mirantis.com" target="_blank">ikalnitsky@mirantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>Actually, I'm not a fun of cliff, but I think it's a good solution to use it in our fuel client.</div>
<div><br></div><div>Here some pros:</div><div><br></div><div>* pluggable design: we can encapsulate entire command logic in separate plugin file</div>
<div>* builtin output formatters: we no need to implement various formatters to represent received data</div>
<div>* interactive mode: cliff makes possible to provide a shell mode, just like psql do</div><div><br></div><div>Well, I vote to use cliff inside fuel client. Yeah, I know, we need to rewrite a lot of code, but we</div>

<div>can do it step-by-step.</div><div><br></div><div>- Igor</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jun 18, 2014 at 9:14 AM, Dmitriy Shulyak <span dir="ltr"><<a href="mailto:dshulyak@mirantis.com" target="_blank">dshulyak@mirantis.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi folks,<div><br><div>I am wondering what our story/vision for plugins in fuel client [1]?</div>
<div><br>
</div><div><div>We can benefit from using cliff [2] as framework for fuel cli, apart from common code</div>
<div>for building cli applications on top of argparse, it provides nice feature that allows to </div><div>dynamicly add actions by means of entry points (stevedore-like).</div></div></div><div><br></div><div>So we will be able to add new actions for fuel client simply by installing separate packages with correct entry points.</div>


<div><br></div><div>Afaik stevedore is not used there, but i think it will be - cause of same author and maintainer.</div><div><br></div><div>Do we need this? Maybe there is other options?</div><div><br></div><div>Thanks</div>


<div><br></div><div>[1] <a href="https://github.com/stackforge/fuel-web/tree/master/fuelclient" target="_blank">https://github.com/stackforge/fuel-web/tree/master/fuelclient</a></div><div>[2]  <a href="https://github.com/openstack/cliff" target="_blank">https://github.com/openstack/cliff</a></div>


</div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Andrey Danin<br><a href="mailto:adanin@mirantis.com" target="_blank">adanin@mirantis.com</a><br>skype: gcon.monolake<br>
</div>