Skip to main content
Active reading [<https://en.wikipedia.org/wiki/Python_%28programming_language%29>]. Dressed the naked link.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

DocoptDocopt has a C implementation that I thought was quite nice nice: https://github.com/docopt/docopt.c

From a man-page standardized format describing command line options, docopt infers and creates an argument parser. ThisThis got started in python;Python; the pythonPython version literally just parses the docstring and returns a dict. ToTo do this in C takes a little more work, but it's clean to use and has no external dependencies.

Docopt has a C implementation that I thought was quite nice: https://github.com/docopt/docopt.c

From a man-page standardized format describing command line options, docopt infers and creates an argument parser. This got started in python; the python version literally just parses the docstring and returns a dict. To do this in C takes a little more work, but it's clean to use and has no external dependencies.

Docopt has a C implementation that I thought was quite nice:

From a man-page standardized format describing command line options, docopt infers and creates an argument parser. This got started in Python; the Python version literally just parses the docstring and returns a dict. To do this in C takes a little more work, but it's clean to use and has no external dependencies.

Source Link
gvoysey
  • 556
  • 1
  • 6
  • 15

Docopt has a C implementation that I thought was quite nice: https://github.com/docopt/docopt.c

From a man-page standardized format describing command line options, docopt infers and creates an argument parser. This got started in python; the python version literally just parses the docstring and returns a dict. To do this in C takes a little more work, but it's clean to use and has no external dependencies.