script.js
This file
Path
lib/script.js
15 lines · 644 bytes · JavaScript
Last changed by
Allow template strings with all methods (#933)ehmickybefore adoption8074d85
History of this fileTake it
Allow template strings with all methods (#933)ehmickybefore adoption8074d85
lines 1–3why, one step back1export const setScriptSync = (boundExeca, createNested, boundOptions) => {2 boundExeca.sync = createNested(mapScriptSync, boundOptions);3 boundExeca.s = boundExeca.sync;Split files (#791)ehmickybefore adoption932fb26
lines 4–5why, one step back4};5Allow template strings with all methods (#933)ehmickybefore adoption8074d85
lines 6–7why, one step back6export const mapScriptAsync = ({options}) => getScriptOptions(options);7const mapScriptSync = ({options}) => ({...getScriptOptions(options), isSync: true});`.pipe()` shortcut for `$` (#840)ehmickybefore adoption316f562
line 8why, one step back8Allow template strings with all methods (#933)ehmickybefore adoption8074d85
line 9why, one step back9const getScriptOptions = options => ({options: {...getScriptStdinOption(options), ...options}});Split files (#791)ehmickybefore adoption932fb26
line 10why, one step back10Allow template strings with all methods (#933)ehmickybefore adoption8074d85
line 11why, one step back11const getScriptStdinOption = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefinedSplit files (#837)ehmickybefore adoption672c2d7
lines 12–13why, one step back12 ? {stdin: 'inherit'}13 : {};Allow template strings with all methods (#933)ehmickybefore adoption8074d85
lines 14–15why, one step back1415export const deepScriptOptions = {preferLocal: true};