sfdx-jayree
some sfdx commands
Usage
$ sfdx plugins:install sfdx-jayree
$ sfdx jayree:COMMAND
running command...
$ sfdx plugins
sfdx-jayree 0.5.1
$ sfdx help jayree:COMMAND
USAGE
$ sfdx jayree:COMMAND
...
Commands
sfdx jayree:automation:changeset:deploy
deploy incomming change set to an org
USAGE
$ sfdx jayree:automation:changeset:deploy
OPTIONS
-c, --checkonly validate deploy but don’t save to the org
(default:false)
-l, --testlevel=Default|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg deployment testing level
(Default,RunSpecifiedTests,RunLocalTests,Run
AllTestsInOrg)
-r, --runtests=runtests tests to run if --testlevel
RunSpecifiedTests
-s, --changeset=changeset name of changeset to deploy
-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) logging level for this command invocation
--nodialog don't show the dialog wizard
EXAMPLES
$ sfdx jayree:automation:changeset:deploy -s ChangeSet -l RunLocalTests --nodialog
Deploying Change Set 'ChangeSet'...
=== Status
Status: Pending
jobid: 0Xxx100000xx1x1
$ sfdx jayree:automation:changeset:deploy
? Change Sets Awaiting Deployment (Use arrow keys)
ChangeSet3
ChangeSet2
❯ ChangeSet1
See code: src/commands/jayree/automation/changeset/deploy.ts
sfdx jayree:automation:changeset:list
list incomming change sets of an org
USAGE
$ sfdx jayree:automation:changeset:list
OPTIONS
-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) logging level for this command invocation
See code: src/commands/jayree/automation/changeset/list.ts
sfdx jayree:automation:ltngsyncstatus
check the Lightning Sync User Sync Status and reset sync if needed
USAGE
$ sfdx jayree:automation:ltngsyncstatus
OPTIONS
-o, --officeuser=officeuser 'name' (firstname lastname) of the SF user
-s, --statusonly get Lightning Sync status of the SF user, only
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
-w, --wait=wait wait time for command to wait for status change in minutes (default:
infinitely)
--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) logging level for this command invocation
EXAMPLE
$ sfdx jayree:automation:usersyncstatus -o 'Name'
configSetup: User assigned to active Lightning Sync configuration... Yes
userContacts/userEvents: Salesforce and Exchange email addresses linked... Linked/Linked
userContacts/userEvents: Salesforce to Exchange sync status... Initial sync completed/Initial sync completed
userContacts/userEvents: Exchange to Salesforce sync status... Initial sync completed/Initial sync completed
See code: src/commands/jayree/automation/ltngsyncstatus.ts
sfdx jayree:flowtestcoverage
check the flow test coverage of an org
USAGE
$ sfdx jayree:flowtestcoverage
OPTIONS
-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) logging level for this command invocation
EXAMPLE
$ sfdx jayree:flowtestcoverage
=== Flow Test Coverage
Coverage: 82%
...
See code: src/commands/jayree/flowtestcoverage.ts
sfdx jayree:org:open
open an org in your preferred browser
USAGE
$ sfdx jayree:org:open
OPTIONS
-b, --browser=firefox|chrome|safari [default: chrome] browser to be launched
-p, --path=path navigation URL path
-r, --urlonly display navigation URL, but don’t launch browser
-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) logging level for this command invocation
EXAMPLE
$ sfdx jayree:org:open
$ sfdx jayree:org:open -u me@my.org
$ sfdx jayree:org:open -u MyTestOrg1 -b firefox
$ sfdx jayree:org:open -r -p lightning -b safari
$ sfdx jayree:org:open -u me@my.org
See code: src/commands/jayree/org/open.ts
sfdx jayree:packagedescription:create [FILE]
creates an empty package with the description
USAGE
$ sfdx jayree:packagedescription:create [FILE]
OPTIONS
-d, --description=description (required) new description value
-f, --file=file (required) file to create
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx jayree:packagedescription:create --file FILENAME --description 'DESCRIPTION'
See code: src/commands/jayree/packagedescription/create.ts
sfdx jayree:packagedescription:get [FILE]
get the description within a package
USAGE
$ sfdx jayree:packagedescription:get [FILE]
OPTIONS
-f, --file=file (required) file to read
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx jayree:packagedescription:get --file FILENAME
Description of Package FILENAME
See code: src/commands/jayree/packagedescription/get.ts
sfdx jayree:packagedescription:remove [FILE]
remove the description within a package
USAGE
$ sfdx jayree:packagedescription:remove [FILE]
OPTIONS
-f, --file=file (required) file to read
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx jayree:packagedescription:remove --file FILENAME
See code: src/commands/jayree/packagedescription/remove.ts
sfdx jayree:packagedescription:set [FILE]
set the description within a package
USAGE
$ sfdx jayree:packagedescription:set [FILE]
OPTIONS
-d, --description=description (required) new description value
-f, --file=file (required) file to read
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx jayree:packagedescription:set --file FILENAME --description 'NEW DESCRIPTION'
See code: src/commands/jayree/packagedescription/set.ts
sfdx jayree:packagexml [FILE]
generate a complete package xml form the specified org
USAGE
$ sfdx jayree:packagexml [FILE]
OPTIONS
-c, --matchcase enable 'match case' for the quickfilter
-f, --file=file write to 'file' instead of stdout
-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
-w, --matchwholeword enable 'match whole word' for the quickfilter
-x, --excludemanaged exclude managed packages from output
--apiversion=apiversion override the api version used for api requests made by this command
--configfile=configfile path to config file
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx jayree:packagexml --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/jayree/packagexml.ts