Usage
initiat env unset
Examples
Clear the active environment
initiat env unset
How it works
-
→
Checks if environment management is initialized
-
→
Verifies there's an active environment to unset
-
→
Removes the active environment tracking (symlink or file)
-
→
Runs direnv reload to clear environment variables
-
→
Shows confirmation of the unset operation
Output
🔄 Unsetting active environment...
🧹 Clearing environment tracking...
🔄 Running direnv reload...
✅ Environment unset successfully!
💡 No environment is currently active
💡 Switch to an environment with: initiat env switch <env>