sfdx-connectedapp-plugin

1.5.0 • Public • Published

sfdx-waw-plugin

A plugin for the Salesforce CLI built by Wade Wegner and containing a lot of helpful commands.

Setup

Install from source

  1. Install the SDFX CLI.
  2. Clone the repository: git clone git@github.com:wadewegner/sfdx-waw-plugin.git
  3. Install npm modules: npm install
  4. Link the plugin: sfdx plugins:link .

Install as plugin

  1. Install plugin: sfdx plugins:install sfdx-waw-plugin

sfdx-connectedapp-plugin waw:connectedapp:create -n <string> [-l <string>] [-r] [-c <string>] [-d <string>] [-s <string>] [-e <string>] [-q <string>] [-i <string>] [-m <string>] [-f <string>] [-o <string>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]

create a connected app in your org

USAGE
  $ sfdx-connectedapp-plugin waw:connectedapp:create -n <string> [-l <string>] [-r] [-c <string>] [-d <string>] [-s 
  <string>] [-e <string>] [-q <string>] [-i <string>] [-m <string>] [-f <string>] [-o <string>] [-p <string>] [-u 
  <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]

OPTIONS
  -c, --callbackurl=callbackurl                   callbackUrl (default is "sfdx://success")
  -d, --description=description                   connected app description
  -e, --contactemail=contactemail                 connected app contact email

  -f, --locations=locations                       Indicates where the canvas app can appear to the user. Valid values
                                                  are 'Chatter', 'ChatterFeed', 'MobileNav', 'PageLayout', 'Publisher',
                                                  'Visualforce'

  -i, --canvasurl=canvasurl                       he URL of the third-party app that’s exposed as a canvas app.

  -l, --label=label                               connected app label

  -m, --accessmethod=accessmethod                 Indicates how the canvas app initiates the OAuth authentication flow.
                                                  Valid values are 'GET' and 'POST'

  -n, --name=name                                 (required) connected app name

  -o, --options=options                           Indicates whether to hide the share button and header in the publisher
                                                  for your canvas app, and whether the app is a canvas personal app.

  -p, --namespace=namespace                       Indicate if the Salesforce Organization has a namespace

  -q, --consumersecret=consumersecret             A value that is combined with the consumerKey and used by the consumer
                                                  for identification to Salesforce

  -r, --certificate                               create and register a certificate

  -s, --scopes=scopes                             scopes separated by commas (defaut: Basic, Api, Web, RefreshToken;
                                                  valid: Basic, Api, Web, Full, Chatter, CustomApplications,
                                                  RefreshToken, OpenID, CustomPermissions, Wave, Eclair)

  -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)  [default: warn] logging level for this command invocation

See code: src/commands/waw/connectedapp/create.ts

sfdx-connectedapp-plugin waw:connectedapp:list -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]

list the connected apps in your org

USAGE
  $ sfdx-connectedapp-plugin waw:connectedapp:list -n <string> [-u <string>] [--apiversion <string>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal]

OPTIONS
  -n, --connectedappname=connectedappname         (required) connectedapp.list.flags.connectedappname
  -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)  [default: warn] logging level for this command invocation

See code: src/commands/waw/connectedapp/list.ts

Package Sidebar

Install

npm i sfdx-connectedapp-plugin

Weekly Downloads

1

Version

1.5.0

License

ISC

Unpacked Size

279 kB

Total Files

31

Last publish

Collaborators

  • kevanmoothien