Fixes#4991
Previously, saved generated HTML/CSS/JS files to a
hidden system temp directory (via ), making the output
inaccessible from the user's project folder. The CLI also printed a
misleading message suggesting the file was saved locally.
Changes:
- now defaults to saving files in the current
working directory () instead of a temp directory.
- Added an parameter to both and
so users can optionally specify a custom output directory.
- Added 5 new tests covering CWD output, explicit output_dir, and
absolute path guarantees.
Co-Authored-By: João <joao@crewai.com>