upbound / up

The @upbound CLI
Apache License 2.0
52 stars 41 forks source link

`up ctp connect` error redirection is incomplete #484

Closed RedbackThomson closed 4 months ago

RedbackThomson commented 5 months ago

What happened?

When running up ctp connect, the error message being returned redirects users to the wrong command. It returns:

this command has been removed in favor of 'up ctx <space name>//controlplane1'

The correct error should be:

this command has been removed in favor of 'up ctx [org]/<space name>/[group]/controlplane1'

How can we reproduce it?

up ctp connect controlplane1

What environment did it happen in?