Skip to content

Commit

Permalink
Add tojson utility
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Sep 25, 2019
1 parent e5489ee commit eeb78f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CppHeaderParser/tojson.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Utility module

import sys
import json

from .CppHeaderParser import CppHeader

if __name__ == "__main__":
for arg in sys.argv[1:]:
print(CppHeader(arg).toJSON())

0 comments on commit eeb78f5

Please sign in to comment.