24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
---HELP---
|
|
NAME:
|
|
gitea admin user generate-access-token - Generate an access token for a specific user
|
|
|
|
USAGE:
|
|
gitea admin user generate-access-token [command options]
|
|
|
|
COMMANDS:
|
|
help, h Shows a list of commands or help for one command
|
|
|
|
OPTIONS:
|
|
--help, -h show help
|
|
--custom-path value, -C value Set custom path (defaults to '{WorkPath}/custom')
|
|
--config value, -c value Set custom config file (defaults to '{WorkPath}/custom/conf/app.ini')
|
|
--work-path value, -w value Set Gitea's working path (defaults to the Gitea's binary directory)
|
|
--username value, -u value Username
|
|
--token-name value, -t value Token name (default: "gitea-admin")
|
|
--raw Display only the token value (default: false)
|
|
--scopes value Comma separated list of scopes to apply to access token, examples: "all", "public-only,read:issue", "write:repository,write:user" (default: "all")
|
|
---TOKEN---
|
|
Access token was successfully created: 8fd95b13526161bc06fa658ea4da8b9ef6fe096b
|
|
DONE
|
|
[rc=0]
|