louisdh/openterm

Create a Utility Flag Parser for arguments

JayantVarma opened this issue · 1 comments

Currently, each command extension created will create redundant and duplicate code for parsing the flags passed as arguments to the command.

Something on the lines of getOpt with Linux systems (maybe) with both short and long options.

getOpts is already available to use via Swift, why not create a generic wrapper around getOpts and/or getOptLong to parse command-line options instead.