Florent2/Watts-Strogatz-model-network-generator — Issue #10: Use OptionParser to allow for named arguments on the command line
Author: sandal
Created: 2012-01-28 23:51:50+00:00
State: open

Similar to having a method with several ordinal arguments, a command line tool that takes more than one or two arguments should use named arguments rather than ordinal ones. This can be accomplished through the use of the `OptionParser` standard library.

I'd expect to be able to run something like:

```bash

# use defaults
$ wsmodel

# override the number of nodes
$ wsmodel --nodes 10

# specify all options
$ wsmodel --nodes=1000 --degrees=10 --iterations=20

```