🚀 Complete Rewrite with Rollback and Save Commands
This release brings major improvements and new functionality:
-
♻️ Full Codebase Rewrite:
The entire codebase has been rewritten for improved performance, cleaner architecture, and easier maintainability. -
✨ Added Rollback Command:
Introduced arollbackcommand to restore environment file(s) from the.backupfile or from a specific environment file (e.g.,.env.local). -
✨ Added Save Command:
Added asavecommand that allows you to persist current environment changes back to the corresponding environment-specific files.
These enhancements significantly improve reliability, performance, and developer control over environment management.
Upgrading from v1.x
We have changed the JSON structure in both the global and project specific .switchrc files. We recommend to remove these old files and initialise your project again. You can remove your global config using the following command: rm ~/.config/switch/.switchrc