up
up copied to clipboard
Add nicer error for Pro commands such as `up deploys` in the OSS version
Prerequisites
- [x] I am running the latest version. (
up upgrade) - [x] I searched to see if the issue already exists.
- [x] I inspected the verbose debug output with the
-v, --verboseflag. - [ ] Are you an Up Pro subscriber?
$ up deploys
Error: "deploys" is invalid, must be one of:
• production
• staging
Then I tried
$ up deploys staging
Error: unexpected staging
According to the docs, this should work. Am I missing something really obvious?
Ah sorry up deploys, up rollback, and up env are all Pro commands, but I'll add a nicer message to make that obvious!
Ah, that'd be super helpful for newbies. Thanks @tj