We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa4a18 commit b3502d1Copy full SHA for b3502d1
1 file changed
tools/topo_tree_dump.py
@@ -0,0 +1,17 @@
1
+#!/usr/bin/env python3
2
+
3
+"""
4
+Do not make this script longer or more complicated. Use it as starting
5
+point if needed.
6
7
+Pro tip: try these commands _interactively_ from `ipython3`
8
9
10
+import sys
11
+import tplgtool2
12
13
+tplgFormat = tplgtool2.TplgBinaryFormat()
14
15
+parsedTplg = tplgFormat.parse_file(sys.argv[1])
16
17
+print(parsedTplg)
0 commit comments