labeler

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 8 Imported by: 0

README

Labeler

Labeler is a CLI tool to sync labels for a GitHub repository with templates.

Usage

NAME:
   labeler - A CLI tool to sync labels for a GitHub repository with templates

USAGE:
    [global options] command [command options] [arguments...]

VERSION:
   0.2.0

COMMANDS:
   save     Save labels of target repository to a template file
   sync     Sync labels from a template file to target repository
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --token value  GitHub personal access token [$LABELER_TOKEN]
   --help, -h     show help
   --version, -v  print the version

Example

Save labels from a repository:

$ export LABELER_TOKEN={your GitHub token}
$ labeler save --owner=unknwon --repo=labeler --to unknwon_labeler.json

Sync labels to a repository:

$ export LABELER_TOKEN={your GitHub token}
$ labeler sync --owner=unknwon --repo=labeler --from unknwon_labeler.json

License

This project is under MIT License. See the LICENSE file for the full license text.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL