Skip to content

Commit

Permalink
fix: Do not uninstall binaries when using package manager ⚓
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx committed Apr 4, 2024
1 parent 42bb845 commit a91c645
Show file tree
Hide file tree
Showing 54 changed files with 400 additions and 324 deletions.
44 changes: 28 additions & 16 deletions docs/cli/git_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,31 @@ git hooks

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
* [git hooks disable](git_hooks_disable.md) - Disables Githooks in the current repository or globally.
* [git hooks exec](git_hooks_exec.md) - Execute namespace paths pointing to an executable or run configuration.
* [git hooks ignore](git_hooks_ignore.md) - Ignores or activates hook in the current repository.
* [git hooks images](git_hooks_images.md) - Manage container images.
* [git hooks install](git_hooks_install.md) - Installs Githooks run-wrappers into the current repository.
* [git hooks installer](git_hooks_installer.md) - Githooks installer application.
* [git hooks list](git_hooks_list.md) - Lists the active hooks in the current repository.
* [git hooks readme](git_hooks_readme.md) - Manages the Githooks README in the current repository.
* [git hooks shared](git_hooks_shared.md) - Manages the shared hook repositories.
* [git hooks trust](git_hooks_trust.md) - Manages settings related to trusted repositories.
* [git hooks uninstall](git_hooks_uninstall.md) - Uninstalls Githooks run-wrappers into the current repository.
* [git hooks uninstaller](git_hooks_uninstaller.md) - Githooks uninstaller application.
* [git hooks update](git_hooks_update.md) - Performs an update check.

###### Auto generated by spf13/cobra
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.
- [git hooks disable](git_hooks_disable.md) - Disables Githooks in the current
repository or globally.
- [git hooks exec](git_hooks_exec.md) - Execute namespace paths pointing to an
executable or run configuration.
- [git hooks ignore](git_hooks_ignore.md) - Ignores or activates hook in the
current repository.
- [git hooks images](git_hooks_images.md) - Manage container images.
- [git hooks install](git_hooks_install.md) - Installs Githooks run-wrappers
into the current repository.
- [git hooks installer](git_hooks_installer.md) - Githooks installer
application.
- [git hooks list](git_hooks_list.md) - Lists the active hooks in the current
repository.
- [git hooks readme](git_hooks_readme.md) - Manages the Githooks README in the
current repository.
- [git hooks shared](git_hooks_shared.md) - Manages the shared hook
repositories.
- [git hooks trust](git_hooks_trust.md) - Manages settings related to trusted
repositories.
- [git hooks uninstall](git_hooks_uninstall.md) - Uninstalls Githooks
run-wrappers into the current repository.
- [git hooks uninstaller](git_hooks_uninstaller.md) - Githooks uninstaller
application.
- [git hooks update](git_hooks_update.md) - Performs an update check.

###### Auto generated by spf13/cobra
54 changes: 35 additions & 19 deletions docs/cli/git_hooks_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,38 @@ git hooks config

### SEE ALSO

* [git hooks](git_hooks.md) - Githooks CLI application
* [git hooks config clone-branch](git_hooks_config_clone-branch.md) - Changes the Githooks clone url used for any update.
* [git hooks config clone-url](git_hooks_config_clone-url.md) - Changes the Githooks clone url used for any update.
* [git hooks config container-manager-types](git_hooks_config_container-manager-types.md) - Set container manger types to use (see `enable-containerized-hooks`).
* [git hooks config delete-detected-lfs-hooks](git_hooks_config_delete-detected-lfs-hooks.md) - Change the behavior for detected LFS hooks during install.
* [git hooks config disable](git_hooks_config_disable.md) - Disables Githooks in the current repository or globally.
* [git hooks config disable-shared-hooks-update](git_hooks_config_disable-shared-hooks-update.md) - Disable/enable automatic updates of shared hooks.
* [git hooks config enable-containerized-hooks](git_hooks_config_enable-containerized-hooks.md) - Enable running hooks containerized.
* [git hooks config list](git_hooks_config_list.md) - Lists settings of the Githooks configuration.
* [git hooks config non-interactive-runner](git_hooks_config_non-interactive-runner.md) - Enables/disables non-interactive execution of the runner.
* [git hooks config search-dir](git_hooks_config_search-dir.md) - Changes the search directory used during installation.
* [git hooks config shared](git_hooks_config_shared.md) - Updates the list of local or global shared hook repositories.
* [git hooks config skip-non-existing-shared-hooks](git_hooks_config_skip-non-existing-shared-hooks.md) - Enable or disable skipping non-existing shared hooks.
* [git hooks config skip-untrusted-hooks](git_hooks_config_skip-untrusted-hooks.md) - Enable/disable skipping active, untrusted hooks.
* [git hooks config trust-all](git_hooks_config_trust-all.md) - Change trust settings in the current repository.
* [git hooks config update](git_hooks_config_update.md) - Change Githooks update settings.
* [git hooks config update-time](git_hooks_config_update-time.md) - Changes the Githooks update time.

###### Auto generated by spf13/cobra
- [git hooks](git_hooks.md) - Githooks CLI application
- [git hooks config clone-branch](git_hooks_config_clone-branch.md) - Changes
the Githooks clone url used for any update.
- [git hooks config clone-url](git_hooks_config_clone-url.md) - Changes the
Githooks clone url used for any update.
- [git hooks config container-manager-types](git_hooks_config_container-manager-types.md) -
Set container manger types to use (see `enable-containerized-hooks`).
- [git hooks config delete-detected-lfs-hooks](git_hooks_config_delete-detected-lfs-hooks.md) -
Change the behavior for detected LFS hooks during install.
- [git hooks config disable](git_hooks_config_disable.md) - Disables Githooks in
the current repository or globally.
- [git hooks config disable-shared-hooks-update](git_hooks_config_disable-shared-hooks-update.md) -
Disable/enable automatic updates of shared hooks.
- [git hooks config enable-containerized-hooks](git_hooks_config_enable-containerized-hooks.md) -
Enable running hooks containerized.
- [git hooks config list](git_hooks_config_list.md) - Lists settings of the
Githooks configuration.
- [git hooks config non-interactive-runner](git_hooks_config_non-interactive-runner.md) -
Enables/disables non-interactive execution of the runner.
- [git hooks config search-dir](git_hooks_config_search-dir.md) - Changes the
search directory used during installation.
- [git hooks config shared](git_hooks_config_shared.md) - Updates the list of
local or global shared hook repositories.
- [git hooks config skip-non-existing-shared-hooks](git_hooks_config_skip-non-existing-shared-hooks.md) -
Enable or disable skipping non-existing shared hooks.
- [git hooks config skip-untrusted-hooks](git_hooks_config_skip-untrusted-hooks.md) -
Enable/disable skipping active, untrusted hooks.
- [git hooks config trust-all](git_hooks_config_trust-all.md) - Change trust
settings in the current repository.
- [git hooks config update](git_hooks_config_update.md) - Change Githooks update
settings.
- [git hooks config update-time](git_hooks_config_update-time.md) - Changes the
Githooks update time.

