Skip to content

Conversation

@zmedico
Copy link
Contributor

@zmedico zmedico commented Jun 15, 2021

I've created an extended version of jp called jpp which now has the --compact option: #30

NAME:
   jpp - jpp [<options>] <expression>

USAGE:
   jpp [global options] command [command options] [arguments...]

VERSION:
   0.1.3.1

COMMANDS:
   help, h	Shows a list of commands or help for one command
   
GLOBAL OPTIONS:
   --accumulate, -a	Accumulate all output objects into a single recursively merged output object.
   --compact, -c	Produce compact JSON output that omits nonessential whitespace.
   --filename, -f 	Read input JSON from a file instead of stdin.
   --expr-file, -e 	Read JMESPath expression from the specified file.
   --slurp, -s		Read one or more input JSON objects into an array and apply the JMESPath expression to the resulting array.
   --unquoted, -u	If the final result is a string, it will be printed without quotes.
   --ast		Only print the AST of the parsed expression.  Do not rely on this output, only useful for debugging purposes.
   --help, -h		show help
   --version, -v	print the version

Copy link
Member

@jamesls jamesls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jamesls jamesls merged commit 497674b into jmespath:master Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants