-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Description
I'm not sure if this is a bug or a not-yet-implemented feature.
gh project view with web flag does not open interactive mode
Describe the bug
gh project view with web flag does not open interactive mode, instead opens the browser with a project URL missing with zero values for organization and project number.
Steps to reproduce the behavior
- In any repo directory, run the following command:
$ gh project view --webOpens the browser with the URL:
https://github.com/orgs//projects/0
Expected vs actual behavior
Based on how the project command works without the --web flag, I would expect the command to start interactive mode and prompt me to select a project. Instead, it opens the browser with a URL that is missing the organization and project number.
$ gh project view
? Which owner would you like to use? [Use arrows to move, type to filter]
> harveysanders
# ... rest of available organizationsMany of the other commands start interactive mode when the --web and no other arguments are provided. For example, gh run view --web starts interactive mode and prompts me to select a run.
Ex. running the view command in this cli/cli repo:
gh run view --web
? Select a workflow run [Use arrows to move, type to filter]
> - Unexpecte comparison operator error when using templates with graphql query, Discussion Triage (trunk) 50m38s ago
✓ Unexpecte comparison operator error when using templates with graphql query, Issue Automation (trunk) 50m46s ago
- Unexpecte comparison operator error when using templates with graphql query, Discussion Triage (trunk) 50m46s agoGiven this behavior on some of the other commands, I expected the same behavior for project.
Anyway, thanks for building this great tool. I use it nearly every day. I'd be happy to submit a PR in time if this is not a high-priority issue.