###### Auto generated by spf13/cobra
5 changes: 3 additions & 2 deletions docs/cli/git_hooks_config_clone-branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ git hooks config clone-branch [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
5 changes: 3 additions & 2 deletions docs/cli/git_hooks_config_clone-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ git hooks config clone-url [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
5 changes: 3 additions & 2 deletions docs/cli/git_hooks_config_container-manager-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ git hooks config container-manager-types [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
8 changes: 4 additions & 4 deletions docs/cli/git_hooks_config_delete-detected-lfs-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Change the behavior for detected LFS hooks during install.

### Synopsis

By default, detected LFS hooks during install are
disabled and backed up.
By default, detected LFS hooks during install are disabled and backed up.

```
git hooks config delete-detected-lfs-hooks [flags]
Expand All @@ -25,6 +24,7 @@ git hooks config delete-detected-lfs-hooks [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
8 changes: 4 additions & 4 deletions docs/cli/git_hooks_config_disable-shared-hooks-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Disable/enable automatic updates of shared hooks.

### Synopsis

Disable/enable automatic updates of shared hook
repositories.
Disable/enable automatic updates of shared hook repositories.

```
git hooks config disable-shared-hooks-update [flags]
Expand All @@ -25,6 +24,7 @@ git hooks config disable-shared-hooks-update [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
9 changes: 5 additions & 4 deletions docs/cli/git_hooks_config_disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Disables Githooks in the current repository or globally.

### Synopsis

Disables Githooks in the current repository or globally.
LFS hooks and replaced previous hooks are still executed by Githooks.
Disables Githooks in the current repository or globally. LFS hooks and replaced
previous hooks are still executed by Githooks.

```
git hooks config disable [flags]
Expand All @@ -24,6 +24,7 @@ git hooks config disable [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
5 changes: 3 additions & 2 deletions docs/cli/git_hooks_config_enable-containerized-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ git hooks config enable-containerized-hooks [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
9 changes: 5 additions & 4 deletions docs/cli/git_hooks_config_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Lists settings of the Githooks configuration.

### Synopsis

Lists the Githooks related settings of the Githooks configuration.
Can be either global or local configuration, or both by default.
Lists the Githooks related settings of the Githooks configuration. Can be either
global or local configuration, or both by default.

```
git hooks config list [flags]
Expand All @@ -21,6 +21,7 @@ git hooks config list [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
14 changes: 7 additions & 7 deletions docs/cli/git_hooks_config_non-interactive-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ Enables/disables non-interactive execution of the runner.

### Synopsis

Enable or disables non-interactive execution of
the Githooks runner executable.
Enable or disables non-interactive execution of the Githooks runner executable.

Enabling non-interactivity will only default answer all non-fatal prompts.
Fatal prompts (e.g. the trust prompts) still need to be configured to pass.
See `git hooks config trust-all --help`.
Enabling non-interactivity will only default answer all non-fatal prompts. Fatal
prompts (e.g. the trust prompts) still need to be configured to pass. See
`git hooks config trust-all --help`.

```
git hooks config non-interactive-runner [flags]
Expand All @@ -29,6 +28,7 @@ git hooks config non-interactive-runner [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
8 changes: 4 additions & 4 deletions docs/cli/git_hooks_config_search-dir.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Changes the search directory used during installation.

### Synopsis

Changes the previous search directory setting
used during installation.
Changes the previous search directory setting used during installation.

```
git hooks config search-dir [flags]
Expand All @@ -22,6 +21,7 @@ git hooks config search-dir [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
9 changes: 5 additions & 4 deletions docs/cli/git_hooks_config_shared.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Updates the list of local or global shared hook repositories.

Updates the list of local or global shared hook repositories.

The `--add` option accepts multiple `<git-url>` arguments,
each containing a clone URL of a shared hook repository which gets added.
The `--add` option accepts multiple `<git-url>` arguments, each containing a
clone URL of a shared hook repository which gets added.

```
git hooks config shared [flags] [<git-url>...]
Expand All @@ -26,6 +26,7 @@ git hooks config shared [flags] [<git-url>...]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
10 changes: 5 additions & 5 deletions docs/cli/git_hooks_config_skip-non-existing-shared-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ Enable or disable skipping non-existing shared hooks.

### Synopsis

Enable or disable failing hooks with an error when any
shared hooks are missing. This usually means `git hooks shared update`
has not been called yet.
Enable or disable failing hooks with an error when any shared hooks are missing.
This usually means `git hooks shared update` has not been called yet.

```
git hooks config skip-non-existing-shared-hooks [flags]
Expand All @@ -26,6 +25,7 @@ git hooks config skip-non-existing-shared-hooks [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
10 changes: 5 additions & 5 deletions docs/cli/git_hooks_config_skip-untrusted-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ Enable/disable skipping active, untrusted hooks.

### Synopsis

Enable or disable failing hooks with an error when any
active, untrusted hooks are present.
Mostly wanted if all hooks must be executed.
Enable or disable failing hooks with an error when any active, untrusted hooks
are present. Mostly wanted if all hooks must be executed.

```
git hooks config skip-untrusted-hooks [flags]
Expand All @@ -26,6 +25,7 @@ git hooks config skip-untrusted-hooks [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
5 changes: 3 additions & 2 deletions docs/cli/git_hooks_config_trust-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ git hooks config trust-all [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
11 changes: 6 additions & 5 deletions docs/cli/git_hooks_config_update-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Changes the Githooks update time.

Changes the Githooks update time used to check for updates.

Resets the last Githooks update time with the `--reset` option,
causing the update check to run next time if it is enabled.
Use 'git hooks update [--enable|--disable]' to change that setting.
Resets the last Githooks update time with the `--reset` option, causing the
update check to run next time if it is enabled. Use 'git hooks update
[--enable|--disable]' to change that setting.

```
git hooks config update-time [flags]
Expand All @@ -24,6 +24,7 @@ git hooks config update-time [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
5 changes: 3 additions & 2 deletions docs/cli/git_hooks_config_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ git hooks config update [flags]

### SEE ALSO

* [git hooks config](git_hooks_config.md) - Manages various Githooks configuration.
- [git hooks config](git_hooks_config.md) - Manages various Githooks
configuration.

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
4 changes: 2 additions & 2 deletions docs/cli/git_hooks_disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ git hooks disable [flags]

### SEE ALSO

* [git hooks](git_hooks.md) - Githooks CLI application
- [git hooks](git_hooks.md) - Githooks CLI application

###### Auto generated by spf13/cobra
###### Auto generated by spf13/cobra
Loading

0 comments on commit a91c645

Please sign in to comment.