prompt to initiative directory instead of erroring out by virajmparekh · Pull Request #2013 · astronomer/astro-cli
…tside project dir
Instead of immediately erroring when astro dev commands (start, stop, restart, etc.) are run outside an Astro project directory, prompt the user to initialize one in-place.
Description
Describe the purpose of this pull request.
🎟 Issue(s)
Related #XXX
🧪 Functional Testing
List the functional testing steps to confirm this feature or fix.
📸 Screenshots
Add screenshots to illustrate the validity of these changes.
📋 Checklist
- Rebased from the main (or release if patching) branch (before testing)
- Ran
make testbefore taking out of draft - Ran
make lintbefore taking out of draft - Added/updated applicable tests
- Tested against Astro-API (if necessary).
- Tested against Houston-API and Astronomer (if necessary).
- Communicated to/tagged owners of respective clients potentially impacted by these changes.
- Updated any related documentation