borkdude/carve

Options from config file?

AndreaCrotti opened this issue · 3 comments

When I pass many flags to carve, it gets a bit tricky to keep track of all the quotes and ().

Maybe if there was a flag --opts-from I could more simply have all the configuration in an end file and get read them from there?

We could parse a file from --opts when:

  • opts doesn't start with {
  • (.exists (io/file opts) returns true

Yeah that would work and should not really break anything

PR welcome.