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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to @octoherd/cli v3 #4

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 to run the script on can no longer be passed as positional arguments, use the --octoherd-repos (or -R) CLI flag instead.

Before:

npx @octoherd/script-remove-required-ci-check "octoherd/*"

After

npx @octoherd/script-remove-required-ci-check --octoherd-repos "octoherd/*"

New features

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.

PS: If haven't subscribed to the Octoherd Updates discussion at octoherd/octoherd#6. It's low noise, high value - promise!

  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 f91fa4d into main Apr 19, 2021
@gr2m gr2m deleted the upgrade-to-octoherd-cli-v3 branch April 19, 2021 21:42
@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.

1 participant