Skip to content

No Current Repo Error #14

@geoffreywiseman

Description

@geoffreywiseman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions