alecthomas / devtodo2

DevTodo the Second
100 stars 18 forks source link

~/.todorc configuration file #9

Open Zearin opened 10 years ago

Zearin commented 10 years ago

From the README's “Not currently supported” list

DenLilleMand commented 7 years ago

@alecthomas I was thinking about making the configuration in JSON, now that the tasklist is in JSON i think it would make it more coherent, and if you could open this issue again, then i will refer to this in my PR when i get that far.

DenLilleMand commented 7 years ago

@alecthomas and ... I was thinking about making something like a priority for options, so the options would be loaded and overriden in the following order:

  1. Defaults
  2. config from .todorc
  3. cmd line options

And all of the options should be available in the cmd line and .todorc ...

What do you think about this??

alecthomas commented 7 years ago

Yes, seems reasonable to me! You can see an example of using kingpin with JSON config, in gometalinter.