Added a backup option to the link action, an option which defaults to false.
If backup is set to true, existing files/directories will be backed up by renaming the file on the format
<original-filename>.dotbot-backup.
This is useful for distributions where for example .bashrc is created during installation with sane defaults and you don't want to manually back them up.
Added option to plugin
Added unit tests
Added information about option in README + fixed formatting of options table
Added a backup option to the link action, an option which defaults to false. If backup is set to true, existing files/directories will be backed up by renaming the file on the format
<original-filename>.dotbot-backup
.This is useful for distributions where for example
.bashrc
is created during installation with sane defaults and you don't want to manually back them up.