(options: {
command: string;
flags: CliFlags;
stateDir: string;
env?: EnvMap;
})
| 76 | }; |
| 77 | |
| 78 | export async function resolveRemoteAuthForCli(options: { |
| 79 | command: string; |
| 80 | flags: CliFlags; |
| 81 | stateDir: string; |
| 82 | env?: EnvMap; |
| 83 | }): Promise<RemoteAuthResolution> { |
| 84 | return await resolveRemoteAuth({ |
| 85 | command: options.command, |
| 86 | flags: options.flags, |
| 87 | stateDir: options.stateDir, |
| 88 | allowInteractiveLogin: options.command === 'connect' && !options.flags.noLogin, |
| 89 | env: options.env, |
| 90 | }); |
| 91 | } |
| 92 | |
| 93 | export async function resolveRemoteAuth(options: { |
| 94 | command: string; |
no test coverage detected