SID CSV conversion utility
This little tool provides for conversion between YANG-SID files as used by YANG-CBOR and corresponding human-readable CSV files.
Installation
gem install sid-csv
Formats
sid-csv knows the following formats:
- .sid: sid file (JSON) as defined in draft-ietf-core-sid
- .csv: CSV file as defined in RFC4180
Sources and targets are defined by -f csv, -t csv (default: sid).
Command line utilities
sid-csv -tcsv foo.sid > foo.csvsid-csv -fcsv foo.csv > foo.sid
Output is to stdout, input from one or more files given as command line
arguments (use - for standard input).