CLI commands for managing users.
Functions:
gitea.cli.user.main.register_commands
register_commands() -> None
Register user-related commands to the user_app.
Source code in src/gitea/cli/user/main.py
| def register_commands() -> None:
"""Register user-related commands to the user_app."""
from gitea.cli.user.get import get_command # noqa: PLC0415
from gitea.cli.user.update_settings import update_settings_command # noqa: PLC0415
user_app.command("get", help="Get user information.")(get_command)
user_app.command("update-settings", help="Update user settings.")(update_settings_command)
|