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

馃殌 Feature: Drop end-user dependency on gh #667

Open
3 tasks done
JoshuaKGoldberg opened this issue Aug 21, 2023 · 0 comments 路 May be fixed by #1000
Open
3 tasks done

馃殌 Feature: Drop end-user dependency on gh #667

JoshuaKGoldberg opened this issue Aug 21, 2023 · 0 comments 路 May be fixed by #1000
Assignees
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request

Comments

@JoshuaKGoldberg
Copy link
Owner

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

The GitHub CLI (gh) is really convenient. I use it a lot personally. Right now, gh is used for two things in the repo's hydration/setup scrips:

  1. Getting a GitHub auth token for the user: search gh auth in the code
  2. Running commands to modify the repository: search gh (note the trailing space)

However, not everyone using this template might be a gh user already. It's inconvenient that you'd have to use it. Let's remove the dependency on having that tool installed. I think that'll mean two changes:

  1. For the auth token: try running the same gh auth scripts as before, and if they fail, fall back to a CLI flag like --github-auth
  2. Switch to using Octokit instead of gh ... for any API calls

Additional Info

No response

@JoshuaKGoldberg JoshuaKGoldberg added type: feature New enhancement or request status: accepting prs Please, send a pull request to resolve this! labels Aug 21, 2023
@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Oct 31, 2023
@JoshuaKGoldberg JoshuaKGoldberg linked a pull request Oct 31, 2023 that will close this issue
3 tasks
@JoshuaKGoldberg JoshuaKGoldberg added this to the Long-Desired Features milestone Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant