Set command name on definition - like for UI definitions.
Pass command, not command definition to editor#addFeature().