mirror of
https://github.com/omegaleo/SecretSecurity.git
synced 2026-11-09 01:53:31 +00:00
added uninstall and update commands
This commit is contained in:
@@ -39,6 +39,22 @@ secretsecurity install
|
||||
|
||||
This writes a `pre-commit` hook to `.git/hooks/` that runs `secretsecurity scan` automatically on every commit.
|
||||
|
||||
### Uninstall the pre-commit hook
|
||||
|
||||
```bash
|
||||
secretsecurity uninstall
|
||||
```
|
||||
|
||||
Removes the hook if it was installed by SecretSecurity. If the hook was created by something else, it is left untouched.
|
||||
|
||||
### Update
|
||||
|
||||
```bash
|
||||
secretsecurity update
|
||||
```
|
||||
|
||||
Updates the tool to the latest version via `dotnet tool update --global`.
|
||||
|
||||
### Scan manually
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user