UNPKG

@joshfarrant/shortcuts-js

Version:
24 lines 598 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Comment * @section Actions > Scripting > * @icon Text * * This action lets you explain how part of a shortcut works. When run, this action does nothing. * * ```js * // Create a comment * comment({ * text: 'A very important comment', * }); * ``` */ const comment = ({ text = '', }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.comment', WFWorkflowActionParameters: { WFCommentActionText: text, }, }); exports.default = comment; //# sourceMappingURL=comment.js.map