add: [tools] a simple generator for the list of taxonomies to be included in the RFC

pull/127/head
Alexandre Dulaunoy 2018-11-30 08:02:21 +01:00
parent eacd965304
commit 60f62aa527
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 8 additions and 0 deletions

8
tools/rfc-genlist.py Normal file
View File

@ -0,0 +1,8 @@
import json
import os
filename = os.path.join("../", "MANIFEST.json")
with open(filename) as fp:
t = json.load(fp)
for taxo in sorted(t['taxonomies'], key=lambda k: k['name']):
print ("{}:\n: {}\n".format(taxo['name'], taxo['description']))