@muenzpraeger/sfdx-plugin
A plugin for the Salesforce CLI built by René Winkelmeyer.
Last updated a year ago by muenzpraeger .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @muenzpraeger/sfdx-plugin 
SYNC missed versions from official npm registry.

sfdx-plugin

A plugin for the Salesforce CLI built by René Winkelmeyer.

Version Downloads/week License

Installation into the Salesforce CLI

Install the plugin into your Salesforce CLI using this command:

$ sfdx plugins:install @muenzpraeger/sfdx-plugin

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

Commands

sfdx mzpr:source:api:set

Upgrades the current project and all metadata to the latest API version

USAGE
  $ sfdx mzpr:source:api:set

OPTIONS
  -a, --apiversion=apiversion                      specify the API version (defaults to API version of your DevHub)
  -h, --help                                       show CLI help
  -v, --targetdevhubusername=targetdevhubusername  username or alias for the dev hub org; overrides default dev hub org
  --json                                           format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)   logging level for this command invocation

EXAMPLES
  $ sfdx mzpr:source:api:set
       Reading content of package directories
       45 files have been set to API version 42.0.

  $ sfdx mzpr:source:api:set -a 41.0
       Reading content of package directories
       45 files have been set to API version 41.0.

sfdx mzpr:source:cleanupaura

Removes all boilerplate Aura related files that have not been modified

USAGE
  $ sfdx mzpr:source:cleanupaura

OPTIONS
  -h, --help                                      show CLI help
  -p, --noprompt                                  no prompt for confirm deletion
  --json                                          format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)  logging level for this command invocation

EXAMPLES
  $ sfdx muenzpraeger:source:cleanupaura
        Make sure that your git commits are up-to-date before you proceed. Do you want to delete boilerplate Aura
  related files that have not been modified? (y/N) y
        Reading content of package directories
        36 non-modified boilerplate Aura files have been deleted in package directory 'force-app'.

  $ sfdx muenzpraeger:source:cleanupaura -p
        Reading content of package directories
        36 non-modified boilerplate Aura files have been deleted in package directory 'force-app'.

sfdx mzpr:swagger:import

Auto-generate Apex classes from Swagger/OpenAPI files.

USAGE
  $ sfdx mzpr:swagger:import

OPTIONS
  -a, --apiversion=apiversion                      specify the API version (defaults to API version of your DevHub)
  -c, --classprefix=classprefix                    specify a class prefix (defaults to "Swag")
  -d, --outputdir=outputdir                        (required) local folder for storing the created files.
  -f, --force                                      overwrites existing files
  -h, --help                                       show CLI help
  -p, --path=path                                  (required) URL or local file path for Swagger definition file.
  -v, --targetdevhubusername=targetdevhubusername  username or alias for the dev hub org; overrides default dev hub org
  --json                                           format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)   logging level for this command invocation

EXAMPLE
  $ sfdx mzpr:swagger:import -d . -p http://petstore.swagger.io/v2/swagger.json
     Apex classes have been generated.

Current Tags

  • 0.4.0                                ...           latest (a year ago)

4 Versions

  • 0.4.0                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 13
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |