interactic
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i interactic

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

6.88 kB

Total Files

10

Last publish

Collaborators

  • yisroel