joukewitteveen/netcfg — Issue #2: Argument handling with process-getopts
Author: masterkorp
Created: 2012-03-07 00:32:02+00:00
State: open

So cool thing to add to netcfg would be proper argument handling

$ netcfg profile1 -r profile2

This taking up profile1 and reconnecting profile2

$ netcfg -r profile1 profile2 down profile3 -u profile4 current

Reconnecting profile{1,2}, taking down profile3, profile4 and displaying online profiles

Adding support to all the flags and args.
I tried before to add this on netcfg script itself, it get cluttered up.
The option i prupose is using [process-getopt](https://github.com/masterkorp/process-getopt).
It adds another dependency, but i think it worths it.

If you give me a heads up, I will start working on it, if you like, we keep working from there.