UNPKG

gh-templating

Version:

## A CLI tool to make choosing GitHub PR templates easier

10 lines (8 loc) 236 B
import { execSync } from "child_process"; export const executeCommand = (command, location) => { try { execSync(command); } catch (error) { console.error(`${location}: Something went wrong: ${error}`); } };