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

No Current Repo Error #14

Open
geoffreywiseman opened this issue Jan 13, 2023 · 0 comments
Open

No Current Repo Error #14

geoffreywiseman opened this issue Jan 13, 2023 · 0 comments

Comments

@geoffreywiseman
Copy link
Contributor

When no target is specified and gh actions-usage is invoked from a directory that cannot be linked to a GitHub Repository, we print error information so that the user can have a bit more information about why the current repository couldn't be found. That extra information clutters up the screen somewhat.

Would be nice to clean it up. Could be:

  • add a verbose option flag and only print the extra error information when --verbose enabled
  • parse the error so that we can provide cleaner error output
    • go-gh is just using strings here, so parsing it might be fragile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant