sfdx-plugin-ci
v1.2.1
Published
CI Scaffolder and Helper plugin
Downloads
48
Readme
sfdx-plugin-ci
CI Scaffolder and Helper plugin
$ npm install -g sfdx-plugin-ci
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
sfdx-plugin-ci/1.2.1 darwin-x64 node-v13.12.0
$ sfdx --help [COMMAND]
USAGE
$ sfdx COMMAND
...
sfdx ci:setup:bitbucket [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:gitlab [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:jwt -p <string> [-o <directory>] [-e <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:pmd [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx source:delta:generate [-t <string>] [-f <string>] [-o <filepath>] [-a <number>] [-r <filepath>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx source:prepare:ppset -p <array> [-s <array>] [-t <array>] [-r <array>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx vcs:setup:git [-o <directory>] [-r] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:bitbucket [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the 'bitbucket-pipelines.yml' template file in the folder
USAGE
$ sfdx ci:setup:bitbucket [-o <directory>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the bitbucket-pipelines.yml
--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
See code: lib/commands/ci/setup/bitbucket.js
sfdx ci:setup:gitlab [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the '.gitlab-ci.yml' template file in the folder
USAGE
$ sfdx ci:setup:gitlab [-o <directory>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the .gitlab-ci.yml
--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
See code: lib/commands/ci/setup/gitlab.js
sfdx ci:setup:jwt -p <string> [-o <directory>] [-e <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the encoded private key and the certificate
USAGE
$ sfdx ci:setup:jwt -p <string> [-o <directory>] [-e <string>] [--verbose] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-e, --env=env [default: env] Environment name
-o, --output=output [default: ./] Target folder where to
install the .gitlab-ci.yml
-p, --password=password (required) Password used to encrypt
the private key
--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
--verbose emit additional command output to
stdout
See code: lib/commands/ci/setup/jwt.js
sfdx ci:setup:pmd [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the 'apex-ruleset.xml' template file in the folder
USAGE
$ sfdx ci:setup:pmd [-o <directory>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the bitbucket-pipelines.yml
--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
See code: lib/commands/ci/setup/pmd.js
sfdx source:delta:generate [-t <string>] [-f <string>] [-o <filepath>] [-a <number>] [-r <filepath>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the '%s' template file in the folder
USAGE
$ sfdx source:delta:generate [-t <string>] [-f <string>] [-o <filepath>] [-a <number>] [-r <filepath>] [-d] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --api-version=api-version [default: 48] salesforce API version
-d, --generate-delta generate delta files in <output>
folder
-f, --from=from commit sha from where the diff is
done [git rev-list --max-parents=0
HEAD]
-o, --output=output [default: ./output] source package
specific output
-r, --repo=repo [default: .] git repository location
-t, --to=to [default: HEAD] commit sha to where
the diff is done
--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
See code: lib/commands/source/delta/generate.js
sfdx source:prepare:ppset -p <array> [-s <array>] [-t <array>] [-r <array>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
prepare profile and permission
USAGE
$ sfdx source:prepare:ppset -p <array> [-s <array>] [-t <array>] [-r <array>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-p, --packages=packages
(required) package.xml paths to use to filter profile and permission set. Delimiter: ':'
-r, --user-permissions=user-permissions
list of the userPermission to keep. Delimiter: ':'
-s, --sources=sources
sources paths where to apply the filtering (use default if empty). Delimiter: ':'
-t, --permissions-type=permissions-type
list of the permission types to filter with the package
<applicationVisibilities|categoryGroupVisibilities|classAccesses|customMetadataTypeAccesses|customPermissions|custom
SettingAccesses|externalDataSourceAccesses|fieldPermissions|layoutAssignments|objectPermissions|pageAccesses|recordT
ypeVisibilities|tabVisibilities|tabSettings>. Delimiter: ':'
--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
See code: lib/commands/source/prepare/ppset.js
sfdx vcs:setup:git [-o <directory>] [-r] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the '.gitignore' and '.gitattributes' file in the folder
USAGE
$ sfdx vcs:setup:git [-o <directory>] [-r] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the git files
-r, --release-manager Also deploy git merge driver for
profile, permission set,
package.xml, destructiveChanges.xml,
destructiveChangesPost.xml and
destructiveChangesPre.xml
--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
See code: lib/commands/vcs/setup/git.js
sfdx ci:setup:bitbucket [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:gitlab [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:jwt -p <string> [-o <directory>] [-e <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:pmd [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx vcs:setup:git [-o <directory>] [-r] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx ci:setup:bitbucket [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the 'bitbucket-pipelines.yml' template file in the folder
USAGE
$ sfdx ci:setup:bitbucket [-o <directory>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the bitbucket-pipelines.yml
--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
See code: lib/commands/ci/setup/bitbucket.js
sfdx ci:setup:gitlab [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the '.gitlab-ci.yml' template file in the folder
USAGE
$ sfdx ci:setup:gitlab [-o <directory>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the .gitlab-ci.yml
--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
See code: lib/commands/ci/setup/gitlab.js
sfdx ci:setup:jwt -p <string> [-o <directory>] [-e <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the encoded private key and the certificate
USAGE
$ sfdx ci:setup:jwt -p <string> [-o <directory>] [-e <string>] [--verbose] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-e, --env=env [default: env] Environment name
-o, --output=output [default: ./] Target folder where to
install the .gitlab-ci.yml
-p, --password=password (required) Password used to encrypt
the private key
--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
--verbose emit additional command output to
stdout
See code: lib/commands/ci/setup/jwt.js
sfdx ci:setup:pmd [-o <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the 'apex-ruleset.xml' template file in the folder
USAGE
$ sfdx ci:setup:pmd [-o <directory>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the bitbucket-pipelines.yml
--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
See code: lib/commands/ci/setup/pmd.js
sfdx vcs:setup:git [-o <directory>] [-r] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Create the '.gitignore' and '.gitattributes' file in the folder
USAGE
$ sfdx vcs:setup:git [-o <directory>] [-r] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-o, --output=output [default: ./] Target folder where to
install the git files
-r, --release-manager Also deploy git merge driver for
profile, permission set,
package.xml, destructiveChanges.xml,
destructiveChangesPost.xml and
destructiveChangesPre.xml
--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
See code: lib/commands/vcs/setup/git.js