@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
24 lines • 598 B
JavaScript
;
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