![Forrest logo](/images/logo.png)
github-label-sync:tldr:d9f6d
The command github-label-sync
is a command-line tool used to synchronize labels between multiple GitHub repositories. It allows you to define a set of labels in one repository and copy or update those labels in another repository.
Here is a breakdown of the command:
-
--access-token ${token}
: This flag specifies the access token to authenticate with GitHub API.${token}
should be replaced with an actual access token obtained from GitHub. The access token grants permission to access the repositories and perform label synchronization. -
--labels ${select}
: This flag defines the labels to include in the synchronization operation.${select}
should be replaced with a string specifying the labels you want to sync. For example,--labels "bug,enhancement"
would include only the labels 'bug' and 'enhancement'. -
${repository_name}
: This is a placeholder representing the name of the repository you want to synchronize labels with. You should replace it with the actual name of the repository.
In summary, this command is used to synchronize labels between repositories on GitHub using the github-label-sync
tool, requiring an access token for authentication and specifying the labels to include in the synchronization operation.