(content: string, name: string)
| 129 | const sensitive = await askSensitivity(options.name); |
| 130 | const repoRoot = findRepoRoot(); |
| 131 | const tempDirectory = mkdtempSync(path.join(os.tmpdir(), 'kilo-web-env-')); |
| 132 | |
| 133 | try { |
| 134 | const vaultEnvironments = sensitive |
| 135 | ? environments.filter( |
| 136 | (environment): environment is VaultEnvironment => environment !== 'development' |
| 137 | ) |
| 138 | : []; |
| 139 | console.log(`Checking Vercel${vaultEnvironments.length > 0 ? ' and 1Password' : ''} access...`); |
| 140 | const { contexts, missingProjects } = resolveVercelContexts(tempDirectory); |
| 141 | if (contexts.length === 0) throw new Error('None of the Vercel projects exist.'); |
| 142 | const vault = vaultEnvironments.length > 0 ? resolveVault() : undefined; |
| 143 | const values = await collectValues(options, environments); |
| 144 | const defaults = options.only |
no outgoing calls
no test coverage detected