NAME

App::SFDC::Command::Deploy - Deploy files to SFDC

VERSION

version 0.19

OPTIONS

--all -a

Deploy all files in the src/ directory.

--deletions --no-deletions

Whether or not to deploy deletions. By default, Deploy includes any of the following, if they're present:

destructiveChanges.xml
destructiveChangesPre.xml
destructiveChangesPost.xml

--files -f

Files to deploy. Defaults to a list read from STDIN, unless all is set.

You can use various calling style, for instance:

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

--rollback --no-rollback

Whether or not to send the 'rollbackonerror' header. Defaults to true.

--runtests -t

If set, set 'testLevel' to 'RunLocalTests', i.e. run all tests in your own namespace. This has no effect on Production, and doesn't work before API v34.0

--testoutput -o

If set, then this file will be populated with JUnit-formatted xml containing the test results of this deployment.

--validate -v

If set, set 'isCheckOnly' to true, i.e. perform a validation deployment.

--zipfile -z

If set, deploy this zip file, rather than building one from scratch.

METHODS

execute()

builds a zip file and deploys it to Salesforce.com.

AUTHOR

Alexander Brett <alexander.brett@sophos.com> http://alexander-brett.co.uk

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Sophos Limited https://www.sophos.com/.

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.