Add documentation for hooks command (#2089)

This commit is contained in:
sandipanpanda 2021-10-02 22:30:24 +05:30 committed by GitHub
parent 3b1bc86031
commit 681d31bc36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ The most common subcommands are:
* [`pyenv whence`](#pyenv-whence) * [`pyenv whence`](#pyenv-whence)
* [`pyenv root`](#pyenv-root) * [`pyenv root`](#pyenv-root)
* [`pyenv prefix`](#pyenv-prefix) * [`pyenv prefix`](#pyenv-prefix)
* [`pyenv hooks`](#pyenv-hooks)
## `pyenv commands` ## `pyenv commands`
@ -296,3 +296,9 @@ currently selected version.
$ pyenv prefix 3.9.7 $ pyenv prefix 3.9.7
/home/user/.pyenv/versions/3.9.7 /home/user/.pyenv/versions/3.9.7
## `pyenv hooks`
Usage: $ pyenv hooks <command>
Lists installed hook scripts for a given pyenv command.