Ensure to create the task if it doesn't exist…
This commit is contained in:
		
							parent
							
								
									be8ed4163e
								
							
						
					
					
						commit
						e8b0824a12
					
				|  | @ -35,7 +35,9 @@ fi | ||||||
| 
 | 
 | ||||||
| # If the task doesn't already exists | # If the task doesn't already exists | ||||||
| if [ ! "${TASK_ID}" ]; then | if [ ! "${TASK_ID}" ]; then | ||||||
| 	printf '%b' "${TASK_NAME} don't exist, create it.\n" | 	command task add "${TASK_NAME}" | ||||||
|  | 	printf '%b' "Task '${TASK_NAME}' created.\n" | ||||||
|  | 	TASK_ID=$(task description.is:"${TASK_NAME}" ids) | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| ## Working on the task | ## Working on the task | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue