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 rstk-sfdx-package-utils with all npm packages installed. Try it out:

rstk-sfdx-package-utils 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("rstk-sfdx-package-utils/[??]")

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

rstk-sfdx-package-utils v0.1.6

Utilities to better manage SalesforceDX Packages

rstk-sfdx-package-utils

Utilities to better manage SalesforceDX Packages

Contents

* [Contents](#contents) * [Usage](#usage) * [Commands](#commands)

Usage

```sh-session $ npm install -g rstk-sfdx-package-utils $ sfdx COMMAND running command... $ sfdx (-v|--version|version) rstk-sfdx-package-utils/0.1.6 darwin-x64 node-v11.10.1 $ sfdx --help [COMMAND] USAGE $ sfdx COMMAND ... ``` # Commands * [`sfdx rstk:package:dependencies:install [-k ] [-b ] [-w ] [-p] [--dryrun] [-v ] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-rstkpackagedependenciesinstall--k-string--b-string--w-number--p---dryrun--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)

sfdx rstk:package:dependencies:install [-k <string>] [-b <string>] [-w <number>] [-p] [--dryrun] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Install dependent packages for a sfdx project

USAGE
  $ sfdx rstk:package:dependencies:install [-k <string>] [-b <string>] [-w <number>] [-p] [--dryrun] [-v <string>] [-u 
  <string>] [--apiversion <string>] [--json] [--loglevel 
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -b, --branch=branch
      For dependencies specified by package/versionNumber combination, you can specify the branch group of builds to work 
      from by entering the branch build name.  If not specified, the builds from NULL branch will be considered.

  -k, --installationkeys=installationkeys
      Installation key for key-protected packages (format is 1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages 
      without installation key)

  -p, --prompt
      Require approval to allow Remote Site Settings and Content Security Policy websites to send or receive data

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

  -v, --targetdevhubusername=targetdevhubusername
      username or alias for the dev hub org; overrides default dev hub org

  -w, --wait=wait
      Number of minutes to wait for installation status (also used for publishwait). Default is 10

  --apiversion=apiversion
      override the api version used for api requests made by this command

  --dryrun
      Allows the command to execute and display result information without actually performing the package installations.  
      Useful if debugging.

  --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
  $ rstk:package:dependencies:install -u MyScratchOrg -v MyDevHub -k "1:MyPackage1Key 2: 3:MyPackage3Key" -b "DEV"

See code: src/commands/rstk/package/dependencies/install.ts

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