Skip to content

Commit

Permalink
feat: export binary (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Mar 3, 2021
1 parent c9e4f12 commit 4f339dd
Show file tree
Hide file tree
Showing 4 changed files with 1,697 additions and 34 deletions.
6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -5,11 +5,9 @@
## Usage

```
git clone https://github.com/octoherd/script-star-or-unstar.git
$ npx @octoherd/cli \
npx @octoherd/script-star-or-unstar \
--octoherd-token 0123456789012345678901234567890123456789 \
script-star-or-unstar/script.js \
"octokit/*"
"octoherd/*"
```

Add `--unstar` flag to unstar.
Expand Down
3 changes: 3 additions & 0 deletions cli.js
@@ -0,0 +1,3 @@
import { resolve } from "path";
process.argv.splice(2, 0, resolve("script.js"));
await import("@octoherd/cli");

0 comments on commit 4f339dd

Please sign in to comment.