I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Theme
Expected behavior
More of a suggestion than bug raise.
If a store has a “vanity” Shopify domain, i.e. have added a new .myshopify.com domain it doesn’t actually work with CLI commands, you still have to use the original .myshopify.com domain.
The majority of people will get .myshopify.com domain via the URL used in the admin, and it’s not very clear if you’re actually not using the pernament domain.
My suggestion would be to have a “redirect” feature, whereby it either suggests or looks up the actual pernament .myshopify.com domain if a vanity one is entered.
Actual behavior
N/A
Reproduction steps
N/A
Verbose output
N/A
Operating system
N/A
CLI version
N/A