Skip to content

Commit

Permalink
feat: CLI (#2)
Browse files Browse the repository at this point in the history
* feat: cli

* build(deps): replace dependencies with `@octoherd/cli`

* build(deps): lock file

* refactor: adapt for `@octoherd/cli`
  • Loading branch information
gr2m committed Mar 3, 2021
1 parent 3dc282e commit b668b13
Show file tree
Hide file tree
Showing 5 changed files with 1,699 additions and 58 deletions.
6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -5,11 +5,9 @@
## Usage

```
git clone https://github.com/octoherd/script-close-renovate-dashboard-issues.git
$ npx @octoherd/cli \
$ npx @octoherd/script-close-renovate-dashboard-issues \
--octoherd-token 0123456789012345678901234567890123456789 \
script-close-renovate-dashboard-issues/script.js \
"octokit/*"
"octokit/*"
```

## Licenses
Expand Down
6 changes: 6 additions & 0 deletions cli.js
@@ -0,0 +1,6 @@
#!/usr/bin/env node

import { script } from "./script.js";
import { run } from "@octoherd/cli/run";

run(script);

0 comments on commit b668b13

Please sign in to comment.