Enhance "create repo --labels` #326

Open
opened 2021-01-18 20:37:19 +00:00 by 6543 · 1 comment
Owner

the --labels argument indicates it consumes list of strings (e.g.: bug,feat,questin ...)

rename this to --labels-template and add a --labels witch actually create labels based on this ...

refs:

the `--labels` argument indicates it consumes list of strings (e.g.: `bug,feat,questin` ...) rename this to `--labels-template` and add a `--labels` witch actually create labels based on this ... refs: * https://gitea.com/gitea/gitea.com/issues/21 * https://github.com/go-gitea/gitea/issues/14327
6543 added the
kind
enhancement
label 2021-01-18 20:37:19 +00:00
Member

Creating labels just by flag does not give access to set color & description.
Instead, I'd just point to use tea labels create --file after calling tea repo create, which allows just that.

Renaming --labels to --labels-template sounds good.

Creating labels just by flag does not give access to set color & description. Instead, I'd just point to use `tea labels create --file` after calling `tea repo create`, which allows just that. Renaming `--labels` to `--labels-template` sounds good.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#326
No description provided.