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

Return a clear error message when the URL is provided for a repository, organization or enterprise, when the name should be provided #1180

Open
timrogers opened this issue Dec 6, 2023 · 0 comments
Labels

Comments

@timrogers
Copy link
Contributor

We have regularly seen customers have issues with the CLI where they use a URL for something (e.g. a repository, organization or enterprise) rather than its name.

Relevant examples include the --github-org, --github-target-org, --source-repo and --github-target-enterprise arguments.

We should validate these arguments and return a clear warning if a URL is provided rather than a name.

We could alternatively consider fixing this in the GraphQL API - but it may prove to be non-trivial because of the GraphQL framework.

@timrogers timrogers added the task label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant