3 ms·
Does anybody know of a listof modern unix command-line tools accepting a --json option? It may even be useful to add that information to this repo.
by timetraveller26 3y ago
Does anybody know of a listof modern unix command-line tools accepting a --json option?
It may even be useful to add that information to this repo.
- chungy 3y agoBasically everything on FreeBSD supports it via libxo.
- user3939382 3y agoProbably not what you had in mind but, AWS CLI.
- pirates 3y agokubectl with “-o json”
- geraldcombs 3y agoTShark (the CLI companion to Wireshark) does with the `-T json` flag.
- bravetraveler 3y agoI don't have a list, but the modern replacement for "ifconfig" does JSON: "ip" As does "lldpctl" Ansible provides details about systems in JSON called 'facts'. The intention is to use these to inform automation
- pkkm 3y agolsblk accepts a --json flag and can give you a lot of information (try lsblk --json --output-all). Very useful if your script needs to check what disks and partitions there are in the system.