devtodo2 icon indicating copy to clipboard operation
devtodo2 copied to clipboard

~/.todorc configuration file

Open Zearin opened this issue 10 years ago • 3 comments

From the README's “Not currently supported” list

Zearin avatar Aug 24 '14 14:08 Zearin

@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 avatar Apr 01 '17 19:04 DenLilleMand

@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??

DenLilleMand avatar Apr 03 '17 21:04 DenLilleMand

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

alecthomas avatar Apr 03 '17 21:04 alecthomas