Linux command
emuto 命令
文本
Uses pipes, overwrite, or deletion. Check paths and options first.
命令示例
Transform JSON data
emuto '[.data.items | map(.name)]' [input.json]
Transform from stdin
cat [data.json] | emuto '[.items]'
Output formatted
emuto --pretty '[.]' [input.json]
说明
emuto is a data transformation tool using a jq-like query language. It processes JSON, CSV, TSV, DSV, and plain text through expressions that select, filter, and transform data structures. The expression language supports object access, array operations, mapping, and filtering. It provides a functional approach to JSON manipulation. emuto is useful for data extraction, format conversion, and JSON processing in scripts and pipelines.
参数
- --pretty
- Pretty-print output.
- --help
- Display help information.
FAQ
What is the emuto command used for?
emuto is a data transformation tool using a jq-like query language. It processes JSON, CSV, TSV, DSV, and plain text through expressions that select, filter, and transform data structures. The expression language supports object access, array operations, mapping, and filtering. It provides a functional approach to JSON manipulation. emuto is useful for data extraction, format conversion, and JSON processing in scripts and pipelines.
How do I run a basic emuto example?
Run `emuto '[.data.items | map(.name)]' [input.json]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --pretty do in emuto?
Pretty-print output.