jarg
jarg copied to clipboard
shorthand JSON and form encoding syntax in the shell
I'm trying to run jarg on crontab, simple by doing this: `jarg foo=bar` but I get this error: >Traceback (most recent call last): > File "/usr/bin/jarg", line 9, in >...
jarg should support files as values. I think it could use cURL's syntax: ``` $ jarg file=@/path/to/file ``` In the JSON dialect, it should conform to [example 9 of the...
The default form encoding from [`urllib.urlencode`](https://docs.python.org/2/library/urllib.html#urllib.urlencode) doesn't support multi-dimensional values. That behavior can be taken from the [multidimensional-urlencode](https://pypi.python.org/pypi/multidimensional_urlencode) package: ``` python >>> import urllib >>> from multidimensional_urlencode import urlencode >>>...