Beitrag
Teile dein Wissen.
DRAMA118
Jan 28, 2025
Experten Q&A
How to get JSON output from a CLI tool for parsing?
I'm working with a standard CLI tool, but the output contains many boxes and lines, making it hard to parse for the results I care about. Is there an official way to get a JSON output or something similar that I can easily parse?
- Move CLI
2
1
Teilen
Kommentare
Antworten
1doodee105
Jan 29 2025, 03:21Sie können die --json
Option verwenden, falls verfügbar. Es gibt Befehlsausgaben im JSON-Format zurück, die einfacher zu analysieren sind.
2
Kommentare
Weißt du die Antwort?
Bitte melde dich an und teile sie.