anlsys / libnrm

Node Resource Manager communication library
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

[feature] common argument parsing for nrm binaries #62

Closed perarnau closed 1 year ago

perarnau commented 1 year ago

Implement most of the logic for command line argument parsing as common library functions.

Doesn't help us parse arguments for nrmc subcommands, but it's a start. This went through several revisions, including trying argtable, which proved unsuitable for stacking command arguments, and too complex for simply parsing arguments once.