Film kit command

command.list

List Commands

Lists every command with id, title, menu path, shortcut, parameters and whether it is enabled now.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

None.

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "command.list" }]
}

The required parameters, with placeholders for their types: not a tested example. film_run answers the step’s result in completed[i].result.

Result

Result JSON Schema
json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "defaultShortcut": {
        "type": "string"
      },
      "enabled": {
        "type": "boolean"
      },
      "id": {
        "type": "string"
      },
      "label": {
        "type": "string"
      },
      "menu": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "params": {
        "type": "string"
      },
      "shortcut": {
        "type": "string"
      },
      "shortcuts": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "type": "object"
  },
  "type": "array"
}

Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.