App::SFDC::Command::Retrieve - Retrive files from SFDC


version 0.19


--clean --no-clean

Whether or not to clean src/ before retrieving. Defaults to the value of --all.

--all -a

Retrieve everything. If set, we'll read from all folders and manifests specified.

--file -f

Retrieve only specified files. You can use various calling style, for instance:

    -f "src/profiles/blah.profile" --file "src/classes/blah.cls,src/classes/foo.cls"

Setting this will ignore any manifests or folders otherwise specified.


Use the specified manifests(s). If no manifest is specified, Retrieve will use the base.xml included with this distribution, and if --all is set, the all.xml included.


The plugins file to use. This file should provide:

    sub _retrieveTimeMetadataChanges {
        my ($path, $content) = @_;
        # This returns a new version of $content with any
        # changes you need made to it. You may use this to
        # compress profiles, remove files or nodes which
        # are causing issues in your organisation, ensure
        # standardised indentation, etc. For instance, if
        # you send outbound messages to dev instances of
        # other systems from your dev org, you may wish
        # to ensure those are set to the production URL.
        return $content;

    our @folders = (
        {type => 'Document', folder => 'unfiled$public'},
        {type => 'EmailTemplate', folder => 'unfiled$public'},
        {type => 'Report', folder => 'unfiled$public'},

The default is the included with this distribution.



Retrieve metadata from


Alexander Brett <>


This software is Copyright (c) 2015 by Sophos Limited

This is free software, licensed under:

  The MIT (X11) License

The full text of the license can be found in the LICENSE file included with this distribution.