Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including bobbuzz with all npm packages installed. Try it out:

bobbuzz lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("bobbuzz/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

bobbuzz v0.0.2

SFDX plugin from Bob Buzzard

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free