add tasks command to list tasks. fixes #4278