@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
21 lines (20 loc) • 603 B
TypeScript
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;