Publication
Partagez vos connaissances.
DRAMA118
Jan 28, 2025
Questions et Réponses avec des Experts
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
Partager
Commentaires
Réponses
1doodee105
Jan 29 2025, 03:21Vous pouvez utiliser --json
cette option si elle est disponible. Il renvoie des sorties de commande au format JSON qui sont plus faciles à analyser.
2
Commentaires
Connaissez-vous la réponse ?
Veuillez vous connecter et la partager.