Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to @octoherd/cli v3 #3

Merged
merged 1 commit into from Apr 19, 2021
Merged

Conversation

octoherd[bot]
Copy link
Contributor

@octoherd octoherd bot commented Apr 19, 2021

Hello there 馃憢

We released version 3 of @octoherd/cli which includes some great improvements, but also a breaking change.

The repositories can no longer be passed as positional arguments, use the --octoherd-repos (or -R) CLI flag instead.

Before:

npx @octoherd/script-add-octoherd-cli-to-script "octoherd/*"

After

npx @octoherd/script-add-octoherd-cli-to-script --octoherd-repos "octoherd/*"

The new version also introduces some great features:

  • prompt for token (using GitHub's Device Flow) if --octoherd-token or -T was not set
  • prompt for repositories if --octoherd-repositories or -R was not set
  • improved confirmation prompt for mutating requests

If you have any questions, just ask here, @gr2m will be happy to help.

BREAKING CHANGE: Repositories can no longer be passed as positional argument, use the \`--octoherd-repos\` (or \`-R\`) CLI flag instead.

Before:

```
npx @octoherd/script-add-octoherd-cli-to-script "@octokit/*"
```

After

```
npx @octoherd/script-add-octoherd-cli-to-script --octoherd-repos "@octokit/*"
```

Or do not set `--octoherd-repos` at all, in which case the user will be prompted.
@gr2m gr2m merged commit fcecf3b into main Apr 19, 2021
@gr2m gr2m deleted the upgrade-to-octoherd-cli-v3 branch April 19, 2021 21:08
@github-actions
Copy link

馃帀 This PR is included in version 2.0.0 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant