I am creating make node CLI automate my npm package publishing, I am struck by this problem. After all Confirmation, I want to run the command semantic-release but problem it has its own prompts
I currently use exec command but It does not show any prompts created by semantic-release
Code
const timer = showLoading(`running ${chalk.blue(command)} `);
exec(command, (error, stdout, stderr) => {
process.stdout.write(chalk.dim(`\r running ${chalk.blue(command)} `));
clearInterval(timer);
defaults.onFinish();
if (error) {
defaults.onError(error);
console.log(error);
}
defaults.onSuccess(stdout);
console.log(stdout);
});