You may notice, in the example menu, there are some weird values in command (action) and click-requirement.
What are those left, right, middle and default?
Those are called the click types. It indicates the different behaviors of the button on different click types (left-click, right-click, middle-click, etc).