UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

26 lines (24 loc) 859 B
"use strict"; /* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ const MdapiRetrieveReportApi = require("./mdapiRetrieveReportApi"); /** * Command implementation that uses mdapiDeployApi * API to retrieve source defined by given or generated package.xml. */ class MetadataRetrieveReportCommand { constructor(context) { this.mdRetrieveReport = new MdapiRetrieveReportApi(context.org); } validate(context) { return this.mdRetrieveReport.validate(context); } execute(options) { return this.mdRetrieveReport.report(options); } } module.exports = MetadataRetrieveReportCommand; //# sourceMappingURL=mdapiRetrieveReportCommand.js.map