Pre-Execution Scripts
Overview
How It Works
Execution Flow
Configuration
Script Location
.aviator/scripts/pre-execution.shScript Requirements
Examples
Example 1: Install Dependencies
Example 2: Environment Setup
Example 3: Conditional Setup Based on Files
Example 4: Cache Warming
Output and Feedback
Successful Execution
Failed Execution
Best Practices
1. Keep Scripts Idempotent
2. Provide Clear Output
3. Handle Errors Gracefully
4. Keep Execution Time Reasonable
5. Use Environment Variables
Troubleshooting
Script Not Running
Script Fails Silently
Slow Execution
Limitations
Security Considerations
FAQ
Related Documentation
Last updated
Was this helpful?
