input-from-script
v0.5.5
Published
Bingo input that runs a script.
Readme
npm i input-from-scriptimport { inputFromFetch } from "input-from-script";
await take(inputFromFetch, { resource: "npm whoami" });Options
inputFromScript takes a single argument, command, of type string.
It runs the command with execa and returns either:
Error: If an error was caught running the scriptResult: The type fromexeca, including thestdoutproperty
See create.bingo > Templates > Concepts > Inputs for more documentation on Inputs.
