@hysh/sff
command line tool to download attachments from SalesForce Case
Last updated 4 months ago by hysh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hysh/sff 
SYNC missed versions from official npm registry.

sff

Simple command line tool to download Attachments from Salesforce Case.

Intallation

$ npm install -g @hysh/sff

User / Pass +Token

USERNAME and PASSWORD+TOKEN hash to be set as Environment Variable to download files. TOKEN is available from here. (https://help.salesforce.com/articleView?id=user_security_token.htm&type=5)

Note: This tool uses REST API to Salesforce. Please refere here for the limits.

- Mac/Unix
$ export SFF_USERNAME=yourname@company.com
$ export SFF_PASSROKEN=passwordtoken

- Windows powershell
> set $env:SFF_USERNMAE="username"
> set $env:SFF_PASSTOKEN="passwordtoken"

- Windows CMD
> set SFF_USERNMAE="username"
> set SFF_PASSTOKEN="passwordtoken"
$ sff
 sff .. Downloads attachments from SalesForce to current directory
 == USAGE ==
 # sff <CaseNumber> [-a] [file1 file2 file3...]
 # sff 00001234                 ........  List Attachment
 # sff 00001234 file1 file2     ........  Download Attachments
 # sff 00001234 -a              ........  Download All Attachments

Current Tags

  • 0.0.5                                ...           latest (4 months ago)

4 Versions

  • 0.0.5                                ...           4 months ago
  • 0.0.4                                ...           4 months ago
  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 4
Last Month 4
Dependencies (4)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |