Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
r-glyde authored Oct 4, 2020
1 parent c152d90 commit 3cdc420
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# github-sync

Synchronise labels between a source and target repository

```
Usage: github-sync --token <string> --source <repository> --target <repository> [--delete] [--dry-run] [--verbose]
synchronise labels between github repositories
Options and flags:
--help
Display this help text.
--token <string>
personal access token with permissions for source and target repositories
--source <repository>
source repository as owner/repo
--target <repository>
target repository as owner/repo
--delete
delete additional labels not found in source repository
--dry-run
only log actions to be taken
--verbose
show logging of http requests
```

Default behaviour will create labels in the target repository that are present in the source and update those that have matching names.
If `--delete` is passed, labels that are present in the target but not in the source will be removed.
`--dry-run` can be used to see what labels will be created, updated and deleted prior to executing properly.

0 comments on commit 3cdc420

Please sign in to comment.