TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python Fire, a library for automatically generating command line interfaces

6 pointsby tempwabout 8 years ago

1 comment

jijojvabout 8 years ago
Meh just ok for POC. Take the time to build a proper cli which tells you all the parameters and args it would take.<p>$ .&#x2F;example.py Type: Example String form: &lt;__main__.Example object at 0x10674d890&gt; File: ~&#x2F;tmp&#x2F;example.py<p>Usage: .&#x2F;example.py .&#x2F;example.py hello<p>$ .&#x2F;example.py hello Hello world!<p>$ .&#x2F;example.py hello adsf Hello adsf!