EasyEngine / EasyEngine/easyengine
Commands with list of output items should allow multiple formats
- Vorherrschende Sprache
- PHP
- Sterne
- 2.2k
- Forks
- 424
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
For example `ee site info` should allow output in different formats like `yaml`,`json`. This should happen to maintain parity with the other commands like `ee site list`, `ee auth list global`
Example:
```bash
ee site list --format=table
ee site list --format=json
ee auth list global --format=table
ee auth list global --format=json
```
Now,
```bash
# This works
ee site info example.com
# This doesn't work
ee site info example.com --format=json
```
Beitragsleitfaden
Rechercherichtung
Beginne mit den Befehlsimplementierungen oder Einstiegspunkten für `ee site info`, `ee site list` und `ee auth list global`, und vergleiche anschließend, wie ihre Ausgabeformate behandelt werden. Führe die aufgeführten Befehle aus und füge für `ee site info` eine entsprechende Abdeckung für `--format=table` und `--format=json` hinzu; fertig ist die Aufgabe, wenn beide Formate für ein Site-Argument funktionieren, ohne die Standardausgabe zu ändern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- php
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 65/100