feat(task): added support for cwd option