Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

force-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

force-cli

The Force.com CLI allows you to work with Force.com data directly from the command line. You can browse and create Force.com objects, view, edit, create, and delete records, execute APEX code and SOQL queries, and more.

  • 39.14.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

This package is a Node.js implementation of the force-cli. It integrates with the Heroku Toolbelt.

Installing the Latest Stable Version

  1. Install the heroku toolbelt: https://toolbelt.heroku.com/
  2. Run heroku plugins:install force-cli-dev (confirm success with heroku plugins)

Getting Started as a Dev

  1. Install Node.js. If you are on the mac, please use Homebrew and execute brew install node. Ensure that you have version > 6.2.0.
  2. Install typescript and gulp by doing npm install -g gulp-cli
  3. Check out this repository using git clone git@git.soma.salesforce.com:DevTools/force-cli.git
  4. Change to the directory where you checked out the code
  5. If you want to resolve the salesforce-alm-dev module from a local path execute npm link ../<path-to-force-com-toolbelt>
  6. Execute npm install
  7. To build, execute gulp test
  8. To install the plugin to Toolbelt, execute heroku plugins:link .

Running Tests

  1. Unit tests: gulp test
  2. Integration tests: gulp test -i --instance=<instance> --username=<username> --password=<password>
  3. Specific tests: gulp test --grep=<test name pattern> [-i] [--instance=<instance> --username=<username> --password=<password>]
  4. All tests: gulp test --instance=<instance> --username=<username> --password=<password>

Notes

  1. To debug integration tests, you have to pass in the login credentials as environment variables like so: FORCE_CLI_TEST_INTEGRATION=true FORCE_CLI_TEST_INSTANCE= FORCE_CLI_TEST_USERNAME= FORCE_CLI_TEST_PASSWORD= mocha --debug-brk dist/test/integration/integrationTest.js

Keywords

FAQs

Package last updated on 18 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc