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.

Show HN: Header-only, extensible C++17 argument parser

21 pointsby sail0rm00nover 8 years ago

2 comments

Animatsover 8 years ago
Compare &quot;argparse&quot;, in Python.[1] There are a number of argument parsers like this. They have some way to describe the expected form of the command line, and check it. Errors result in a &quot;usage&quot; message which shows the desired form of the command line in the usual &quot;help&quot; style.<p>Github has at least three C++ implementations of &quot;argparse&quot;. Here&#x27;s a header-only one.[2]<p>[1] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;argparse.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;argparse.html</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;hbristow&#x2F;argparse" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hbristow&#x2F;argparse</a>
评论 #12939941 未加载
sail0rm00nover 8 years ago
By the way, I am looking for any and all feedback and would love a code-review!