src/vs/workbench/api/node/extHostCLIServer.ts/CLIServerBase/manageExtensions
class CLIServerBase:	private async manageExtensions(data: ExtensionManagementPipeArgs, res: http.ServerResponse) {
		try {
			const toExtOrVSIX = (inputs: string[] | undefined) => inputs?.map(input => /\.vsix$/i.test(input) ? URI.parse(input) : input);
			const commandArgs = {
				list: data.list,
				install: toExtOrVSIX(data.install),
				uninstall: toExtOrVSIX(data.uninstall),
				force: data.force
			};
			const output = await this._commands.executeCommand('_remoteCLI.manageExtensions', commandArgs);
			res.writeHead(200);
			res.write(output);
		} catch (err) {
			res.writeHead(500);
			res.write(String(err), err => {
				if (err) {
					this.logService.error(err);
				}
			});
		}
		res.end();
	}