const logger = require('../logger');
const noop = () => {};
module.exports = ({ argumentName = 'all required arguments', argumentValue, fail = noop }) => {
if (typeof argumentValue === 'undefined') {
fail();
logger.Error(`Please provide ${argumentName}`, { hideTimestamp: true });
}
};