Neat-Lang / neat

The Neat Language compiler. Early beta?
BSD 3-Clause "New" or "Revised" License
111 stars 9 forks source link

Write an example actually using argparse parser for a regular command-line program #56

Open rsaarelm opened 8 months ago

rsaarelm commented 8 months ago

The current examples are all unit-test style examples of individual features.

A minimal complete program accepts some argument flags, does dummy actions when the flags are correct, and prints an usage message and exits with an error code when there's a parsing error.