sfdx-build
v0.0.3
Published
sfdx plugin for creating a package.xml
Downloads
38
Maintainers
Readme
sfdx-build
sfdx plugin for creating a package.xml
Install from source
- Install the SDFX CLI.
- Clone the repository:
git clone git@github.com:abdokhaire/sfdx-build.git
- Install npm modules:
npm install
- Link the plugin:
sfdx plugins:link .
Install as plugin
- Install plugin:
sfdx plugins:install sfdx-build
Commands
sfdx build:fetch:xml [-f] [-c <string>] [-q <string>] [-x] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
generate a complete package xml form the specified org
USAGE
$ sfdx build:fetch:xml [-f] [-c <string>] [-q <string>] [-x] [-v <string>] [-u <string>] [--apiversion <string>]
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-c, --config=config path to config file
-f, --force force boolean flag
-q, --quickfilter=quickfilter csv separated list of metadata type,
member or file names to filter on
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
-v, --targetdevhubusername=targetdevhubusername username or alias for the dev hub
org; overrides default dev hub org
-x, --excludemanaged exclude managed packages from output
--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 build:fetch:xml --targetusername myOrg@example.com
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">...</Package>
See code: src/commands/build/fetch/xml.ts