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

@jtowers/sfdx-plugin

Plugin for Salesforce CLI by jtowers

Version

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.

Commands

sfdx jtowers:metadata:backup

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

USAGE
  $ sfdx jtowers:backup:metadata -r <directory> [-t <string>] [-e <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -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

EXAMPLE
  $ 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 (3 months ago)

1 Versions

  • 0.0.1                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |