apex / apex/up

Add nicer error for Pro commands such as `up deploys` in the OSS version

Open
#740 2 comments 0 reactions 0 assignees View on GitHub
Refactor UX
Dominant language
Go
Stars
8.8k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

## 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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.