(result: RunCLIResult)
| 41 | } |
| 42 | |
| 43 | function parseJson(result: RunCLIResult): any { |
| 44 | return JSON.parse(result.stdout); |
| 45 | } |
| 46 | |
| 47 | async function registryRemote(id: string): Promise<string | undefined> { |
| 48 | const registry = await readStoreRegistryState({ globalDataDir }); |