gitea.cli.config.delete
delete
Delete command for config CLI.
Functions:
gitea.cli.config.delete.delete_command
delete_command(
ctx: Context,
name: Annotated[
str,
Option(
"--name",
help="Name of the account. It does not need to be the same as the Gitea account name.",
),
],
force: Annotated[
bool,
Option(
"--force",
"-f",
help="Force deletion without confirmation.",
),
] = False,
) -> None
Delete the configuration of an existing account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
Context
|
Typer context. |
required |
name
|
Annotated[str, Option('--name', help='Name of the account. It does not need to be the same as the Gitea account name.')]
|
Name of the account. |
required |
force
|
Annotated[bool, Option('--force', '-f', help='Force deletion without confirmation.')]
|
Force deletion without confirmation. |
False
|