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 36ecc64 commit 9aa309c
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 @@ -7,8 +7,7 @@ This script is specific to the needs of a one-time migration for [@octoherd](htt
## Usage

```
git clone https://github.com/octoherd/script-create-repositories-from-script-folders.git
$ npx @octoherd/cli \
$ npx @octoherd/script-close-renovate-dashboard-issues \
--octoherd-token 0123456789012345678901234567890123456789 \
script-sync-branch-protections/script.js \
"octoherd/scripts" \
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 9aa309c

Please sign in to comment.