add confirm flag to task command