Skip to content

DreamOps/spm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

SPM

Salesforce Package Manager

Install

Download binary file from release page and copy it to executable path.

If you want to use latest version, execute following command.

$ go get github.com/tzmfreedom/spm

Usage

$ spm [global options] command [command options] [arguments...]

COMMANDS:
     install, i  Install salesforce packages on public remote repository(i.g. github)
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Install Package

$ spm install [command options] [arguments...]

OPTIONS:
   --username value, -u value   [$SF_USERNAME]
   --password value, -p value   [$SF_PASSWORD]
   --endpoint value, -e value  (default: "login.salesforce.com") [$SF_ENDPOINT]
   --apiversion value          (default: "38.0") [$SF_APIVERSION]
   --pollSeconds value         (default: 5) [$SF_POLLSECONDS]
   --timeoutSeconds value      (default: 0) [$SF_TIMEOUTSECONDS]
   --packages value, -P value
  • Install package from remote repository
$ spm install github.com/{USER}/{REPOSITORY} -u {USERNAME} -p {PASSWORD}
  • Install packages from package.yml
$ spm install -u {USERNAME} -p {PASSWORD} -P package.yml

package.yml format

packages:
  - github.com/tzmfreedom/apex-util1
  - github.com/tzmfreedom/apex-util2
  - github.com/tzmfreedom/apex-util3

Sandbox

$ spm install github.com/{USER}/{REPOSITORY} -u {USERNAME} -p {PASSWORD} -e test.salesforce.com

Contribute

Just send pull request if needed or fill an issue!

License

The MIT License See LICENSE file.

About

Salesforce Package Manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.9%
  • Shell 0.1%