apex / apex/up

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

Offen
#740 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Refactor UX
Vorherrschende Sprache
Go
Sterne
8.8k
Forks
383
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.