mirror of
https://github.com/wazuh/wazuh-dashboard-plugins.git
synced 2026-02-04 01:56:33 -06:00
* feat(tools): adapt and enhance the releasing tools - Create tag and bump script to manage the repository - Adapt and enhance the RELEASING.md file - Remove unused releasing tools in plugins/main plugin - Support for bumping multi plugins - Support for running a specific bump task for each plugin * feat(tools): remove early return and add warning message when there are changes to the tag script * feat(tools): removed release package scripts from main plugin and fix bump script * feat(tools): fix description of tag tool * fix: fix problems in RELEASING.md and minor fixes related to releasing scripts * fix: RELEASING.md and remove warning in releasing bump script * fix: add missing flag to tag command in the RELEASING.md * fix: flag in RELEASING.md file * feat: sign commit and tag in the release tag script * feat: enhance release tools - Added dependant options to scripts - Fix description in manifest-changelog option - Enhance some messages * fix: typo in release tools * feat: add warning message related to the tag script in the RELEASING.md doc file
20 lines
338 B
JavaScript
20 lines
338 B
JavaScript
const readline = require('readline');
|
|
|
|
async function question(question) {
|
|
return new Promise(res => {
|
|
const rd = readline.createInterface({
|
|
input: process.stdin,
|
|
output: process.stdout,
|
|
});
|
|
|
|
rd.question(question, input => {
|
|
rd.close();
|
|
res(input);
|
|
});
|
|
});
|
|
}
|
|
|
|
module.exports = {
|
|
question,
|
|
};
|