Add cli commands to regen hooks & keys (#3979)
* Add cli commands to regen hooks & keys * make fmt * Allow passing path to config as an option * add docs
This commit is contained in:
parent
ecfc401eaa
commit
8176345c0e
2 changed files with 65 additions and 0 deletions
|
@ -64,6 +64,13 @@ Admin operations:
|
|||
- `--password value`, `-p value`: New password. Required.
|
||||
- Examples:
|
||||
- `gitea admin change-password --username myname --password asecurepassword`
|
||||
- `regenerate`
|
||||
- Options:
|
||||
- `hooks`: Regenerate git-hooks for all repositories
|
||||
- `keys`: Regenerate authorized_keys file
|
||||
- Examples:
|
||||
- `gitea admin regenerate hooks`
|
||||
- `gitea admin regenerate keys`
|
||||
|
||||
#### cert
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue