I consider "pop" to be the opposite behaviour of "push", and so I think tuckr pop should do the inverse of tuckr push.
Currently, tuckr pop just removes the group and cleans up its symbolic links (ie tuckr rm some_group && rm Configs/some_group), whereas tuckr push begins with the given files already existing on the system.
As such, I think it would be logical for tuckr pop to restore any symbolic linked files from some_group to just be regular old files, ie: for each file in some_group:
- Copy the file from the dotfiles repository to its install location on the system, replacing the symbolic link
- Remove the file from the dotfiles.
This would also lend itself nicely to allowing specific files to be given as arguments to tuckr pop, expanding the usefulness of the command.
I consider "pop" to be the opposite behaviour of "push", and so I think
tuckr popshould do the inverse oftuckr push.Currently,
tuckr popjust removes the group and cleans up its symbolic links (ietuckr rm some_group && rm Configs/some_group), whereastuckr pushbegins with the given files already existing on the system.As such, I think it would be logical for
tuckr popto restore any symbolic linked files fromsome_groupto just be regular old files, ie: for each file insome_group:This would also lend itself nicely to allowing specific files to be given as arguments to
tuckr pop, expanding the usefulness of the command.