Skip to content

Commit

Permalink
feat: CLI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m authored Mar 3, 2021
1 parent af1debe commit a609d1a
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-find-releases.git
$ npx @octoherd/cli \
$ npx @octoherd/script-close-renovate-dashboard-issues \
--octoherd-token 0123456789012345678901234567890123456789 \
script-star-or-unstar/script.js \
"octokit/*"
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 a609d1a

Please sign in to comment.