GitXplorerGitXplorer
b

octoherd-script-copy-labels

public
7 stars
2 forks
2 issues

Commits

List of commits on branch main.
Verified
6bf16876167104985c8ee9ce602123ceafec9404

removes bypass prompt (#8)

bbdougie committed 4 years ago
Verified
c63ea68045c4b4a486923fa6761d9d0596313183

Add missing `\` to usage example (#7)

ggr2m committed 4 years ago
Verified
f31a4dad477e3b0d1add4330481e899c96a36861

feat: all `--octoherd-*` flags are now optional (#4)

ooctoherd[bot] committed 4 years ago
Verified
949d48546c1445e3e5c47f64904771f491ff2ad7

Fix error in example script (#6)

bbdougie committed 4 years ago
Verified
8f66a337463654a6c22c1284dd029c9c3ef528dc

feat: Loop to check all labels (#3)

bbdougie committed 4 years ago
Verified
1b13c3b6cb28371c9c0ceeba3dfd3fe5d383b88e

feat: Initial version (#1)

bbdougie committed 4 years ago

README

The README file for this repository.

octoherd-script-copy-labels

This script copies labels from one repo to the next

@latest Build Status

Usage

Minimal usage

npx octoherd-script-copy-labels \
  --template bdougie/live

Pass all options as CLI flags to avoid user prompts

npx octoherd-script-copy-labels \
  --template bdougie/live \
  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
  -R "bdougie/*" 

Options

option type description
--template string (required) this is the repo you want the labels to be copied from
--octoherd-token, -T string A personal access token (create). Script will create one if option is not set
--octoherd-repos, -R array of strings One or multiple space-separated repositories in the form of repo-owner/repo-name. repo-owner/* will find all repositories for one owner. * will find all repositories the user has access to. Will prompt for repositories if not set
--octoherd-bypass-confirms boolean Bypass prompts to confirm mutating requests

Contributing

See CONTRIBUTING.md

About Octoherd

@octoherd is project to help you keep your GitHub repositories in line.

License

ISC