Skip to content

Commit b668b13

Browse files
authored
feat: CLI (#2)
* feat: cli * build(deps): replace dependencies with `@octoherd/cli` * build(deps): lock file * refactor: adapt for `@octoherd/cli`
1 parent 3dc282e commit b668b13

File tree

5 files changed

+1699
-58
lines changed

5 files changed

+1699
-58
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
## Usage
66

77
```
8-
git clone https://github.com/octoherd/script-close-renovate-dashboard-issues.git
9-
$ npx @octoherd/cli \
8+
$ npx @octoherd/script-close-renovate-dashboard-issues \
109
--octoherd-token 0123456789012345678901234567890123456789 \
11-
script-close-renovate-dashboard-issues/script.js \
12-
"octokit/*"
10+
"octokit/*"
1311
```
1412

1513
## Licenses

cli.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env node
2+
3+
import { script } from "./script.js";
4+
import { run } from "@octoherd/cli/run";
5+
6+
run(script);

0 commit comments

Comments
 (0)