This is capture tool for Salesforce.com. This tool use PhantomJS and CasperJS.
$ git clone git@github.com:tzmfreedom/sfdc-capturejs.git
$ cd sfdc-capturejs
$ npm install
$ bin/capture.sh -u "username" -p "password" -o "output filename for record ids." -e "test or prod" -q "soql"
Example for Production or Developer Environment.
$ bin/capture.sh -u test@example.com -p hogefuga -o out.dat -q "SELECT id FROM Profile"
Example for Sandbox Environment.
$ bin/capture.sh -u test@example.com.sandbox -p hogefuga -o out.dat -e test -q "SELECT id FROM Profile"
The MIT License See LICENSE file.