UNPKG

salesforce-alm

Version:

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

26 lines (24 loc) 825 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 mdapiRetrieveApi_1 = require("./mdapiRetrieveApi"); /** * Command implementation that uses mdapiDeployApi * API to retrieve source defined by given or generated package.xml. */ class MetadataRetrieveCommand { constructor(context) { this.mdRetrieve = new mdapiRetrieveApi_1.MdRetrieveApi(context.org); } validate(context) { return this.mdRetrieve.validate(context); } execute(context) { return this.mdRetrieve.retrieve(context); } } module.exports = MetadataRetrieveCommand; //# sourceMappingURL=mdapiRetrieveCommand.js.map