Computer-readable man pages
I've been working on something related to this. Namely
machine-readable descriptions of programs. The reason I
was doing them was to abstract command-line arguments,
and to automatically pipe commands together based on their
input- and output-types.
ccp some.pdf some.mp3 --args cbr, 64kbps, mono
ps2ascii | text2wave | lame --cbr -b 64 -m m - -
Anyhow, I'm using external XML files, and it's a slight pain
since if the command args change, the description file needs
changing too. So I'm all for making it the responsibility of
the commands themselves. Or at least packaged with the
commands, like the man database.
lame.xml.txt">This is what the XML files look like