bobbuzz
v0.0.2
Published
SFDX plugin from Bob Buzzard
Downloads
22
Readme
bobbuzz
SFDX plugin from Bob Buzzard
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 [email protected]
Stamped the Git commit id in the org
See code: src/commands/bbuzz/gitstamp.ts
License
MIT