apex / apex/up

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

Aperta
#740 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Refactor UX
Lingua principale
Go
Stelle
8.8k
Fork
383
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.