popomore / github-labels

Add github labels automatically
177 stars 20 forks source link

How do I set my oauth token for the bin to pick up? #19

Open fredbradley opened 8 years ago

fredbradley commented 8 years ago

Scuse me for being silly, but

How do I set my oauth token for the bin to pick up?

barraq commented 8 years ago

@fredbradley just look at the doc:

labels --help

  Usage: labels [options] user/repo

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -c, --config <path>    label config
    -f, --force            force delete all labels
    -h, --host <hostname>  host for GitHub server
    -t, --token <token>    github token

  Examples:

    $ labels -c ~/labels.json popomore/test

So basically

$ labels -c ~/labels.json -t SOMETOKENHERE popomore/test
rocketraman commented 2 years ago

See https://github.com/popomore/github-labels/pull/37 to use a personal access token