bobbuzz

0.0.2 • Public • Published

bobbuzz

SFDX plugin from Bob Buzzard

Version Downloads/week License

Installation

sfdx plugins:install bobbuzz

Commands

sfdx bbuzz:gitstamp

Writes the current Git commit id to a hierarchical custom setting. The custom setting information defined in the sfdx-project.json file as follows:

"plugins": {
    "bb": {
          "gitSetting" : {
              "settingName" : "Git_Info__c",
              "commitIdField" : "Commit_Id__c"
          }
    }
}

where settingName defines the name of the custom setting (default is Git_Info__c) and commitIdField defines the custom setting field to write the commit id to (default is Commit_Id__c)

USAGE
  $ sfdx bbuzz:gitstamp

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 bbuzz:gitstamp --targetusername myOrg@example.com
     Stamped the Git commit id in the org

See code: src/commands/bbuzz/gitstamp.ts

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i bobbuzz

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

11.6 kB

Total Files

11

Last publish

Collaborators

  • keirbowden