UNPKG

bpmn-js-cli

Version:

A command-line interface for bpmn-js

13 lines (11 loc) 265 B
export default function RemoveShapeCommand(params, modeling) { return { args: [ params.shape('shape') ], exec: function(shape) { return modeling.removeShape(shape); } }; } RemoveShapeCommand.$inject = [ 'cli._params', 'modeling' ];