Skip to content

Use `getopts` library for argument parsing

AdminXVII requested to merge AdminXVII/ion:getopts into master

Use the specialized getopts library for argument parsing rather than a hand rolled one. It streamlines the CLI format and handles the edge cases for us. It also allows future improvement at a lower cost and improves the separation between the scripting engine and the frontend used to call it.

This increase the binary by only 0.9%, as opposed to CLAP's 12%

Related: !896 (closed)

Merge request reports