rob-murray / ferver

A Ruby gem to serve files over HTTP, packaged as a Ruby gem
MIT License
14 stars 3 forks source link

Add opts parser #10

Closed rob-murray closed 10 years ago

rob-murray commented 10 years ago

Use StdLib optparse to parse command line options; enabling named params.

This will affect the CLI usage, new format will be below but is worth it long term.

$ ferver -p /path/to/directory
coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.22%) when pulling 8ca3db2fd2f933ce260e17c73157594d1cc31847 on add_opts_parser into a2748ba0957908eae2a2de3603b0259efa5075da on master.

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.22%) when pulling 1fc44366b3e9d96517c7e83872391bae6262592c on add_opts_parser into a2748ba0957908eae2a2de3603b0259efa5075da on master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.36%) when pulling 38d94bb8063b389d42687b1e0ef3c4a0b5d3bdfb on add_opts_parser into a2748ba0957908eae2a2de3603b0259efa5075da on master.