Remove unused variables in addtextdomain task.
Fix searching in wordpress.getMainFile().
Change the cwd based on the option to prevent funky configs.
Only pass custom CLI args if the bundled WP i18n tools are being used in order to maintain compatibility.
Explicitly pass the slug to the CLI tools to prevent an error when working with non-standard directory structures.
Add some tests.