NAME
App::SFDC::Retrieve - Retrive files from SFDC
VERSION
version 0.08
OPTIONS
--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.
--manifest
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.
--plugins
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 retrieve.plugins.pm included with this distribution.
METHODS
execute()
Retrieve metadata from Salesforce.com.
AUTHOR
Alexander Brett <alexander.brett@sophos.com>
COPYRIGHT AND LICENSE
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.