Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -E tag:name:value syntax to get a value from name/value pairs #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gstaples
Copy link

This is support name/value pairs like this:

-E tag:value:value is for extracting  name/value pairs.  Given:
   [{ tagname: color, tagvalue: red },
    { tagname: texture, tagvalue: squishy },
    { tagname: height, tagvalue: 10ft }]
   jshon -a -E tagname:height:tagvalue -> 10ft

It's not beautiful, but I'm happy to work with you on the syntax.

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.

1 participant