3 ms·
I got really excited when I saw `from_ini` but disappointed when I saw no `to_ini`. I would really like to find a good workflow for idempotent modifications to
by RulerOf 2y ago
I got really excited when I saw `from_ini` but disappointed when I saw no `to_ini`.
I would really like to find a good workflow for idempotent modifications to INI files, but haven't stumbled across one yet.
- saint_yossarian 2y agoI'm abusing `git config -f $PATH` as a poor man's portable INI parser/modifier in shell scripts, works pretty well but imposes some Git-specific syntax limitations.
- RulerOf 2y agoFunny enough, the thing that brought this up for me most recently was that some value in `~/.gitconfig` is not idempotent when set through the command line, and I was trying to use it in a shell startup script.