github-labels-cli

GitHub Labels CLI

Usage no npm install needed!

<script type="module">
  import githubLabelsCli from 'https://cdn.skypack.dev/github-labels-cli';
</script>

README

GitHub Labels CLI

npm version npm downloads license

Features

  • List all labels on a repository
  • Export labels as a JSON file
  • Import labels from a JSON file
  • Remove labels from a repository interactively
  • Create a sample labels file

Installation

npm install -g github-labels-cli

pnpm add -g github-labels-cli

Usage

# provides GitHub token for authentication
export GITHUB_TOKEN=...
github-labels-cli
# or
github-labels-cli --token=...

github-labels-cli --help

github-labels-cli list <owner/repo>
github-labels-cli export <owner/repo> [filenmae]
github-labels-cli import <owner/repo> [filenmae]
github-labels-cli remove <owner/repo> 
github-labels-cli sample [filename]

LICENSE

MIT License