Description
My company is working on moving over to taskfiles for 200+ builds/apps/libraries. We rely on remote taskfiles to deduplicate build scripts. We’d like to execute logic based on whether or not a consumer uses the —offline flag.
Examples:
- prevent a task from running if using offline mode. Certain tasks require the latest remote taskfiles
- If offline disable commands in tasks that would make HTTP requests (docker pull)
- Prompt a user for confirmation before running tasks that could benefit from pulling the latest remote taskfile
Activity