https://github.com/hona/labeltemplaterepository
GitHub labels template for copying
https://github.com/hona/labeltemplaterepository
Last synced: 3 months ago
JSON representation
GitHub labels template for copying
- Host: GitHub
- URL: https://github.com/hona/labeltemplaterepository
- Owner: Hona
- Created: 2021-09-30T05:58:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-29T06:12:17.000Z (over 3 years ago)
- Last Synced: 2025-01-21T09:48:45.904Z (5 months ago)
- Size: 313 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LabelTemplateRepository
GitHub labels template for copying## Example
I provided the following template config
GitHub Dark | GitHub Light (Default)
:-------------------------:|:-------------------------:
 | ## Prerequisites
Requires [Labeler](https://github.com/Zebiano/Labeler)
## Usage
Copy the `labeler_labels.json` file to the file path of `labeler -p`
Run the command:
```bash
labeler -t [ghp_GITHUB_PERSONAL_ACCESS_TOKEN] -o [USER/ORGANISATION] -r [REPOSITORY_NAME] -duf
````-d`: Delete all existing labels
`-u`: Upload labels from file
**Optional**
`-f`: Runs headlessly## Recommended
1. Run `labeler -c` - Enters the interactive config
2. Press `Enter` - Enter and save your GitHub Access Token
3. Go to 'Owner' - Enter your default owner (typically your username)
4. Exit the interactive config
Now the config is setup whereby you don't need to input your username or access token on each command. This allows you do run the following:
```bash
labeler -r [REPOSITORY_NAME] -duf
```