Giter Site home page Giter Site logo

eon-sfdx's Introduction

SFDX EON Plugin

Salesforce DX (SFDX) commands to support salesforce developments & deployments

Version Downloads/week License

$ npm install -g @eon-com/eon-sfdx
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
@eon-com/eon-sfdx/1.0.0 darwin-x64 node-v16.6.1
$ sfdx --help [COMMAND]
USAGE
  $ sfdx COMMAND
...

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: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: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> [-a <string>] [-u <string>] [--apiversion <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> [-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

  -d, --directory=directory                                                         (required) Directory to file or
                                                                                    folder containing the file(s) to be
                                                                                    changed

  -p, --placeholder=placeholder                                                     (required) Name of the placeholder
                                                                                    inside the XML that should be
                                                                                    replaced

  -u, --targetusername=targetusername                                               username or alias for the target
                                                                                    org; overrides default target org

  -v, --value=value                                                                 (required) value used to replace the
                                                                                    placeholder

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

eon-sfdx's People

Contributors

con242 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.