()
| 82 | argv.verbose ? async app => withLocation(command.client, await app) : app => app |
| 83 | |
| 84 | const installedApps = async (): Promise<(InstalledApp & WithNamedLocation)[]> => { |
| 85 | const listOptions: InstalledAppListOptions = { |
| 86 | locationId: argv.location, |
| 87 | } |
| 88 | const apps = await command.client.installedApps.list(listOptions) |
| 89 | if (argv.verbose) { |
| 90 | return await withLocations(command.client, apps) |
| 91 | } |
| 92 | return apps |
| 93 | } |
| 94 | |
| 95 | await outputItemOrList( |
| 96 | command, |
nothing calls this directly
no test coverage detected