1proto
2-----
3
4proto is a small command-line tool for inspecting wayland protocol xml files in a nice human-readable way. i was kinda sick of having a browser open just for browsing wayland.app. it searches your system paths, so you can do stuff like 'proto xdg-shell' or 'proto wayland' and it knows where to look. it can also read local files, but you need to give it the path. you can also provide an interface as an argument, and it will give you the rundown on that. with `-m`, it emits an mdoc manpage for the whole protocol.
5
6examples
7 proto xdg-shell
8 proto xdg-shell xdg_wm_base
9 proto -m xdg-shell
10 proto files/my-local-wayland-protocol.xml
11
12dependencies:
13 C compiler
14 expat
15 ninja-compatible build tool