Skip to content

Commit 9aa309c

Browse files
authored
feat: CLI (#1)
1 parent 36ecc64 commit 9aa309c

File tree

5 files changed

+1698
-56
lines changed

5 files changed

+1698
-56
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ This script is specific to the needs of a one-time migration for [@octoherd](htt
77
## Usage
88

99
```
10-
git clone https://github.com/octoherd/script-create-repositories-from-script-folders.git
11-
$ npx @octoherd/cli \
10+
$ npx @octoherd/script-close-renovate-dashboard-issues \
1211
--octoherd-token 0123456789012345678901234567890123456789 \
1312
script-sync-branch-protections/script.js \
1413
"octoherd/scripts" \

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)