News for hackers. Stuff that matters.
Re:New Python REST API and CLI micro-framework by leetrout on Thursday February 18, 2016 @11:06PM (#11131459)
This looks neat. I like the 404 handler showing a spec!

The title confused me as I expected something to help me write a CLI app... If anyone else was thinking that way I highly recommend looking at pyinvoke.org or Argh.

Re:New Python REST API and CLI micro-framework by timothycrosley on Thursday February 18, 2016 @11:27PM (#11131535)
author: Hug actually does make it super easy to write a CLI app, you can see an example here: https://github.com/timothycrosley/hug/blob/develop/examples/... and a full explanation of the concept here: https://github.com/timothycrosley/hug/blob/develop/ARCHITECT...