Skip to main content

collect_env_vars

Function collect_env_vars 

Source
pub fn collect_env_vars(project_path: &Path) -> Vec<DeploymentSecretInput>
Expand description

Collect environment variables interactively

Auto-discovers .env files in the project directory and presents them as selectable options alongside manual entry. Uses is_likely_secret() per-key instead of marking all values as secret.

Returns collected env vars, or empty vec if user skips.