(config: Config)
| 118 | } |
| 119 | |
| 120 | export function requireApiKey(config: Config): string { |
| 121 | if (!config.api_key) { |
| 122 | process.stderr.write("Not authenticated. Run: e2a login\n"); |
| 123 | process.exit(1); |
| 124 | } |
| 125 | return config.api_key; |
| 126 | } |
no outgoing calls
no test coverage detected