Skip to content

Install and Uninstall Enhancements #18

Description

@JoshuaTheMiller

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    MVPAddress this issue before the next release

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions