Skip to content

Commit

Permalink
feat: CLI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Mar 3, 2021
1 parent ddcb381 commit 8085f67
Show file tree
Hide file tree
Showing 5 changed files with 1,698 additions and 56 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
## Usage

```
git clone https://github.com/octoherd/script-sync-branch-protections.git
$ npx @octoherd/cli \
$ npx @octoherd/script-close-renovate-dashboard-issues \
--octoherd-token 0123456789012345678901234567890123456789 \
script-sync-branch-protections/script.js \
"octoherd/*"\
Expand Down
6 changes: 6 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node

import { script } from "./script.js";
import { run } from "@octoherd/cli/run";

run(script);
Loading

0 comments on commit 8085f67

Please sign in to comment.