UNPKG

tcr-cli

Version:

A TCR (Test Commit Revert) command line utility for making it easier to develop through tcr

14 lines (11 loc) 273 B
const execSync = require('child_process').execSync; const push = (options) => { try { console.log('pushing...'); execSync(options.pushCommand); console.log('pushed'); } catch (err) { console.log('push failed', err); } }; module.exports.push = push;