1.0.2 • Published 4 years ago
@throw-out-error/data-cli v1.0.2
Data CLI
A command-line tool for querying and manipulating data. Currently only supports json5.
Usage
Export Usage
toe-data ex <format> [query]
Possible formats:
- ln: prints the values of a json array as seperate lines
- sp: prints the values of a json array seperated by spaces
- none: prints as normal json
If you want to you can specify a query after the format such as joe/*
.
Example
echo ["joe", "mom"] | toe-data ex ln
Output:
joe
mom