square/cane — pull request #2 by benhamill (2012-02-16 23:16:16+00:00)
Title: Read and merge options from .cane file.

This is my first attempt at having cane read options from a .cane file in the directory it's run from. I'm not sure it's 100%. Two things, in particular:

1. I'm not sure how to write a test for this in the existing test files. Would love some guidance.
2. It just merges the options from the file in front of the options from the command line, but cane doesn't respect argument order, so neither does this. I.e. if you run `cane --no-doc --doc-glob **/*.rb` and `can --doc-glob **/*.rb --no-doc` you get the same output, where I would expect the latter to run with `--no-doc`. That's a separate pull request, though, I expect.

So. Thoughts?