Skip to content
Myr

nested-writable.js

This file

Path

test/fixtures/nested-writable.js

6 lines · 247 bytes · JavaScript

Last changed by

Upgrade xo (#980)ehmickybefore adoptionccfa412

History of this file

Take it

Print output with `verbose` option (#884)ehmickybefore adoption6fda30f

lines 1–4why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {execa} from '../../index.js';4

Upgrade xo (#980)ehmickybefore adoptionccfa412

lines 5–6why, one step back
5const [options, file, commandArgument] = process.argv.slice(2);
6await execa(file, [commandArgument], {...JSON.parse(options), stdout: process.stdout});