Closed milahu closed 2 years ago
thanks for the cleanup : )
edit: but still ... this is an invitation to user errors, for example
accidentally replacing a config file with true
, but having no backup of the file
maybe hide this behind a --force
flag?
#[clap(requires("val"))]
should prevent in-place editing without changing a value but right now it wouldn't work with -a
option. Lemme read over the clap docs again
Looks great! Thanks for the PR!
fix #9