scripts: add a script to print the symbols include tree
Useful to determine things like "does this layout eventually include blah?" or "which layouts include blah?".
Usage: ./scripts/symbols-tree.py symbols/de
de(basic)
|-> latin(type4)
|-> latin(basic)
|-> kpdl(comma)
|-> level3(ralt_switch)
de(deadtilde)
|-> de(basic)
|-> latin(type4)
|-> latin(basic)
|-> kpdl(comma)
|-> level3(ralt_switch)
...
Takes either the symbols directory or a single symbols file as first argument and (optionally) a second argument for the specific section to filter on, e.g. "deadtilde" to limit to the second entry only in the example above.
cc @jwrdegoede, @svu
Edited by Peter Hutterer