-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
I think it would be great if Gitea had the ability to set a user's avatar via CLI. I would love to have an additional flag avatar
. Either during the creation of a user or a dedicated command.
gitea admin user create --avatar
gitea admin user change-avatar --avatar
With avatar
specifying either a URI path to the image or image data as Base64 encoded text.
Screenshots
No response
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
silverwind commentedon Aug 2, 2023
API was added in #25369
CodeShakingSheep commentedon Aug 2, 2023
Thanks for hinting me at this. As far as I can see, only setting avatars via API was implemented (which is great already). As I'm using CLI to add a batch of users I would prefer to set the avatars via CLI as well. So, I'd leave this issue open and change the title to only include CLI and not API anymore. What do you think?
silverwind commentedon Aug 2, 2023
Yeah I guess that is fine.
[-]Ability to set user avatar via CLI / API[/-][+]Ability to set user avatar via CLI[/+]