guluc3m / gul-zoe

Asistente de la asociación GUL UC3M (Zoe 1.0)
11 stars 3 forks source link

Mejorar argsparse #1

Closed javierhonduco closed 11 years ago

javierhonduco commented 11 years ago

Quizás estaria guay usar argsparse: http://docs.python.org/3.4/library/argparse.html :)

voiser commented 11 years ago

Right now the only args parsing we a re doing is here:

https://github.com/guluc3m/gul-zoe/blob/master/src/stalker_agent.py

How would it be improved by using argsparse? Would it be as simple as it is right now? Would it follow the KISS principle? If you think so, please do not hesitate to do it.

Cheers

javierhonduco commented 11 years ago

@miguxbe And I think so... It'll be simpler, and way cleaner. Yeah, we should discuss this, among other things such as zöe's architecture maybe in The next gul-root. BTW, Miguel and I made a simple class to detect the availability of some services. More docs would be great :) PS We'd get The best ideas from github/hubot ;)