It sucks to loose your aliases because click was killed for some reason. This PR makes it so that any time you add/remove and alias, or change context, the config file is written out.
It also makes it so writing the config is atomic (using the atomicfile crate), so it's safe to do this from multiple running instances of Click.
It sucks to loose your aliases because click was killed for some reason. This PR makes it so that any time you add/remove and alias, or change context, the config file is written out.
It also makes it so writing the config is atomic (using the
atomicfile
crate), so it's safe to do this from multiple running instances of Click.