Offline Mode
The run command supports offline fallback to .env files.
How it works
Section titled “How it works”- Load secrets from your configured store
- If the store is unreachable, fall back to
.envfiles - Show a warning when using offline mode
Example
Section titled “Example”lazyenv run npm run dev
# Output when offline:# ⚠️ Could not reach secret store# Using .env (offline mode)# ▶ Running: npm run devRequirements
Section titled “Requirements”For offline mode to work, you need .env files in place:
# Pull secrets firstlazyenv pull
# Now run works offlinelazyenv run npm start