Optional
argsThe arguments for the command.
The default value is an empty object.
The category for the item.
The command to execute when the item is triggered.
Optional
rankThe rank for the command item.
The rank is used as a tie-breaker when ordering command items for display. Items are sorted in the following order:
The default rank is Infinity
.
The options for creating a command palette item.