OptionalargsThe arguments for the command.
The default value is an empty object.
OptionalcommandThe command to execute when the item is triggered.
The default value is an empty string.
OptionaldisabledOptionalrankThe rank order of the menu item among its siblings.
OptionalsubmenuThe submenu for a 'submenu' type item.
The default value is null.
OptionaltypeThe type of the menu item.
The default value is 'command'.
An interface describing a menu item.