github-labels icon indicating copy to clipboard operation
github-labels copied to clipboard

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

Open fredbradley opened this issue 9 years ago • 2 comments

Scuse me for being silly, but

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

fredbradley avatar Jul 02 '16 12:07 fredbradley

@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

barraq avatar Aug 18 '16 17:08 barraq

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

rocketraman avatar Feb 24 '22 20:02 rocketraman