code: function registerCollectionCommand (config, itemType, collectionPath, options = {}) {
    let nodeType = options.nodeType || itemType
    config.addCommand(`insert-${itemType}`, AddEntityCommand, {
      type: nodeType,
      collection: collectionPath,
      commandGroup: 'add-entity',
      metadataOnly: true
    })
    if (options.keyboardShortcut) {
      config.addKeyboardShortcut(options.keyboardShortcut, { command: `add-${itemType}` })
    }
  }
docs: For now we just switch view and do the same action as in metadata editor TODO: later we will probably have just one set of commands for register collection