Skip to content

Command JSON Output

JSON schema that defined the action and UI of the Command Bar. This can only be returned by the command with the script type.

Signature

interface CommandJSON {
view?: CommandJSONView;
action?: CommandJSONAction;
}
NameTypeDescription
viewCommandJSONViewThe UI of the Command Bar should be displayed
actionCommandJSONActionThe action that the Command Bar should perform