{"id":13668391,"url":"https://github.com/dxatscale/sfpowerkit","last_synced_at":"2025-04-26T22:31:09.097Z","repository":{"id":37605321,"uuid":"191718192","full_name":"dxatscale/sfpowerkit","owner":"dxatscale","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows ","archived":true,"fork":false,"pushed_at":"2023-05-01T00:41:29.000Z","size":4191,"stargazers_count":392,"open_issues_count":20,"forks_count":90,"subscribers_count":26,"default_branch":"main","last_synced_at":"2024-11-02T15:06:00.135Z","etag":null,"topics":["developer-tools","devops","hacktoberfest","metadata","pool","retrieve-profiles","salesforce","salesforce-cli","salesforce-dx-plugin","salesforcedx","scratchorg","sfdx"],"latest_commit_sha":null,"homepage":"https://dxatscale.io","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dxatscale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-06-13T08:02:04.000Z","updated_at":"2024-04-22T13:04:41.000Z","dependencies_parsed_at":"2023-10-20T16:17:58.250Z","dependency_job_id":null,"html_url":"https://github.com/dxatscale/sfpowerkit","commit_stats":{"total_commits":906,"total_committers":38,"mean_commits":"23.842105263157894","dds":0.7726269315673289,"last_synced_commit":"1be34c18b565c96e6624ba7d79e818a1629b43cd"},"previous_names":["accenture/sfpowerkit"],"tags_count":91,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxatscale%2Fsfpowerkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxatscale%2Fsfpowerkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxatscale%2Fsfpowerkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxatscale%2Fsfpowerkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxatscale","download_url":"https://codeload.github.com/dxatscale/sfpowerkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223843840,"owners_count":17212656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-tools","devops","hacktoberfest","metadata","pool","retrieve-profiles","salesforce","salesforce-cli","salesforce-dx-plugin","salesforcedx","scratchorg","sfdx"],"created_at":"2024-08-02T08:00:33.537Z","updated_at":"2024-11-11T04:31:04.938Z","avatar_url":"https://github.com/dxatscale.png","language":"TypeScript","funding_links":[],"categories":["Community supported plugins"],"sub_categories":[],"readme":"# :warning:  Deprecation Notice \n\nThis project is currently being deprecated. Some of the existing functionality is already migrated to [sfpowerscripts](https://github.com/dxatscale/sfpowerscripts) and rest of them  will be available as standalone libraries / sfp-cli in a short span. Stay tuned! \n\nCheck issues for details and timeline. Thanks everyone for the support!\n\n\n\n\n\n\n# sfpowerkit\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) ![npm (tag)](https://img.shields.io/npm/v/sfpowerkit/beta) [![Build Status](https://dev.azure.com/dxatscale/sfpowerkit/_apis/build/status/Release?branchName=main)](https://dev.azure.com/dxatscale/sfpowerkit/_build/latest?definitionId=48\u0026branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)[![CodeFactor](https://www.codefactor.io/repository/github/accenture/sfpowerkit/badge)](https://www.codefactor.io/repository/github/accenture/sfpowerkit)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FAccenture%2Fsfpowerkit.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FAccenture%2Fsfpowerkit?ref=badge_shield)\n\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\"\u003e\n\u003c/p\u003e\n\n\n\n\n## Installation\n\nTo install the stable version from the release branch, use the following command\n\n```\n$ sfdx plugins:install sfpowerkit\n```\n\nIf you need to install automatically the plugin, via a CI process or Dockerfile, use the following line:\n\n```\n$ echo 'y' | sfdx plugins:install sfpowerkit\n```\n\nBeta versions are the latest versions that are in being reviewed/ undergoing testing etc and built from the master branch and can be downloaded using the following command\n\n```\n$ sfdx plugins:install sfpowerkit@beta\n```\n\nTo review a pull request (for contributors/reviewers), the best option is to clone the repository, checkout to the particular branch and utilize the following command from the project directory\n\n```\n$ sfdx plugins:link\n```\n\n\u003c!-- commands --\u003e\n\n## Commands\n\n- [sfpowerkit](#sfpowerkit)\n  - [Installation](#installation)\n  - [Commands](#commands)\n  - [Source Related Functionalities](#source-related-functionalities)\n    - [`sfpowerkit:source:pmd`](#sfpowerkitsourcepmd)\n    - [`sfpowerkit:source:profile:retrieve`](#sfpowerkitsourceprofileretrieve)\n    - [`sfpowerkit:source:profile:reconcile`](#sfpowerkitsourceprofilereconcile)\n    - [`sfpowerkit:source:profile:merge`](#sfpowerkitsourceprofilemerge)\n    - [`sfpowerkit:source:customlabel:create`](#sfpowerkitsourcecustomlabelcreate)\n    - [`sfpowerkit:source:customlabel:reconcile`](#sfpowerkitsourcecustomlabelreconcile)\n    - [`sfpowerkit:source:customlabel:buildmanifest`](#sfpowerkitsourcecustomlabelbuildmanifest)\n    - [`sfpowerkit:source:apextest:list`](#sfpowerkitsourceapextestlist)\n    - [`sfpowerkit:source:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n    - [`sfpowerkit:source:picklist:generatepatch`](#sfpowerkitsourcepicklistgeneratepatch)\n    - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n    - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n    - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n    - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n    - [`sfpowerkit:project:datamodel:diff [BETA]`](#sfpowerkitprojectdatamodeldiff-beta)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:dependencies:list`](#sfpowerkitpackagedependencieslist)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n    - [`sfpowerkit:package:applypatch`](#sfpowerkitpackageapplypatch)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:connectedapp:create`](#sfpowerkitorgconnectedappcreate)\n    - [`sfpowerkit:org:connectedapp:retrieve`](#sfpowerkitorgconnectedappretrieve)\n    - [`sfpowerkit:org:duplicaterule:deactivate`](#sfpowerkitorgduplicateruledeactivate)\n    - [`sfpowerkit:org:duplicaterule:activate`](#sfpowerkitorgduplicateruleactivate)\n    - [`sfpowerkit:org:matchingrule:deactivate`](#sfpowerkitorgmatchingruledeactivate)\n    - [`sfpowerkit:org:matchingrule:activate`](#sfpowerkitorgmatchingruleactivate)\n    - [`sfpowerkit:org:trigger:deactivate`](#sfpowerkitorgtriggerdeactivate)\n    - [`sfpowerkit:org:trigger:activate`](#sfpowerkitorgtriggeractivate)\n    - [`sfpowerkit:org:healthcheck`](#sfpowerkitorghealthcheck)\n    - [`sfpowerkit:org:cleartestresult`](#sfpowerkitorgcleartestresult)\n    - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\n    - [`sfpowerkit:org:profile:diff`](#sfpowerkitorgprofilediff)\n    - [`sfpowerkit:org:sandbox:create`](#sfpowerkitorgsandboxcreate)\n    - [`sfpowerkit:org:sandbox:info`](#sfpowerkitorgsandboxinfo)\n    - [`sfpowerkit:org:sandbox:refresh`](#sfpowerkitorgsandboxrefresh)\n    - [`sfpowerkit:org:scratchorg:usage`](#sfpowerkitorgscratchorgusage)\n    - [`sfpowerkit:org:scratchorg:delete`](#sfpowerkitorgscratchorgdelete)\n    - [`sfpowerkit:org:relaxiprange`](#sfpowerkitorgrelaxiprange)\n    - [`sfpowerkit:auth:login`](#sfpowerkitauthlogin)\n  - [Dependency Functionalities](#dependency-functionalities)\n    - [`sfpowerkit:dependency:tree:package [BETA]`](#sfpowerkitdependencytreepackage-beta)\n  - [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      \u003c!-- commands --\u003e\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n### `sfpowerkit:source:pmd`\n\nThis command is a wrapper around PMD ( downloads PMD for the first time) with some predefined defaults, such as ruleset, output format, output file. The command is to be run from the project directory\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:pmd [-d \u003cdirectory\u003e | --filelist \u003cfilepath\u003e] [-r \u003cstring\u003e | -R \u003cstring\u003e] [-f \u003cstring\u003e] [--report \u003cfilepath\u003e | -o\n  \u003cfilepath\u003e] [--javahome \u003cstring\u003e] [--failonviolation] [--minimumpriority \u003cinteger\u003e] [--shortnames] [--showsuppressed] [--suppressmarker\n  \u003cstring\u003e] [--version \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -R, --rulesets=rulesets\n      [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)] The comma separated pmd ruleset that\n      will be utilzied for analyzing the apex classes,  Checkout https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your\n      own ruleset\n\n  -d, --directory=directory\n      [default: Default project directory as mentioned in sfdx-project.json] Override this to set a different directory in the project folder\n\n  -f, --format=format\n      [default: text] [default: text] The format for the pmd output, Possible values are available at\n      https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n\n  -o, --reportfile=reportfile\n      The path to where the output of the analysis should be written\n\n  -r, --ruleset=ruleset\n      DEPRECATED: use --rulesets instead\n\n  --[no-]failonviolation\n      [default: true] By default PMD exits with status 4 if violations are found. Disable this feature with -failOnViolation false to exit with\n      0 instead and just output the report.\n\n  --filelist=filelist\n      Path to file containing a comma delimited list of files to analyze.\n\n  --javahome=javahome\n      The command will try to locate the javahome path to execute PMD automatically, set this flag to override it to another javahome path\n\n  --json\n      format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)\n      [default: warn] logging level for this command invocation\n\n  --minimumpriority=minimumpriority\n      Rule priority threshold; rules with lower priority than configured here won't be used.\n\n  --report=report\n      DEPRECATED: use --reportfile instead.\n\n  --[no-]shortnames\n      Prints shortened filenames in the report.\n\n  --[no-]showsuppressed\n      Causes the suppressed rule violations to be added to the report.\n\n  --suppressmarker=suppressmarker\n      [default: NOPMD] Specifies the comment token that marks lines which PMD should ignore.\n\n  --version=version\n      [default: 6.34.0] [default: 6.34.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to\n      sfpowerkit's cache directory\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/source/pmd.ts)_\n\n### `sfpowerkit:source:profile:retrieve`\n\nRetrieve profiles from the salesforce org with all its associated permissions. Common use case for this command is to migrate profile changes from a integration environment to other higher environments [overcomes SFDX CLI Profile retrieve issue where it doesnt fetch the full profile unless the entire metadata is present in source], or retrieving profiles from production to lower environments for testing.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f \u003carray\u003e] [-n \u003carray\u003e] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             retrieve only updated versions of profiles found in this directory, If ignored, all profiles will be retrieved.\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. Use it for selectively retrieving an existing profile or retrieving a new profile\n  -d, --delete                                    set this flag to delete profile files that does not exist in the org, when retrieving in bulk\n  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org\n  --apiversion=apiversion                         override the api version used for api requests made by this command\n  --json                                          format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:source:profile:retrieve -u prod\n  $ sfdx sfpowerkit:source:profile:retrieve  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:retrieve  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/source/profile/retrieve.ts)_\n\n### `sfpowerkit:source:profile:reconcile`\n\nThis command is used in the lower environments such as ScratchOrgs , Development / System Testing Sandboxes, where a retrieved profile from production has to be cleaned up only for the metadata that is contained in the environment or base it only as per the metadata that is contained in the packaging directory.\n\nPlease read more about the command especially for ignoring user permissions [here](https://github.com/Accenture/sfpowerkit/wiki/Profile-Reconcile-:-Ignore-User-Permissions)\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f \u003carray\u003e] [-n \u003carray\u003e] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               path to the project folder, if the profiles are reconciled in source only mode\n  -d, --destfolder=destfolder                       the destination folder for reconciled profiles, if omitted existing profiles will be reconciled and will be rewritten in the current location\n  -n, --profilelist=profilelist                     list of profiles to be reconciled. If ommited, all the profiles components will be reconciled.\n  -s, --sourceonly                                  set this flag to reconcile profiles only against component available in the project only. Configure ignored perissions in sfdx-project.json file in the array plugins-\u003esfpowerkit-\u003eignoredPermissions.\n  -u, --targetorg=targetorg                         org against which profiles will be reconciled. this parameter can be ommited if sourceonly flag is used.\n  --apiversion=apiversion                           override the api version used for api requests made by this command\n  --json                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app -d destfolder -s\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox -d destfolder\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg -d destfolder\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/source/profile/reconcile.ts)_\n\n### `sfpowerkit:source:profile:merge`\n\nThis command is used in the lower environments such as ScratchOrgs , Development / System Testing Sandboxes, inorder to apply the changes made in the environment to retrieved profile, so that it can be deployed to the higher environments\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f \u003carray\u003e] [-n \u003carray\u003e] [-m \u003carray\u003e] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 path to the folder which contains the profiles to be merged,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\n  -m, --metadata=metadata                             comma separated list of metadata for which the permissions will be retrieved.\n  -n, --profilelist=profilelist                       comma separated list of profiles. If ommited, all the profiles found in the folder(s) will be merged\n  -d, --delete                                        set this flag to delete profile files that does not exist in the org.\n  -u, --targetusername=targetusername                 username or alias for the target org; overrides default target org\n\n  --apiversion=apiversion                             override the api version used for api requests made by this command\n\n  --json                                              format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:source:profile:merge -u sandbox\n  $ sfdx sfpowerkit:source:profile:merge -f force-app -n \"My Profile\" -u sandbox\n  $ sfdx sfpowerkit:source:profile:merge -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\merge.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/profile/merge.ts)_\n\n### `sfpowerkit:source:customlabel:create`\n\nCustom Labels are org wide, hence when the metadata is pulled down from scratch org, the entire custom label metadata file is pulled down in a package repo. This results in often packaging failures, when developers forget to clean the customlabels only to contain what the package needs, as unlocked package does not support duplicate items.The custom labels has to be then cleaned up per package.\n\nThis command is a helper command to create customlabel with pacakage names prepended for easy reconcilation.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n \u003cstring\u003e -v \u003cstring\u003e -s \u003cstring\u003e [-c \u003cstring\u003e] [-l \u003cstring\u003e] [-p \u003cstring\u003e] [-i] [-u \u003cstring\u003e]\n  [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --categories=categories                                                       Comma Separated Category Values\n\n  -l, --language=language                                                           Language of the custom label (Default: en_US)\n\n  -n, --fullname=fullname                                                           (required) Name of the custom label (API Name)\n\n  -p, --protected=protected                                                         Protected State of the custom label (Default: false)\n\n  -s, --shortdescription=shortdescription                                           (required) Short Description of the custom label\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target org\n\n  -v, --value=value                                                                 (required) Value of the custom label\n\n  --package                                                                         Name of the package that needs to be appended, omit this if ignore namespace is used\n\n  -i, --ignorepackage                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\n\n  --apiversion=apiversion                                                           override the api version used for api requests made by this\n                                                                                    command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:create -u fancyScratchOrg1 -n FlashError -v \"Memory leaks aren't for the faint hearted\" -s \"A flashing\n  error\" --package core\n     Created CustomLabel FlashError in target org with core_  prefix, You may now pull and utilize the customlabel:reconcile command\n```\n\n### `sfpowerkit:source:customlabel:reconcile`\n\nCustom Labels are org wide, hence when the metadata is pulled down from scratch org, the entire custom label metadata file is pulled down in a package repo. This results in often packaging failures, when developers forget to clean the customlabels only to contain what the package needs, as unlocked package does not support duplicate items.The custom labels has to be then cleaned up per package.\n\nThis command reconcile the updated custom labels to include only the labels that have the API name starting with package name (packagename\\_ ) or created using the custom label create command\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:reconcile -d \u003cstring\u003e -p \u003cstring\u003e  [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --path=path                                                                   (required) Path to the CustomLabels.labels-meta.xml file\n\n  -p, --package                                                                     (required) Name of the package\n\n  --apiversion=apiversion                                                           override the api version used for api requests made by this\n                                                                                    command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:reconcile -d path/to/customlabelfile.xml -p core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n```\n\n### `sfpowerkit:source:customlabel:buildmanifest`\n\nThis Command is used to build package.xml with all customlabels as members rather than wildcard \\*. sfdx force:source:convert creates a package.xml with customlabels wildcard, this command helps to update the package.xml with list of label names.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:buildmanifest -p \u003carray\u003e -x \u003cstring\u003e [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -p, --path=path                                                                   (required) Path to the CustomLabels.labels-meta.xml file\n  -x, --manifest=manifest                                                           (required) path to existing package.xml file or create new package.xml\n  --apiversion=apiversion                                                           The api version to be used create package.xml\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:buildmanifest -p project1/path/to/customlabelfile.xml -x mdapiout/package.xml\n  $ sfdx sfpowerkit:source:customlabel:buildmanifest -p project1/path/to/customlabelfile.xml,project2/path/to/customlabelfile.xml -x mdapiout/package.xml\n```\n\n### `sfpowerkit:source:apextest:list`\n\nThis command helps to get list of all apex text classes located in source path\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextest:list -p \u003cstring\u003e [--resultasstring] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -p, --path=path                                                                   (required) Source path to get all the apex test\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n  --resultasstring                                                                  Use this flag to get comma separated list of apex test as a string\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:apextest:list -p force-app\n```\n\n### `sfpowerkit:source:apextestsuite:convert`\n\nConverts an apex test suite to its consituent apex classes as a single line separated by commas, so that it can be used along with metadata validate only deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n \u003cstring\u003e [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -n, --name=name                                 (required) the name of the apextestsuite (the file name minus the apex test suite)\n\n  --json                                          format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $  sfdx sfpowerkit:source:apextestsuite:convert -n MyApexTestSuite\n    \"ABC2,ABC1Test\"\n```\n\n### `sfpowerkit:source:picklist:generatepatch`\n\nSearch picklist fields inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package https://trailblazer.salesforce.com/issues_view?id=a1p3A0000003Uk2QAE\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -p, --package=package                                                             Name of the package to generate the picklist patch\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test\n```\n\n### `sfpowerkit:project:diff`\n\nGenerate a delta 'changeset' between two diff commits so that the incremental changes can be deployed to the target org.To be used for an org based deployment when the size of the metadata is large that the project cannot not be deployed in a single attempt.\n\nThis command works with a source format based repository only. Utilize the command during a transition phase where an org is transformed to a modular architecture composing of multiple projects.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d \u003cstring\u003e [-r \u003cstring\u003e] [-t \u003cstring\u003e] [-x] [-b \u003carray\u003e] [-p \u003carray\u003e] [--apiversion \u003cstring\u003e] [--json]\n  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -b, --bypass=bypass                                                               list of path to ignore, if diff found on the repo\n  -d, --output=output                                                               (required)  The output dir where the incremental project will be created\n\n  -p, --packagedirectories=packagedirectories                                       project paths to run diff, if this is passed then override the path in sfdx-project.json\n\n  -r, --revisionfrom=revisionfrom                                                   Base revision from where diff is to be generated, required if diff file is ommited\n\n  -t, --revisionto=revisionto                                                       [default:HEAD] Target revision to generate the diff\n\n  -x, --generatedestructive                                                         If set to true, the command will also generate a destructiveChangePost.xml file in the\n                                                                                    output folder.\n\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLE\n  $  sfdx sfpowerkit:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n```\n\n### `sfpowerkit:project:orgdiff`\n\nCompare source files of a project against the salesforce org and display differences. The command also add diff conflict markers in changed files to let the developer accept or reject changes manually using a git merge tool. The idea behind this command is used to track changes done on an unlocked package or a modular repo against the changes done in a higher environment. This command is not yet ready to work on a single repo against the whole metadata in the org\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f \u003carray\u003e [-c] [-o json|csv] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --noconflictmarkers                                                           If set to true, the command will not add diff conflict marker to each compared file.\n\n  -f, --filesorfolders=filesorfolders                                               (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura\n                                                                                    Components, Lightning Web Components or any unsplitted metadata.\n\n  -o, --outputformat=(json|csv)                                                     [default: json]The format for the diff output, Possible values are json/csv.\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:project:orgdiff --filesorfolders directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff -f fileName --targetusername sandbox\n```\n\n### `sfpowerkit:project:manifest:diff`\n\nGenerate a diff between two manifest files. This command is used to useful to generate a report on what is the difference between two org's.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s \u003cstring\u003e -t \u003cstring\u003e -d \u003cstring\u003e [-f json|csv|xml] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --output=output                                                               (required) path to the diff output package.xml\n  -f, --format=(json|csv|xml)                                                       [default: json] The format for the output, Possible values are json/csv/xml\n  -s, --sourcepath=sourcepath                                                       (required) Paths to the source package.xml file\n  -t, --targetpath=targetpath                                                       (required) Paths to the target package.xml file\n  --apiversion=apiversion                                                           The api version to be used create package.xml\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:project:manifest:diff -s source/package.xml -t target/package.xml -d output\n```\n\n### `sfpowerkit:project:manifest:merge`\n\nMerge multiple package.xml into single collective package.xml\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:merge -p \u003carray\u003e -d \u003cstring\u003e [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --manifest=manifest                                                           (required) output path to create collective package.xml\n  -p, --path=path                                                                   (required) Paths to the package.xml file\n  --apiversion=apiversion                                                           The api version to be used create package.xml\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:project:manifest:merge -p project1/path/to/package.xml -d result/package.xml\n  $ sfdx sfpowerkit:project:manifest:merge -p project1/path/to/package.xml,project2/path/to/package.xml -d result/package.xml\n```\n\n### `sfpowerkit:project:datamodel:diff [BETA]`\n\nProvides an audit history of the metadata change between two commit ID's for data model ( CustomFields, RecordTypes, BusinessProcess)\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:datamodel:diff -r \u003cstring\u003e [-t \u003cstring\u003e] [-p \u003cstring\u003e] [-d \u003cdirectory\u003e] [--csv] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --outputdir=outputdir                                                         Directory to output the results\n  -p, --packagedirectories=packagedirectories                                       Run diff only for specified package directories\n  -r, --revisionfrom=revisionfrom                                                   (required) Base revision from which to generate the diff\n  -t, --revisionto=revisionto                                                       [default: HEAD] Target revision from which to generate the diff\n  --csv                                                                             Output to csv file\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:project:datamodel:diff --revisionfrom revisionfrom --revisionto revisionto --csv\n```\n\n## Unlocked Package Related Functionalities\n\nVarious helper commands in aiding with Salesforce DX Unlocked Package Development\n\n### `sfpowerkit:package:dependencies:install`\n\nInstall unlocked package dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p \u003cstring\u003e] [-k \u003cstring\u003e] [-b \u003cstring\u003e] [-t \u003cstring\u003e] [-w \u003cstring\u003e] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f \u003carray\u003e] [-v \u003cstring\u003e] [-u\n  \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -a, --apexcompileonlypackage                                                      Compile the apex only in the package, by default only the compilation of the apex in the entire org is triggered\n\n  -b, --branch=branch                                                               The package version’s branch (format is packagename:branchname --\u003e core:branchname consumer:branchname\n                                                                                    packageN:branchname)\n\n  -f, --filterpaths=filterpaths                                                     In a mono repo project, filter packageDirectories using path and install dependent packages only for the specified path\n\n  -k, --installationkeys=installationkeys                                           Installation key for key-protected packages (format is packagename:key --\u003e core:key nCino:key vlocity:key to allow\n                                                                                    some packages without installation key)\n\n  -o, --updateall                                                                   Update all packages even if they are installed in the target org\n\n  -p, --individualpackage=individualpackage                                         Installs a specific package especially for upgrade scenario\n\n  -r, --noprompt                                                                    Allow Remote Site Settings and Content Security Policy websites to send or receive data without confirmation\n\n  -t, --tag=tag                                                                     The package version’s tag (format is packagename:tag --\u003e core:tag consumer:tag packageN:tag)\n\n  --usedependencyvalidatedpackages                                                  Use dependency validated packages that matches the version number schema provide\n\n  -u, --targetusername=targetusername                                               Username or alias for the target org; overrides default target org\n\n  -v, --targetdevhubusername=targetdevhubusername                                   Username or alias for the dev hub org; overrides default dev hub org\n\n  -w, --wait=wait                                                                   Number of minutes to wait for installation status (also used for publishwait). Default is 10\n\n  --apiversion=apiversion                                                           Override the api version used for api requests made by this command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"MyPackage1:Key MyPackage3:Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n### `sfpowerkit:package:dependencies:list`\n\nList the dependencies of each package. The command also resolves the .LATEST to the buildversion number that is available in DevHub, and has an additional option to only list validated dependencies of a given package. This is useful during a CI package build process, to list the exact version numbers the package was built on.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:list [-p \u003carray\u003e] [-s] [--usedependencyvalidatedpackages] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -p, --filterpaths=filterpaths                                                     filter packageDirectories using path to get dependent packages details only for the\n                                                                                    specified path\n\n  -w, --updateproject                                                               overwrite the sfdx-project.json with resolved dependencies (replace .LATEST)\n\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\n  --usedependencyvalidatedpackages                                                  use dependency validated packages that matches the version number schema provide\n\nEXAMPLES\n  $ sfdx sfpowerkit:package:dependencies:list -v MyDevHub -s src/dreamhouse\n  $ sfdx sfpowerkit:package:dependencies:list -v MyDevHub --updateproject\n  $ sfdx sfpowerkit:package:dependencies:list -v MyDevHub -s --usedependencyvalidatedpackages\n```\n\n### `sfpowerkit:package:version:codecoverage`\n\nThis command is used to get the apex test coverage details of an unlocked package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:version:codecoverage [-p \u003cstring\u003e] [-n \u003cstring\u003e] [-i \u003carray\u003e] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --versionid=versionid                                                         Package version Id to check the code coverage\n\n  -n, --versionnumber=versionnumber                                                 The complete version number format is major.minor.patch (Beta build)—for example, 1.2.0 (Beta 5),\n                                                                                    packageName is required when packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName\n                                                                                    is used\n\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n\n  --apiversion=apiversion                                                           API version\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:package:version:codecoverage -v myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n\n  $ sfdx sfpowerkit:package:version:codecoverage -v myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n\n  $ sfdx sfpowerkit:package:version:codecoverage -v myOrg@example.com -p core -n 1.2.0.45\n\n  $ sfdx sfpowerkit:package:version:codecoverage -v myOrg@example.com -p 0HoXXXXXXXXXXXXXXX -n 1.2.0.45\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\version\\codecoverage.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/package/version/codecoverage.ts)_\n\n### `sfpowerkit:package:version:info`\n\nThis command is used to fetch the version number, namespace prefix, and version id of all the installed managed/unmanaged packages in an org.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:version:info [-v \u003cstring\u003e] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -a, --alias=alias                                                                 Fetch and set an alias for the org\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n  --apiversion=apiversion                                                           API version\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:info -u myOrg@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\version\\codecoverage.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/package/version/codecoverage.ts)_\n\n### `sfpowerkit:package:valid`\n\nValidates a package directory to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --bypass=bypass                                                               metadatatypes to skip the package validation check\n  -n, --package=package                           the package to analyze\n  --json                                          format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:valid -n testPackage -b sharingrules,sharingownerrule\n     Now analyzing testPackage\n  Converting package testPackage\n  Source was successfully converted to Metadata API format and written to the location:\n  D:projects\testPackage\temp_sfpowerkitmdapi\n  Elements supported included in your package testPackage are\n  AuraDefinitionBundle\n  CustomApplication\n  ApexClass\n  ContentAsset\n  WorkflowRule\n  --------------------------------------------------------------------------------\n  Unsupported elements to bypass in your package sample are\n  sharingrules\n  sharingownerrule\n  --------------------------------------------------------------------------------\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/package/valid.ts)_\n\n### `sfpowerkit:package:applypatch`\n\nApplies a 'sfpowerkit' patch(such as one built using sfpowerkit:source:picklist:generatepatch) to\novercome some known issues with unlocked packaging by redeploying with metadata api\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                                                   (required) Name of the static resource to be patched\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n```\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:connectedapp:create`\n\nCreates a connected app in the target org for JWT based authentication, Please note it only creates Connected App with All users may self authorize option, You would need to manually edit the policies to enable admin users are pre-approved and add your profile to this connected app. API, Web and RefreshToken Scope are added to every app that is being created.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:connectedapp:create -n \u003cstring\u003e -c \u003cfilepath\u003e -e \u003cemail\u003e [-u \u003cstring\u003e] [--apiversion\n  \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -c, --pathtocertificate=pathtocertificate       (required) Filepath to the private certificate for the connected app\n                                                  to be created\n\n  -e, --email=email                               (required) Email of the connected app to be created\n\n  -n, --name=name                                 (required) Name of the connected app to be created\n\n  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org\n\n  --apiversion=apiversion                         override the api version used for api requests made by this command\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:connectedapp:create -u myOrg@example.com -n AzurePipelines -c id_rsa -e\n  azlam.salamm@invalid.com\n     Created Connected App AzurePipelines in Target Org\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\connectedapp\\create.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n### `sfpowerkit:org:connectedapp:retrieve`\n\nUseful if you want to retreive a connected app key especially in CI/CD system after a sandbox refresh. Use the auth command to login to the sandbox and then use this command. Use JSON format if you want to retrieve the entire metadata of the connected app, Without the json flag, it only displays the key\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:connectedapp:retrieve -n \u003cstring\u003e -u \u003cstring\u003e  [-r \u003curl\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the connected app to be\n                                                  retreived\n  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:connectedapp:retrieve -u azlam@sfdc.com -p Xasdax2w2 -n\n  AzurePipelines\n     Retrived AzurePipelines Consumer Key : XSD21Sd23123w21321\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\connectedapp\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n### `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org. Deactivate active rules before pushing the changes to the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the duplicate rule\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n    $ sfdx sfpowerkit:org:duplicaterule:deactivate -n Account.CRM_Account_Rule_1 -u sandbox\n       Polling for Retrieval Status\n       Retrieved Duplicate Rule  with label : CRM Account Rule 2\n       Preparing Deactivation\n       Deploying Deactivated Rule with ID  0Af4Y000003OdTWSA0\n       Polling for Deployment Status\n       Polling for Deployment Status\n       Duplicate Rule CRM Account Rule 2 deactivated\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\duplicaterule\\deactivate.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/deactivate.ts)_\n\n### `sfpowerkit:org:duplicaterule:activate`\n\nActivates a matching rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:activate -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the duplicate rule\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n   $ sfdx sfpowerkit:org:duplicaterule:activate -n Account.CRM_Account_Rule_1 -u sandbox\n    Polling for Retrieval Status\n    Retrieved Duplicate Rule  with label : CRM Account Rule 2\n    Preparing Activation\n    Deploying Activated Rule with ID  0Af4Y000003OdTWSA0\n    Polling for Deployment Status\n    Polling for Deployment Status\n    Duplicate Rule CRM Account Rule 2 Activated\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\duplicaterule\\activate.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/activate.ts)_\n\n### `sfpowerkit:org:matchingrule:deactivate`\n\nDeactivates a matching rule in the target org, Please ensure all duplicate rules are deactivated before using this\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:matchingrule:deactivate -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the object\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n    $ sfdx sfpowerkit:org:matchingrule:deactivate -n Account -u sandbox\n       Polling for Retrieval Status\n       Retrieved Matching Rule  for Object : Account\n       Preparing Deactivation\n       Deploying Deactivated Matching Rule with ID  0Af4Y000003OePkSAK\n       Polling for Deployment Status\n       Polling for Deployment Status\n       Matching Rule for Account deactivated\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\matchingrule\\deactivate.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n### `sfpowerkit:org:matchingrule:activate`\n\nActivates a matching rule in the target org, Please ensure all duplicate rules are activated before using this\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:matchingrule:activate -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the object\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n   $ sfdx sfpowerkit:org:matchingrules:activate -n Account -u sandbox\n    Polling for Retrieval Status\n    Retrieved Matching Rule  for Object : Account\n    Preparing Activation\n    Deploying Activated Rule with ID  0Af4Y000003OdTWSA0\n    Polling for Deployment Status\n    Polling for Deployment Status\n    Matching Rule for  Account activated\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\matchingrule\\activate.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n### `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the ApexTrigger\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n    $ sfdx sfpowerkit:org:trigger:deactivate -n AccountTrigger -u sandbox\n    Polling for Retrieval Status\n    Preparing Deactivation\n    Deploying Deactivated ApexTrigger with ID  0Af4Y000003Q7GySAK\n    Polling for Deployment Status\n    Polling for Deployment Status\n    ApexTrigger AccountTrigger deactivated\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\trigger\\deactivate.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/trigger/deactivate.ts)_\n\n### `sfpowerkit:org:trigger:activate`\n\nActivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:activate -n \u003cstring\u003e [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the ApexTrigger\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\n                                                  command invocation\n\nEXAMPLE\n    $ sfdx sfpowerkit:org:trigger:activate -n AccountTrigger -u sandbox\n    Polling for Retrieval Status\n    Preparing Activation\n    Deploying Activated ApexTrigger with ID  0Af4Y000003Q7GySAK\n    Polling for Deployment Status\n    Polling for Deployment Status\n    ApexTrigger AccountTrigger Ativated\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\trigger\\activate.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n### `sfpowerkit:org:healthcheck`\n\nGets the health details of an org against the Salesforce baseline\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:healthcheck [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org\n  --apiversion=apiversion                         override the api version used for api requests made by this command\n  --json                                          format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:healthcheck  -u myOrg@example.com\n     Successfully Retrived the healthstatus of the org\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\healthcheck.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:cleartestresult`\n\nThis command helps to clear any test results and code coverage in the org to get fresh and enhanced coverage everytime\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:cleartestresult [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:cleartestresult -u myOrg@example.com\n```\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d \u003cstring\u003e] [-f json|csv] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --output=output                                                               The output dir where the output will be created\n  -f, --format=(json|csv)                                                           The format for the test result output, Possible values are json/csv\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n    sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com -d testResult -f csv\n    sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com -d testResult -f json\n\n\n    Successfully Retrieved the Apex Test Coverage of the org XXXX\n    coverage:85\n     ID                 PACKAGE       NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n     ───────            ────────      ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n     01pxxxx            core          sampleController      ApexClass     100%\n     01pxxxx            core          sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n     01pxxxx            consumer      sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n     01qxxxx            consumer      sampleTrigger         ApexTrigger   100%\n    Output testResult/output.csv is generated successfully\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\n### `sfpowerkit:org:profile:diff`\n\nCompare profiles from project against target org or between two orgs (source and target).\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:profile:diff [-p \u003carray\u003e] [-s \u003cstring\u003e] [-d \u003cstring\u003e] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --output=output                                                               Output folder. Provide the output folder if comparing profiles from source org.\n  -p, --profilelist=profilelist                                                     List of profiles to compare, comma separated profile names. If not provided and no sourceusername\n                                                                                    is provided, all profiles from the source folder will be processed.\n  -s, --sourceusername=sourceusername                                               Source org. If no profile is provided in the profilelist parameter, all the profile from this org\n                                                                                    will be fetched\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:org:profile:diff --profilelist profilenames --targetusername username (Compare liste profiles path against target org)\n  $ sfdx sfpowerkit:org:profile:diff --targetusername username (compare all profile in the project against the target org)\n  $ sfdx sfpowerkit:org:profile:diff --sourceusername sourcealias --targetusername username (compare all profile in the source org against the target org)\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\profile\\diff.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/profile/diff.ts)_\n\n### `sfpowerkit:org:sandbox:create`\n\nCreates a sandbox using the tooling api, ensure the user has the required permissions before using this command\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:create -n \u003cstring\u003e -d \u003cstring\u003e -l \u003cstring\u003e [-a \u003cstring\u003e] [-f \u003cstring\u003e] [-v\n  \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -a, --apexclass=apexclass                               A reference to the ID of an Apex class that runs after each\n                                                          copy of the sandbox\n\n  -d, --description=description                           (required) Description of the sandbox\n\n  -f, --clonefrom=clonefrom                               A reference to the ID of a SandboxInfo that serves as the\n                                                          source org for a cloned sandbox.\n\n  -l, --licensetype=DEVELOPER|DEVELOPER_PRO|PARTIAL|FULL  (required) Type of the sandbox. Valid values are\n                                                          DEVELOPER,DEVELOPER_PRO,PARTIAL,FULL. Provide this if the sandbox is to be created from Production\n\n  -n, --name=name                                         (required) Name of the sandbox\n\n  -v, --targetdevhubusername=targetdevhubusername         (required) username or alias for the dev hub org; overrides default dev hub org\n\n  --apiversion=apiversion                                 override the api version used for api requests made by this\n                                                          command\n\n  --json                                                  format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)          [default: warn] logging level for this command invocation\n\nEXAMPLE\n    $ sfdx sfpowerkit:org:sandbox:create -d Testsandbox -f sitSandbox -n test2 -v myOrg@example.com\n    $ sfdx sfpowerkit:org:sandbox:create -d Testsandbox -l DEVELOPER -n test2 -v myOrg@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n \u003cstring\u003e [-s] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -n, --name=name                                 (required) Name of the sandbox\n  -s, --showonlylatest                            Shows only the latest info of the sandbox record\n  -v, --targetdevhubusername=targetdevhubusername (required) username or alias for the dev hub org; overrides default dev hub org\n  --apiversion=apiversion                         override the api version used for api requests made by this command\n  --json                                          format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:sandbox:info -n test2  -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\info.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/sandbox/info.ts)_\n\n### `sfpowerkit:org:sandbox:refresh`\n\nRefresh a sandbox using the tooling api, ensure the user has the required permissions before using this command\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:refresh -n \u003cstring\u003e [-f \u003cstring\u003e] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json]\n  [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -f, --clonefrom=clonefrom                       A reference to the ID of a SandboxInfo that serves as the source org\n                                                  for a cloned sandbox.\n\n  -n, --name=name                                 (required) Name of the sandbox\n\n  -v, --targetdevhubusername=targetdevhubusername  (required) username or alias for the dev hub org; overrides default dev hub org\n\n  --apiversion=apiversion                         override the api version used for api requests made by this command\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n    $ sfdx sfpowerkit:org:sandbox:refresh -n test2 -f sitSandbox -v myOrg@example.com\n    $ sfdx sfpowerkit:org:sandbox:refresh -n test2 -l DEVELOPER -v myOrg@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\n### `sfpowerkit:org:scratchorg:usage`\n\nGets the active count of scratch org by users in a devhub\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:usage -v \u003cstring\u003e\n  [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -v, --targetdevhubusername=targetdevhubusername  (required) username or alias for the dev hub org; overrides default dev hub org\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:usage -v devhub\n    Active Scratch Orgs Remaining: 42 out of 100\n    Daily Scratch Orgs Remaining: 171 out of 200\n\n    IN_USE             SIGNUPEMAIL\n    ─────────────────  ─────────────────\n    2                  XYZ@KYZ.COM\n    2                  JFK@KYZ.COM\n    Total number of records retrieved: 4.\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDeletes the active count of scratch org by given usermame/email in a devhub\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete [-e \u003cstring\u003e | -u \u003cstring\u003e] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --email=email                                                                 Email of the user account that has created the scratch org\n  -u, --username=username                                                           Username of the scratch org to be deleted\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --dryrun                                                                          Perform a dry run, without deleting the scratch orgs\n  --ignorepool                                                                      Ignore scratch orgs which belong to a pool\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n  $ sfdx sfpowerkit:org:scratchorg:delete  -u xyz@kyz.com -v devhub\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub --ignorepool\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:relaxiprange`\n\nThis command sets or removes ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange [-r \u003carray\u003e] [--all] [--none] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 List of ip range with comma separated. eg, 122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  --all                                                                             Relax full iprange 0.0.0.0-255.255.255.255 in the target org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n  --none                                                                            Remove any existing iprange relaxations in the target org\n\nEXAMPLES\n  sfdx sfpowerkit:org:relaxiprange -u sandbox -r \"122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\"\n  sfdx sfpowerkit:org:relaxiprange -u sandbox --all\n  sfdx sfpowerkit:org:relaxiprange -u sandbox --none\n```\n\n### `sfpowerkit:auth:login`\n\nAllows to authenticate against an org using username/password and Security Token. Security Token requirement\ncan be removed by ensuring the particular user profile is allowed to connect to Salesforce from different IP\nranges.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:auth:login -u \u003cstring\u003e -p \u003cstring\u003e  [-s \u003cstring\u003e] [ -r \u003curl\u003e ]  [-a \u003cstring\u003e]  [--apiversion\n  \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -p, --password=password                          (required) Password of the org\n\n  -r, --url=url                                    URL of the org, by default it points to test.salesforce.com\n\n  -s  --securitytoken=securitytoken               Security Token for this particular user\n\n  -a, --alias=alias                               alias for the target org\n\n  --apiversion=apiversion                         override the api version used for api requests made by this command\n\n  --json                                          format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $  sfdx sfpowerkit:auth:login -u azlam@sfdc.com -p Xasdax2w2  -a prod\n     Authorized to azlam@sfdc.com\n\n```\n\n## Dependency Functionalities\n\n### `sfpowerkit:dependency:tree:package [BETA]`\n\nThis command is used to compute the dependency tree details of an unlocked package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:dependency:tree:package -n \u003cstring\u003e -d \u003cstring\u003e [-p] [-s] [-f json|csv] [-u \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -o, --output=output                                                               (required) path to create the output\n  -f, --format=(json|csv)                                                           [default: json] format of the output file to create\n  -n, --package=package                                                             (required) package name, package version id, subscriber id that is installed in the org\n  -p, --packagefilter                                                               output result will filter only dependent packages\n  -s, --showall                                                                     Indclude all items with/without dependency in the result\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:dependency:tree:package -u MyScratchOrg -n 04txxxxxxxxxx -o outputdir -f json\n  $ sfdx sfpowerkit:dependency:tree:package -u MyScratchOrg -n 04txxxxxxxxxx -o outputdir -f csv\n  $ sfdx sfpowerkit:dependency:tree:package -u MyScratchOrg -n 04txxxxxxxxxx -o outputdir -f csv -p\n  $ sfdx sfpowerkit:dependency:tree:package -u MyScratchOrg -n 04txxxxxxxxxx -o outputdir -f csv -s\n```\n\n_See code: [src\\commands\\sfpowerkit\\dependency\\tree\\package.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities\n\nCommands to create and maintain a pool of scratchorgs. Details on getting started are available [here](https://github.com/Accenture/sfpowerkit/wiki/Getting-started-with-ScratchOrg-Pooling)\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n### `sfpowerkit:pool:create`\n\nCreates a pool of prebuilt scratchorgs, which can the be consumed by users or CI\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:create -f \u003cfilepath\u003e [-b \u003cnumber\u003e] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -b, --batchsize=batchsize                                                         [default: 10] Number of scratch org to be created in a single batch\n\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could\n                                                                                    be found in the Wiki\n\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:create -f config\\core_poolconfig.json\n  $ sfdx sfpowerkit:pool:create -f config\\core_poolconfig.json -v devhub\n```\n\n### `sfpowerkit:pool:fetch`\n\nGets an active/unused scratch org from the scratch org pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:fetch -t \u003cstring\u003e [-m] [-s \u003cstring\u003e] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -m, --mypool                                                                      Filter the tag for any additions created  by the executor of the command\n  -s, --sendtouser=sendtouser                                                       Send the credentials of the fetched scratchorg to another DevHub user, Useful\n                                                                                    for situations when pool is only limited to certain users\n  -t, --tag=tag                                                                     (required) (required) tag used to identify the scratch org pool\n\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:fetch -t core\n  $ sfdx sfpowerkit:pool:fetch -t core -v devhub\n  $ sfdx sfpowerkit:pool:fetch -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:fetch -t core -v devhub -s testuser@test.com\n```\n\n### `sfpowerkit:pool:list`\n\nRetrieves a list of active scratch org and details from any pool. If this command is run with -m|--mypool, the command will retrieve the passwords for the pool created by the user who is executing the command.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:list [-t \u003cstring\u003e] [-m] [-a] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -a, --allscratchorgs                                                              Gets all used and unused Scratch orgs from pool\n  -m, --mypool                                                                      Filter the tag for any additions created  by the executor of the command\n  -t, --tag=tag                                                                     tag used to identify the scratch org pool\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:list -t core\n  $ sfdx sfpowerkit:pool:list -t core -v devhub\n  $ sfdx sfpowerkit:pool:list -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:list -t core -v devhub -m -a\n```\n\n### `sfpowerkit:pool:delete`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:delete -t \u003cstring\u003e [-m] [-a] [-i] [-v \u003cstring\u003e] [--apiversion \u003cstring\u003e] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -a, --allscratchorgs                                                              Deletes all used and unused Scratch orgs from pool by the tag\n  -i, --inprogressonly                                                              Deletes all scratch orgs which are 'In Progress' stage from pool by the tag\n  -m, --mypool                                                                      Filter only Scratch orgs created by current user in the pool\n  -t, --tag=tag                                                                     (required) tag used to identify the scratch org pool\n  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub org; overrides default dev hub org\n  --apiversion=apiversion                                                           override the api version used for api requests made by this command\n  --json                                                                            format output as json\n  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: info] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:delete -t core\n  $ sfdx sfpowerkit:pool:delete -t core -v devhub\n  $ sfdx sfpowerkit:pool:delete -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:delete -t core -v devhub -m -a\n```\n\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FAccenture%2Fsfpowerkit.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FAccenture%2Fsfpowerkit?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxatscale%2Fsfpowerkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxatscale%2Fsfpowerkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxatscale%2Fsfpowerkit/lists"}