Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.73 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.73 KB

force

A command-line interface to force.com

Installation

Precompiled Binaries
Compile from Source
$ go get -u github.com/heroku/force

Usage

Usage: force <command> [<args>]

Available commands:
   login     Log in to force.com
   logout    Log out from force.com
   whoami    Show information about the active account
   sobject   Manage sobjects
   field     Manage sobject fields
   record    Create, modify, or view records
   export    Export metadata to a local directory
   import    Import metadata from a local directory
   query     Execute a SOQL query
   apex      Execute anonymous Apex code
   version   Display current version
   update    Update to the latest version
   help      Show this help

Run 'force help [command]' for details.

Hacking

# set these environment variables in your startup scripts
export GOPATH=~/go
export PATH="$GOPATH/bin:$PATH"

# download the source and all dependencies
$ go get -u github.com/heroku/force
$ cd $GOPATH/src/github.com/heroku/force

# to compile and test modifications
$ go get .
$ force