3 ms·
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
by leetrout 11y ago
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.
- deleted 11y ago[deleted]
- timothycrosley 11y agoauthor: 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/cli.py https://github.com/timothycrosley/hug/blob/develop/examples/... and a full explanation of the concept here: https://github.com/timothycrosley/hug/blob/develop/ARCHITECTURE.md#the-guiding-thought-behind-the-architecture https://github.com/timothycrosley/hug/blob/develop/ARCHITECT...