interactic

executes a sequence of interactive processes


Keywords
ts-packrat, geenee
License
MIT
Install
npm install interactic@1.0.0

Documentation

interactic

executes a sequence of interactive processes

codecov Version Downloads/week License

Geenee Template

Uses execa to call a sequence of commands.

Include with npm i interactic magicalstrings@0.1.14 Then you can call it like this:

const interactic = requre 'interactic'
import { CommandSpec } from 'magicalstrings';

const tempCommandSpecs: CommandSpec[] = [
  {
    title: 'create react app'
    file: 'create-react-app
  },
];

const codeDir = '/tmp/interactiveSequenceTest';

async () => {
  await interactic(tempCommandSpecs, codeDir)
})

API

async function interactic(commandSpecs: CommandSpec[], 
codeDir: string)

Check out the CommandSpec type in magicalstrings for more info about that. The codeDir string is directory where you want the command to be executed.

General Constants and Commands