UNPKG

@joshfarrant/shortcuts-js

Version:
21 lines (20 loc) 603 B
import WFSerialization from '../../interfaces/WF/WFSerialization'; import WFWorkflowAction from '../../interfaces/WF/WFWorkflowAction'; /** * @action Run Script * @section Actions > Scripting > Pythonista * @icon Pythonista * * Runs the specified script in Pythonista and waits to continue the shortcut until you return to the Shortcuts app. * * ```js * runScript({ * script: 'MyScript.py', * }); * ``` */ declare const runScript: ({ script, }: { /** The name of the script to run */ script?: string | WFSerialization | undefined; }) => WFWorkflowAction; export default runScript;