Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: CLI binding for option parsing #2492
How would that work?
The best solution I can think of is something like this:
It would read
(only variables for existing keys are printed)
However I don't see how this is any better than
Yes, I think the interface of getopt(1) from util-linux is okay (very similar like you suggested, your suggestion is even better actually). I only would use specification as mounted to spec, so something like:
Often you have applications and shell scripts accessing the same configuration (specification).