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 command line interface #3

Open
4 tasks
zigorou opened this issue May 31, 2013 · 1 comment
Open
4 tasks

Add command line interface #3

zigorou opened this issue May 31, 2013 · 1 comment

Comments

@zigorou
Copy link
Owner

zigorou commented May 31, 2013

Synopsis

$ cat doc.json
{
  "foo": {
    "bar": [1, 3]
  }
}
$ json_pointer -p /foo -i doc.json 
{
  "bar": [1, 2]
}

Signature

json_pointer [option]

  -i, --input (json, yaml)
  -o, --output (json, yaml)
  -p, --pointer

Requirements

  • Input from specified json file
  • Input from STDIN
  • Support multiple pointer feature (List of pointed document as JSON array)
  • Support input/output filter option (-i, -o, yaml, json, ...)
@maedama
Copy link
Collaborator

maedama commented Jul 8, 2013

I will work on it this week!

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

No branches or pull requests

2 participants