Is there a way to reflect over a command and get its expected arguments? This would be pretty easy to do given a Command subclass instance, but I'm not sure how to get that for some of the built in commands (if such a thing even exists). e.g. "what are the valid arguments to the "open_dir" command?
As part of migrating from ST1 to ST2 I needed something looks at the sublime-menu and sublime-keymap files and collects a set() of all the values provided for each command parameter ...