npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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

Keywords

install

npm i bobbuzz

Downloadsweekly downloads

0

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability