faq
libxo
faq | libxo | |
---|---|---|
2 | 17 | |
419 | 302 | |
- | 2.0% | |
0.0 | 9.7 | |
about 1 year ago | 16 days ago | |
Go | C | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
faq
-
Fq: Jq for Binary Formats
This related project, on the other hand, embraced it (for better or for worse):
https://github.com/jzelinskie/faq
- Tips on Adding JSON Output to Your CLI App
libxo
-
jc: Converts the output of popular command-line tools to JSON
> In FreeBSD, this problem was solved with libxo[0]:
Libxo happens to be in the base system, but it is generally available:
* https://github.com/Juniper/libxo
* https://libxo.readthedocs.io/en/latest/
- Libxo: The Easy Way to Generate Text, XML, JSON, and HTML Output
-
Getting work done with PowerShell on Linux
Or make it flexible:
> libxo - A Library for Generating Text, XML, JSON, and HTML Output
* https://github.com/Juniper/libxo/
* https://wiki.freebsd.org/LibXo
Want structure? Ask for JSON or XML and parse. Otherwise it's the regular text output.
- Libxo: Generate text/XML/JSON structured output in one code path
-
Jc – JSONifies the output of many CLI tools
Can you trust it? Cli tool output is not exactly stable. I thought that's why libxo exists?
https://github.com/Juniper/libxo
- Libxo: Library for Generating Text, XML, JSON, and HTML Output
-
Curl gets a --json flag
Please consider https://github.com/Juniper/libxo or something even better than that.
-
You shouldn't parse the output of ls(1)
That would look a lot like FreeBSD. Many of the FreeBSD userland tools are set up to use the excellent libxo (https://github.com/Juniper/libxo) to allow the user's choice of how things are output.
- The growth of command line options, 1979-Present
- Tips on Adding JSON Output to Your CLI App
What are some alternatives?
jqplay - A CLI-friendly, offline playground for jq and JMESPath, written in Go
pdfalto - PDF to XML ALTO file converter
fq - jq for binary formats - tool, language and decoders for working with binary and text formats
elvish - Powerful scripting language & Versatile interactive shell
binspector - A binary format analysis tool
jtbl - CLI tool to convert JSON and JSON Lines to terminal, CSV, HTTP, and markdown tables
watchhttp - 🌺 Run command periodically and expose latest STDOUT as HTTP endpoint
PSReadLine - A bash inspired readline implementation for PowerShell
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
fx - Terminal JSON viewer & processor
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!