-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
MVPAddress this issue before the next releaseAddress this issue before the next release
Description
Install should, if hookboy has not yet been used in the git repository, take a snapshot of the current git hooks folder. It should then delete all files besides the snapshot and place a file called .hookboy-conf to denote that hookboy has been installed.
Uninstall (new command) should check for the existence of a .hookboy-conf file and return gracefully if none is found. If one is found, all hookboy files and folders should be removed from the .git/hooks folder. If a snapshot folder is present, all files and folders from within should be moved back to the .git/hooks folder.
Clean (new command) should ask for confirmation before it is fully ran. When ran, it should delete all files and folders from within the .git/hooks directory.
- "Snapshot" could mean move all existing files to a folder called
snapshot-b4-hookboy
Metadata
Metadata
Assignees
Labels
MVPAddress this issue before the next releaseAddress this issue before the next release