handleDeleteStackCommand = (stackList, logger, isShowStackList) => {
  if (isShowStackList) {
    displayStackList(logger);
  } else if (checkStackList(stackList, logger)) {
    deleteStack(
      stackList.map((stack) => stack.toLowerCase()),
      logger
    );
  }
}
This function, depending on the command entered,
determines whether to display a list of technologies
or delete them.

@param {Array} stackList - The list of technologies
@param {Function} logger - The Logger
@param {Boolean} isShowStackList - The flag to show list of existing technologies