jmalloc / grit

Keep track of your local Git clones.
MIT License
22 stars 3 forks source link

Add commands for reading and manipulating the config. #8

Closed jmalloc closed 3 years ago

jmalloc commented 7 years ago
jmalloc commented 7 years ago

The config gets normalized, which includes adding implicit entries such as the github clone source, and adding $GOPATH/src to the index paths. Ideally, however, when saving config files these implicit entries wouldn't be included.

Either the actual config needs to be made available, as well as the normalized one, or the in-memory state of the config should always reflect the actual configuration file, and methods added to Config to get the "effective" values.

jmalloc commented 3 years ago

I haven't found these necessary. The config files have remained very static and easy to edit manually. For the sake of simplicity I think I will remove the source ls command and close this issue.