odo: odo login returns incorrect help message when user has no projects
[kind/bug]
What versions of software are you using?
- Operating System: macos 10.14
- Output of
odo version: odo v0.0.15 (29a07286)
Server: [REMOVED] OpenShift: v3.11.16 Kubernetes: v1.11.0+d4cacc0
How did you run odo exactly?
odo login -u user1 -p [REMOVED]
Actual behavior
odo new-project is not a valid command
Login successful.
You don't have any projects. You can try to create a new project, by running
odo new-project <projectname>
Expected behavior
Login successful.
You don't have any projects. You can try to create a new project, by running
odo project create <projectname>
Any logs, error output, etc?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (22 by maintainers)
Commits related to this issue
- Fixing #1017: Temporary fix by aliasing odo new-project Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Temporary fix by aliasing odo new-project Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com> — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Intercepting login message and printing custom message - Adding buffer to replace os.Stdout and intercept output of login - Customizing a message from odo based on what was intercepted,... — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Intercepting login message and printing custom message - Adding buffer to replace os.Stdout and intercept output of login - Customizing a message from odo based on what was intercepted,... — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Intercepting login message and printing custom message - Adding buffer to replace os.Stdout and intercept output of login - Customizing a message from odo based on what was intercepted,... — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Intercepting login message and printing custom message - Adding buffer to replace os.Stdout and intercept output of login - Customizing a message from odo based on what was intercepted,... — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Intercepting login message and printing custom message - Adding buffer to replace os.Stdout and intercept output of login - Customizing a message from odo based on what was intercepted,... — committed to mohammedzee1000/odo by mohammedzee1000 5 years ago
- Fixing #1017: Intercepting login message and customising the message message (#1251) * Fixing #1017: Intercepting login message and printing custom message - Adding buffer to replace os.Stdout and... — committed to redhat-developer/odo by mohammedzee1000 5 years ago
I’m probably not the most qualified to answer, but for the alias would be the most natural