Is there a tutorial on how to create a package or class with pgfkeys/pgfopts that goes beyond this pdf? keyval.pdf
In particular I would be interested on how I can create package/class options and new commands that pass options to tikz-drawings (such as colours, line length/width, shape).
pgfkeysas a general system rather than being tied toTikz. – Joseph Wright♦ Sep 3 '10 at 12:30