Plugin for Salesforce CLI by John Towers
Last updated a year ago by jtowers .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jtowers/sfdx-plugin 
SYNC missed versions from official npm registry.


Plugin for Salesforce CLI by jtowers


Installation into the Salesforce CLI

Install the plugin into your Salesforce CLI using this command:

$ npm install -g @jtowers/sfdx-plugin

You can check a successful installation with sfdx plugins. Updates are applied when executing sfdx plugins:update.


sfdx jtowers:metadata:backup

Retrieves some or all metadata from the target org and zips it in the provided location

  $ sfdx jtowers:backup:metadata -r <directory> [-t <string>] [-e <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel

  -e, --excludedmetadatatypes=excludedmetadatatypes                                 types of metadata to exclude from backup
  -r, --retrievetargetdir=retrievetargetdir                                         (required) directory to save backed up metadata to
  -t, --targetmetadatatypes=targetmetadatatypes                                     types of metadata to retrieve for backup
  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org
  --apiversion=apiversion                                                           override the api version used for api requests made by this command
  --json                                                                            format output as json
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation

  $ sfdx jtowers:backup:metadata --targetusername myOrg@example.com --retrievetargetdir backups 
  Retrieving backup from server... Backup retrieved

  $ sfdx jtowers:backup:metadata --targetusername myOrg@example.com --retrievetargetdir backups -t ApexClass ApexTrigger
  Retrieving backup from server... Backup retrieved

Current Tags

  • 0.0.1                                ...           latest (a year ago)

1 Versions

  • 0.0.1                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |