4 options
= json
.load(sys
.stdin
)
5 for (name
, value
) in options
.items():
6 print('##', name
.replace('<', '\\<').replace('>', '\\>'))
7 print(value
['description'])
14 if 'default' in value
:
17 print(json
.dumps(value
['default'], ensure_ascii
=False, separators
=(',', ':')))
21 if 'example' in value
:
24 print(json
.dumps(value
['example'], ensure_ascii
=False, separators
=(',', ':')))