-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
43 lines (28 loc) · 1.2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
manyio
I have had ENOUGH of going back and forth between these FREAKING FORMATS!!!!
Converts easily between YaML, JSON, and XML. I'll add more if I feel like it.
(c) Justin Hoppensteadt 2019 <[email protected]>
Usage:
<justin@thinkpad1:~/src/manyio>
$ ./manyio.py --help
manyio Justin Hoppensteadt 2019 <[email protected]
Usage: manyio [options] [INPUT] [OUTPUT]
Options:
-i --informat=FORMAT Format of input [default: auto]
-o --outformat=FORMAT Format of output [default: pretty]
-D --debug Debug output
-F --formats List supported formats
-h --help help
Arguments:
INPUT Input file, - or none for stdin
OUTPUT Output file, or none for stdout
<justin@thinkpad1:~/src/manyio>
$ ./manyio.py --formats
Input formats: ['auto', 'json', 'xml', 'yaml']
Output formats: ['auto', 'json', 'xml', 'yaml', 'pretty']
Requirements:
Written for python3.7. The only non-standard library I use is docopt, which is awesome.
http://docopt.org/
I started using xmltodict as well
I took two defs off of stack exchange, the rest is mine
Write it, cut it, paste it, save it, load it, check it, quick rewrite it