VyOS command line interface is defined in so called “templates”. Until now people had to learn template syntax from the source code of existing packages. To make it easier to start modifying or adding commands, I wrote a template syntax reference (or rather a draft of it): http://vyos.net/wiki/Configuration_mode_templates.
Let me know what you think, what parts can be improved etc.