At its core, grits applies regular expressions with named captures to input lines. These captures are then available as variables (a.k.a. anchors) which can then be used in a grits template string.
Parse () fmt. Printf ("%v, %s\n", *verbose, *name) } More examples are available. Second to parsing, providing the user with useful help is probably the most important thing a command-line parser does ...