Salesforce DX (SFDX) commands to support salesforce developments & deployments
$ npm install -g @eon-com/eon-sfdx
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
@eon-com/eon-sfdx/1.11.2 darwin-x64 node-v18.12.1
$ sfdx --help [COMMAND]
USAGE
$ sfdx COMMAND
...
sfdx eon:activate:bot -v <number> -d <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:beta:gitlab:merge:status -t <string> -m <integer> -a <string> -u <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:commit [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:deactivate:bot -d <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:git:branch:create -p <string> [-t <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:org:features:update -f <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:org:gettype [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:package:deploy [-p <string>] [-i] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:package:devkit:apply -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:package:devkit:create -p <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:package:devkit:testdata:retrieve -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:package:validate [-t <string>] [-s <string>] [-d] [-p <string>] [-g <string>] [-a <string>] [-o] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:package:validate:source [-t <string>] [-s <string>] [-d] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:project:validate [-t <string>] [-s <string>] [-v] [-m] [-o] [-d] [-p <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:unassign:packagemember [-p <string> -t <string> -c <string>] [-f <string>] [-o <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:update:customlabel -n <string> -c <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:update:externaldatasource -n <string> [-e <string>] [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:update:metadata -d <string> -p <string> -v <string> [-k <string>] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:update:namedcredential -n <string> [-e <string>] [-p <string>] [-s <string>] [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:upsert:customsetting -n <string> -k <string> -v <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx eon:activate:bot -v <number> -d <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Activate a bot after deployment is finished
USAGE
$ sfdx eon:activate:bot -v <number> -d <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-d, --developername=developername (required) Bot developer name to
activate
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
-v, --version=version (required) Bot Version to activate
--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 eon:activate:bot --version 15 --developername chat
See code: src/commands/eon/activate/bot.ts
sfdx eon:beta:gitlab:merge:status -t <string> -m <integer> -a <string> -u <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
This command fetch the current deployment status for a merge request
USAGE
$ sfdx eon:beta:gitlab:merge:status -t <string> -m <integer> -a <string> -u <string> [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --aliases=aliases (required) Orgs Alias for deplyoment
status
-m, --mergeid=mergeid (required) Merge Request Id
-t, --token=token (required) User Token from GitLab
Repository
-u, --url=url (required) GitLab API Url
--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
EXAMPLES
sfdx eon:gitlab:merge:status --token gitlabxxxxx --url gitlab.com --aliases dev,ft,sit --mergeid 1523
sfdx eon:gitlab:merge:status -t gitlabxxxxx -u gitlab.com -a dev,ft,sit -m 1523
See code: src/commands/eon/beta/gitlab/merge/status.ts
sfdx eon:commit [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Commit changes to a package while maintaining versions
USAGE
$ sfdx eon:commit [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
--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 eon:commit
See code: src/commands/eon/commit.ts
sfdx eon:deactivate:bot -d <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Search active version and deactivate the bot before deployment
USAGE
$ sfdx eon:deactivate:bot -d <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-d, --developername=developername (required) Bot developer name to
deactivate
-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 eon:deactivate:bot --developername chat
See code: src/commands/eon/deactivate/bot.ts
sfdx eon:git:branch:create -p <string> [-t <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Job to create a hotfix brnach for the selected package
USAGE
$ sfdx eon:git:branch:create -p <string> [-t <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-p, --package=package (required) Package for create the
hotfix branch
-t, --ticket=ticket Jira ticket number to create the
correct branch name
-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 eon:git:branch:create -t DAOPS-xxxx -p eon-core -m 1234567890abcdef1234567890abcdef12345678
See code: src/commands/eon/git/branch/create.ts
sfdx eon:org:features:update -f <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Updates all custom settings for features with org specific values
USAGE
$ sfdx eon:org:features:update -f <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --alias=alias Environment Alias matching the
target Org and the settings file
-f, --settingsfile=settingsfile (required) Path to file that
contains the feature settings
-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 eon:org:features:update -f feature-settings.yml -a production
See code: src/commands/eon/org/features/update.ts
sfdx eon:org:gettype [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Returns the type of the target org
USAGE
$ sfdx eon:org:gettype [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLE
sfdx eon:org:type
See code: src/commands/eon/org/gettype.ts
sfdx eon:package:deploy [-p <string>] [-i] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
deploy package source files by package name
USAGE
$ sfdx eon:package:deploy [-p <string>] [-i] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-i, --includedependencies set true to deploy dependencies
-p, --packagename=packagename Name of Package to be deployed
-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
EXAMPLES
sfdx eon:deploy:package --packagename api-gateway --includedependencies
sfdx eon:deploy:package --packagename core-datamodel
See code: src/commands/eon/package/deploy.ts
sfdx eon:package:devkit:apply -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Applys scripts and testdata of a devkit to an scratch org
USAGE
$ sfdx eon:package:devkit:apply -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-p, --package=package (required) Name of the package where
the devkit should be created
-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
EXAMPLES
sfdx eon:devkit:create
sfdx eon:devkit:apply
See code: src/commands/eon/package/devkit/apply.ts
sfdx eon:package:devkit:create -p <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Initialize a devkit for a package
USAGE
$ sfdx eon:package:devkit:create -p <string> [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-p, --package=package (required) Name of the package where
the devkit should be created
--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
EXAMPLES
sfdx eon:devkit:create
sfdx eon:devkit:apply
See code: src/commands/eon/package/devkit/create.ts
sfdx eon:package:devkit:testdata:retrieve -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Applys scripts and testdata of a devkit to an scratch org
USAGE
$ sfdx eon:package:devkit:testdata:retrieve -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-p, --package=package (required) Name of the package where
the devkit should be created
-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
EXAMPLES
sfdx eon:devkit:create
sfdx eon:devkit:apply
See code: src/commands/eon/package/devkit/testdata/retrieve.ts
sfdx eon:package:validate [-t <string>] [-s <string>] [-d] [-p <string>] [-g <string>] [-a <string>] [-o] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Validation Job to check package changes on scratch
USAGE
$ sfdx eon:package:validate [-t <string>] [-s <string>] [-d] [-p <string>] [-g <string>] [-a <string>] [-o] [-u
<string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --devhubalias=devhubalias Target dev hub alias
-d, --deploymentscripts Flag to run pre/post deployment
scripts
-g, --pooltag=pooltag Pool tag to fetch scratch orgs
-o, --onlytests Run validation without deployment
only for testclass execution
-p, --package=package Validate one selected package
-s, --source=source Flag for source branch
-t, --target=target Flag for target branch
-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
EXAMPLES
sfdx eon:validate -t origin/main
sfdx eon:validate -t origin/main -p core
sfdx eon:validate -t origin/main -p core -o
sfdx eon:validate --target origin/main --package --onlytests
See code: src/commands/eon/package/validate.ts
sfdx eon:package:validate:source [-t <string>] [-s <string>] [-d] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Validation Job to check source packages on org
USAGE
$ sfdx eon:package:validate:source [-t <string>] [-s <string>] [-d] [-p <string>] [-u <string>] [--apiversion
<string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-d, --deploymentscripts Flag to run pre/post deployment
scripts
-p, --package=package Validate one selected package
-s, --source=source Flag for source branch
-t, --target=target Flag for target branch
-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
EXAMPLES
sfdx eon:validate:source
sfdx eon:validate:source -p mypackage
sfdx eon:validate:source -p mypackage -o
sfdx eon:validate:source --package mypackage --onlytests
See code: src/commands/eon/package/validate/source.ts
sfdx eon:project:validate [-t <string>] [-s <string>] [-v] [-m] [-o] [-d] [-p <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
This command performs static checks in the sfdx-project json file for changed packages. Optional flags are used to control which validations are to be carried out. The individual tests are described with the flags.
USAGE
$ sfdx eon:project:validate [-t <string>] [-s <string>] [-v] [-m] [-o] [-d] [-p <string>] [-a] [-u <string>]
[--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --all
Runs all checks
-d, --depsversion
Checks whether the dependent packages have at least the versions of the dependent packages. Default this commands
checks only the required versions.
-m, --missingdeps
Checks whether all dependend packages are present in the unlocked package tree
-o, --order
Checks if the dependent packages are arranged in the correct order in the package tree. Furthermore, it is checked
that the dependend packages are arranged in front of the unlocked package in the tree.
-p, --package=package
Validate only one selected package
-s, --source=source
This flag is required for the git diff check and describes the source value. The default value is HEAD
-t, --target=target
[default: origin/main] This flag is required for the git diff check and describes the target value. The default
value is origin/main
-u, --targetusername=targetusername
username or alias for the target org; overrides default target org
-v, --versionupdate
Checks whether the versions of the changed packages for the merge request have been updated. The check is against
the target flag.
--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
EXAMPLES
sfdx eon:project:validate -t origin/main --versionupdate
sfdx eon:project:validate -t --order -p core
sfdx eon:project:validate -t origin/main --versionupdate --missingdeps --order --depsversion
sfdx eon:project:validate -t origin/main - -v -m -o -d
sfdx eon:project:validate --all
See code: src/commands/eon/project/validate.ts
sfdx eon:unassign:packagemember [-p <string> -t <string> -c <string>] [-f <string>] [-o <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Unassign package member from a selected package
USAGE
$ sfdx eon:unassign:packagemember [-p <string> -t <string> -c <string>] [-f <string>] [-o <string>] [-u <string>]
[--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-c, --component=component Component name to unassign
-f, --configfile=configfile Config file to unassign several
components
-o, --parentobject=parentobject Identifier for the parent object
name from the component
-p, --packagename=packagename Package to unassign a component
-t, --type=type Type from the component to unassign
-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 eon:packagemember:unassign --packagename --type --component --configfile
See code: src/commands/eon/unassign/packagemember.ts
sfdx eon:update:customlabel -n <string> -c <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Update Custom Label Settings
USAGE
$ sfdx eon:update:customlabel -n <string> -c <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --alias=alias Environment Alias matching the
target Org and the settings file
-c, --value=value (required) Optional Flag For Value
Update
-n, --name=name (required) Required Developer Name
To Select Correct Data For Update
-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
EXAMPLES
sfdx eon:upsert:customlabel --name my_label --value 'settings:SomeKeyInYaml' --alias staging
sfdx eon:upsert:customlabel --targetusername [email protected] --name my_label --value xxx --alias staging
sfdx eon:upsert:customlabel --targetusername [email protected] -n my_label -v XXX
See code: src/commands/eon/update/customlabel.ts
sfdx eon:update:externaldatasource -n <string> [-e <string>] [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Update dataSource
USAGE
$ sfdx eon:update:externaldatasource -n <string> [-e <string>] [-a <string>] [-u <string>] [--apiversion <string>]
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --alias=alias Environment Alias matching the
target Org and the settings file
-e, --endpoint=endpoint Optional Flag For Endpoint Update
-n, --name=name (required) Required Developer Name
To Select Correct Data For Update
-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
EXAMPLES
sfdx eon:update:datasource --name my_datasource --endpoint 'settings:dataSourceURL' --alias $ALIAS
sfdx eon:update:datasource --targetusername [email protected] --name my_datasource --endpoint xxx --alias staging
sfdx eon:update:datasource --targetusername [email protected] -n my_source -e https://test.com
See code: src/commands/eon/update/externaldatasource.ts
sfdx eon:update:metadata -d <string> -p <string> -v <string> [-k <string>] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Replace placeholder in XML files
USAGE
$ sfdx eon:update:metadata -d <string> -p <string> -v <string> [-k <string>] [-a <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --alias=alias Environment Alias matching the
target Org and the settings file
-d, --directory=directory (required) Directory to file or
folder containing the file(s) to be
changed
-k, --artifactdirectory=artifactdirectory Optional directory if deployed src
is unpacked from artifact
-p, --placeholder=placeholder (required) Name of the placeholder
inside the XML that should be
replaced
-v, --value=value (required) value used to replace the
placeholder
--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
EXAMPLES
sfdx eon:update:metadata --directory 'src/packagepath' --placeholder 'placeholdername' --value 'settings:runningUser'
--alias $ALIAS
sfdx eon:update:metadata --directory 'src/packagepath' --placeholder 'defaultRunningUserReport' --value
'[email protected]' --alias $ALIAS
See code: src/commands/eon/update/metadata.ts
sfdx eon:update:namedcredential -n <string> [-e <string>] [-p <string>] [-s <string>] [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Update NamedCredential
USAGE
$ sfdx eon:update:namedcredential -n <string> [-e <string>] [-p <string>] [-s <string>] [-a <string>] [-u <string>]
[--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --alias=alias Environment Alias matching the
target Org and the settings file
-e, --endpoint=endpoint Optional Flag For Update Endpoint
-n, --name=name (required) Required Developer Name
To Select Correct Data For Update
-p, --password=password Optional Flag For Password Update
-s, --username=username Optional Flag For Update Username
-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
EXAMPLES
sfdx eon:update:namedcredentials --name Mulesoft --username 'settings:mulesoftUser' --password
'settings:mulesoftPassword --endpoint 'settings:mulesoftEndpoint' --alias=$ALIAS
sfdx eon:update:namedcredentials --targetusername [email protected] --name xx_mule --password xxx --alias staging
sfdx eon:update:namedcredentials --targetusername [email protected] -n xx_base -e https://test.com
See code: src/commands/eon/update/namedcredential.ts
sfdx eon:upsert:customsetting -n <string> -k <string> -v <string> [-a <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Update Custom Settings
USAGE
$ sfdx eon:upsert:customsetting -n <string> -k <string> -v <string> [-a <string>] [-u <string>] [--apiversion
<string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --alias=alias Environment Alias matching the
target Org and the settings file
-k, --key=key (required) Required Flag For Custom
Setting Field Key
-n, --name=name (required) Required Developer Name
To Select Correct Data For Update
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
-v, --value=value (required) Optional Flag For Custom
Setting Value Update
--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
EXAMPLES
sfdx eon:update:customsetting --targetusername [email protected] --name my_object__c --key my_column --value my_value
--alias staging
sfdx eon:update:customsetting --targetusername [email protected] -n my_object__c -k XXX -v xxx
See code: src/commands/eon/upsert/customsetting.ts