Add nicer error for Pro commands such as `up deploys` in the OSS version
未关闭
Refactor
UX
- 主要语言
- Go
- 星标
- 8.8k
- 派生
- 383
- PR 合并指标
- 30 天内没有已合并 PR
描述
## 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, --verbose` flag.
* [ ] Are you an Up Pro subscriber?
```bash
$ up deploys
Error: "deploys" is invalid, must be one of:
• production
• staging
```
Then I tried
```bash
$ up deploys staging
Error: unexpected staging
```
According to the docs, this should work. Am I missing something really obvious?
贡献指南
评估
这个 Issue 还没有评估数据。