mx
v1.0.2
Published
MAML cli
Readme
mx
MAML CLI tool. Pretty-print and query MAML files.
Install
npm i -g mxOr run directly:
npx mx data.mamlUsage
mx [file] [query]Pipe or pass a file:
cat data.maml | mx
mx data.mamlQuery nested data with dot notation:
mx data.maml .users[0].name
cat data.maml | mx .config.server.portQueries
.prop access property
.prop.nested nested access
.[0] array index
.items[2].name mixed access