- PROVIDING APEX CODE
- COPYRIGHT AND LICENSE
App::SFDC::Command::ExecuteAnonymous - Use the apex API to execute anonymous apex code
SFDC executeAnonymous [options] -E "system.debug(1);" > anonymous.log SFDC executeAnonymous [options] -f anonymous.apex > anonymous.log SFDC executeAnonymous [options] > anonymous.apex > anonymous.log
executeAnonymous provides a command-line interface to the Salesforce.com apex API's executeAnonymous function. Diagnostics are printed to STDERR and any logs are printed to STDOUT.
Executes the anonymous code against the target sandbox, printing the debug log to STDOUT and returning truth or falsehood depending on whether the code executed successfully.
Code can be specified in three ways (as demonstrated in the synopsis), in order of priority:
In the command invocation using -E; Read from a file, specified using -f; Read from STDIN.
Alexander Brett <email@example.com> http://alexander-brett.co.uk
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.