Code Monkey home page Code Monkey logo

sfdx-devhub-pool's Introduction

sfdx-devhub-pool

Installation : https://github.com/alcabon/sfdx-devhub-pool/wiki

SFDX plugin to generate scratch orgs without hitting daily limit by using multiple DevHub orgs as a pool

Version CircleCI Appveyor CI Codecov Greenkeeper Known Vulnerabilities Downloads/week License

sfdx devhubpool:auth:jwt:grant -i <string> -f <filepath> -u <array> [-r <string>] [-a <array>] [--json] [--loglevel trace|debug|info|warn|error|fatal]

authorize pooled orgs using the JWT flow

USAGE
  $ sfdx devhubpool:auth:jwt:grant -i <string> -f <filepath> -u <array> [-r <string>] [-a <array>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal]

OPTIONS
  -a, --setaliases=setaliases                     set aliases for the authenticated orgs
  -f, --jwtkeyfile=jwtkeyfile                     (required) path to a file containing the private key
  -i, --clientid=clientid                         (required) connected app consumer key
  -r, --instanceurl=instanceurl                   the login URL of the instance the org lives on
  -u, --usernames=usernames                       (required) username list for authentication
  --json                                          format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation

EXAMPLES
  $ sfdx devhubpool:auth:jwt:grant -u [email protected],[email protected] -f keys/server.key -i CLIENT_ID
  $ sfdx devhubpool:auth:jwt:grant -u [email protected],[email protected] -f keys/server.key -i CLIENT_ID -a 
  hub01,hub02

See code: src/commands/devhubpool/auth/jwt/grant.ts

sfdx devhubpool:org:create [-p <array>] [-f <filepath>] [-d <integer>] [-c] [-n] [-a <string>] [-s] [-w <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]

create a scratch org from pooled devhub orgs

USAGE
  $ sfdx devhubpool:org:create [-p <array>] [-f <filepath>] [-d <integer>] [-c] [-n] [-a <string>] [-s] [-w 
  <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]

OPTIONS
  -a, --setalias=setalias                         set an alias for for the created scratch org
  -c, --noancestors                               do not include second-generation package ancestors in the scratch org
  -d, --durationdays=durationdays                 duration of the scratch org (in days) (default:7, min:1, max:30)
  -f, --definitionfile=definitionfile             path to a scratch org definition file
  -n, --nonamespace                               creates the scratch org with no namespace
  -p, --devhubpoolusernames=devhubpoolusernames   username or alias list for the pooled dev hub orgs
  -s, --setdefaultusername                        set the created org as the default username
  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org
  -w, --wait=wait                                 the streaming client socket timeout (in minutes) (default:6, min:2)
  --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)  [default: warn] logging level for this command invocation

EXAMPLES
  $ sfdx devhubpool:org:create -p [email protected],[email protected] -f config/enterprise-scratch-def.json 
  -a TestOrg1
  $ sfdx devhubpool:org:create -p [email protected],[email protected] -a MyDevOrg -s edition=Developer
  $ sfdx devhubpool:org:create -p [email protected],[email protected] -f config/enterprise-scratch-def.json 
  -a OrgWithOverrides [email protected]

See code: src/commands/devhubpool/org/create.ts

sfdx-devhub-pool's People

Contributors

stomita avatar alcabon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.