Introducing Argparse Library
summary
Argparse provides a single in-tree argument parser that is integrated in DPDK 24.03 and already used in two DPDK examples; it centralizes previously scattered getopts logic into one structure and a one-line parse call. It parses flags, positional args, repeated comma lists, and allow/block lists, generates usage and error messages, and supports auto type parsing for ints and strings plus callback handlers for custom validation. Plans include a comma-list helper and more app tests.
AI-written summary · about
