{"_id":"sfpowerkit","_rev":"534-13b93731dcfcf76933120dec22520f25","name":"sfpowerkit","dist-tags":{"latest":"6.1.0","sfdx,salesforce,devops,cli":"1.8.2","alpha":"6.0.0","beta":"6.0.0","sfdx":"2.7.7","salesforce":"2.7.7","salesforce-plugins":"2.7.7","sfdx-plugins":"2.7.7","hotfix":"6.1.0","refs/heads/develop":"6.0.0","refs/heads/main":"6.1.2"},"versions":{"1.0.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"hello":{"description":"Commands to say hello."},"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-oJs01HCJiQQMB+T8gStB+UeJSxftuMoUJF1tLV+8XZgifl/DGxoZqNfZf+TfLHWX3WGfwsieQmtfQ9nAxUfEug==","shasum":"4d9de9fc59820f579fcfb4f32ba3a0eb3d0ffa76","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.0.tgz","fileCount":16,"unpackedSize":490220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchOrRCRA9TVsSAnZWagAAraEP/22fXDjLkqIbv5Og77k7\nOQWIytDOi2eKfQH0AEWweDCaOW0aSGioeTJltAL9uHymrxKaVRQ0utc4Az3e\noiT5W1/InXQehO7Xui0d5Jbq1vOUglqEJpIrzShJPF/LyNK+S1BwnESzuk9z\nPb7PVARNHAv8nw2ojKj/rxivFHKcuHjBkQpyhmlJ//wEmDADQ365Rf575pdT\nDF/hx165dFq5bmIo/RvOyrBwkaTO9kWWl4y0/86My0oS26lYZGXA5TlyI3nK\nuFSraGKORQKOE7fcfcxRLrYQhcidjnrlvtvA8B/rMSBCNyBZarD2rIXjPjnN\nk4W6aCENewlu3742xgiLT3TvE2LV2fhjVe7nmSztUei/iJq6g6YyttZihBqW\nHslKJ5eBh2AN9qJJRYp7Eeu+bwADnIkzyAlS3h8Qj/pvpGNVCUf6bBRIVmJX\nkfv1YTUnaxco1a2Z+/a6838qZLDEjL1KIJFDYZY3JvMVXtJy7cRL+y0XS5sV\ncxfxXHPBYbJ6APr1KyP/bgC/JCC4uNiUKt1MyL4+GY/8UuaeX9I96vuJLduC\n6DIO/GlIKMbIb4Z6W3qtXHZUTny7zMcwh3B5B0nPY/dpX+0oRLiJ5+q8a8qO\nIqSWzwgu8ozyWcR/7+NrTb864Fr6ohJQ2OFrG8dTVTPwbX3keLIyu9eG0Ogo\nRFe6\r\n=7l6d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGJNReWQkL+sX8RVZPT+oWDXC57qO9GopMOZIXaPF7/QIgNlTUzktqTodunn7fQyvrW88tyfwZnUpWznDfbs0wrcs="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.0_1552214736378_0.3499769472824841"},"_hasShrinkwrap":true},"1.0.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"hello":{"description":"Commands to say hello."},"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-glXcg3angrmpmMgKOHPq4HwrWxJ1qmVdEqvwhfm4UJVn7tESk0IdKbM+EHraWcM159AJdKCI7K2I2ouPtcrfNg==","shasum":"f85dd27b4cbc5a7927bbdc3986483a9286ffeb59","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.1.tgz","fileCount":16,"unpackedSize":480388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPBbCRA9TVsSAnZWagAAhMEP/3xHj2k53BNHxtu1XnnH\n0KYenaHgqzAIssUYScuog66OwmmM9FOpdt+xYD4cb+mr4+0C5718fyDnB44c\n7G2T6OapSVblx7kpQ0PEaMFldB5dczcz8fkrXs2iSW/PAn4FLz2cMtWX2+5q\n69rU7rUcRdf0l5hzeeq4VAzKSkncJ/Jiqyh4/LdM3FJkPq0EbGEcA5GUDFhP\nD+ZLn9JEEc82wYjFG0HYCuPbN0kdfuA3yYXuYMbX/baCb43vbtcIM4M64dlG\ngmToSTft/RzNwQcRdalbbPy7FrMzjLJ+MdDbK1cN+MbxlBYE7zzCx5X0/h4W\nd4K0fKP/HK9F/KT4TUL7ewdipAsXvtmJ6nod50Ik7L54xRpYs34v4ZThI+h4\n9RanRxSKEDZ5BlHMPS0cDVEoiehuq+XsZnClsIUnIifqYSsjXZkk6FQ93r7w\ncpzg8+2SMmabn650gfP+z4f6gT9Wssp9V+ky+LKJwvdxuXRghSZ0ZuoAsRl8\nxaix8eJQQq4rokHZ4ixIxeMb4q2o6LlgAmhujT1YS4hl4Nli4BXpMjKO359V\n6RsaWzGfbcuUBBzyUHOrqPV1DI0DesN3cVzERrcLGv41R5jsW8600MMQqlon\n2pN2oDGRbR1+jPPCU92y8Oe4vEyS/OIDmtKmtERdN6a5k9hf6Vmh8RvFHcQM\n5Y/7\r\n=9bmj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDA6YWPDRKHNhb4AnrOc1jdwS+QjCv6x9ZyOCkZIJqjKAiA7tk/tUYEg5zljjxK5UolKz57yODCshp2X5RsxzQPyAg=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.1_1552216154970_0.1256844040759324"},"_hasShrinkwrap":true},"1.0.2":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"hello":{"description":"Commands to say hello."},"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-AFI4gXAYxbJ1LMqCyrk83A1IbVEBIiSdpCpXSw9C4UFX2kMNWFek/dLlqac3+hctreHTs554rBm9ToXYFRvuoQ==","shasum":"9874900c765a5e8f360ac2d865d383198d3681f6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.2.tgz","fileCount":16,"unpackedSize":487193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPKDCRA9TVsSAnZWagAA7wwP+gKOKyKPnM2zXwDn6703\nFxP2McVw3HflFqzg5mqhZAi4++apY2qy+GPgJK7CnZ1eDkZWK+kwXqZUJYGB\n2lbEpbByGCDzyDsx3Wbkgi+EUaml3pmlXrMftXiXa3s6HBwrMjqoILjQSyj4\n+Wxbvg++ACk17Wh/2H33fq6f96dunS00zamzdAqhPZpa7EeEDFowXs2Z5ave\nOTsJQF111JHavNRcKdNLamwTrNrvZMHYH4ffHQrF26tHOoO8DazZaGrbTfZv\n4mMqqgU81bsK31M6aFhT6QAYZKeaox14bbmJjKvnVdoZNDNnBCO2k9clqCbV\nhF8PjIc1ZMbIs5N3BS8Vj+aBz0w/PJJpYDqUaB+K2i+IhfUGUAHbPRB/Hv87\nSbl3E3wi0RJyLhZtpRYtK0hE1AxWds3HhXDbP1SLXyNizllDMenPoy2Hj/xm\nbagtVKbkwzHKR3SrNCvkG2rU0XdxmhWK/tCvhdJRR4mBhHM+QyeJp4CyV2fn\nKMMD7kjYLCRi976Jz9BFstbp3HFL1P13QUFICtP67m+xCwxs5Wj81JHVaRvh\npafdRJCWixDGgplj2s3CxriBcNr7ecyTTB4X6W4Mh00eDsWilb3JKsL4kjei\njHdJGDaf6nt1Qbe4wJ/rXoeSoCKzJcWxFOAbtC41qQjkOS+9zuRrERJ+qaIK\nCeAF\r\n=RpDt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyBy0PRzavTnuXfkoJSav6jR287D6qmFgCQjMEGGJ7tAiBtnt9noiYBPTM3KBIF4fVHbOQlJO4uhLlVxb1rZwz+UQ=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.2_1552216706305_0.5875023828083215"},"_hasShrinkwrap":true},"1.0.3":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.3","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"hello":{"description":"Commands to say hello."},"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-/5Ei+yxDBmBKif7MvAEa+vO7QL9oo2CWMFoqkQ8vjJCIF6j7C0pIJ72uwCs4qrcPRd70c3yshyrDD2xNarkaGw==","shasum":"eb6a445f67a591eb4d7e781742a4099bc02175ba","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.3.tgz","fileCount":16,"unpackedSize":486790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPL1CRA9TVsSAnZWagAAakwP/i0p364jaioUul+BCkuT\n8PvP1Auy2mTsdKiLpKk1vc2JaOeonyMkct8fQkZsamKaePmENgjq7yyUl/fw\nx+velKu7Kwd7Nb36oZaTuqAEhJ9Y/hxLuXtTYfysnb6Pdm8kR80vlMP5drb3\nJZ9zioyHNwZEYVB8cnCqbqloREM6ziNiJhzvdcZsD7TaEv/wPK6C6t8ZdX9/\n0wMX2o9sGMgWfkqcpYZWAvExXXSWk2LicS+824Hu/4qX7paCMevwYZyYLRvQ\npn9egrWmZOShT3gQQMJDxKt1zceITFVo2xXSYZP94ljgz7BPgJaOqcVXoilQ\nXzjrLv5rsZ5StCDjtX1+kxfIgltTzU9FDWBmJ9E+DibPKGX1g/2f3iu3xnoz\nOJDvsVFQ9BTUWvbbn29aCYmoTsfNBIbZ5x/SmCaML5JX9gCjY6DH2B9YJrFj\nMrAtcb1kWKdRdT2Wo0bpsWOgRmFxqKKLW+wkglbAgfDpQro7dGriwRSBMrAb\n2mrdxJaWrw/YyyhMBCA6jG85/rgiYSlXaXRIyosNh6JCkhPWDirxud3PFqlR\nso/WdiklJ10sdDtwOIEk4tDDFSJAJnug60zfaCyJzS7ZzjcjaTS2dlUPAO/l\navVG6ExKGLETZdnQn8NlCW7ThXu2aVMUwPoJC0Axjo0gp5/0rB/UwtUyykVg\nUld3\r\n=2VGf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAE3JjKE0HqZqeCBjJu8VnOPUWmFzC++jagnNETftFmFAiEArPBKA9pkb4jCn1lcJmyiAUHmqKMNr28wOVzbYIsegik="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.3_1552216820935_0.7198972253966804"},"_hasShrinkwrap":true},"1.0.4":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.4","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"hello":{"description":"Commands to say hello."},"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-yOevgHpyVlLZt9fvgY/eqXY8I35DFRoFwBQDjqyeG5tw9Oi9hxZPljr+oEvEKvVzqMwHs8x+D7YU7nmWPR9Qag==","shasum":"0f51a283ac726a1f8e47684dabe3a8c9e4db4a1b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.4.tgz","fileCount":16,"unpackedSize":487050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPOKCRA9TVsSAnZWagAAagYP/ijlLjKJ9GqpcIyjhHN+\ndjoTCLWaiDOyXu0pPGVrwFkJAmpObZ8mnIaNwyWwQggPXdIqLWsflYXpBaY9\n6hpmGgfCu3kkMTgiL/UG7wtulq2TVRd0KhEYfFvgOGq2Jrc4Sj4fUK7hHD+1\ncfMDgxeaNs3crDOcT1NTLldLwpfrJGl8gu//xpSPGY93c0jheSU+OfJ0W5Lz\nMkp5XZsdvrIXs7MmV685Tc0sQdbBgom7PBHLxPlXXXTiO4KPLeVUPY0lNhjv\nu23Ey3m040IkrGpyFK2heuyt2XJlbeMHn98PVz78MQuPgDQkXpGMWq8uBM/X\nnzOlnlPutxLJwmk/ZtiUhIevV/9jJK7vBcm7kr4Nm4BdPfw+wXG/xh7jQEwW\nNmpWgycsrnAX6+FwGsLedVY2+Vj634p1HKh/XIz7Qwgeq/tI2AmhRnDVTpZ/\nOzqdjXlWdBeXZJ34ESkYKYFzU56zXJ427/+mvV5ax/Ogb6JKm5RqDl0syEG9\nFJHt8d8oGXcvnQGV3nUL+Qui1i3qAYPPS3aqTwr7NzMUKKuPiYw69xNb8S32\nedPwhl2FkeT/OWFJFHnSXAwUSouaZhpfKuTjE11AGxeOUQaY6fSWzszMupLW\noERZaGvWnk2hYcnVj9kW9uIelt+8nAiZ99TKM0ehHRA0qvqetsU65Q/IJZyd\nWj3C\r\n=GF0l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFoxepP3F14eeVPnVmXVpiBoHKn1lvQozWMfkfwL7AGAiEAgGjHNheOawjKnoq8lJXtBW5GkZvZjfG9pQ9Wm9ZbeYs="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.4_1552216969949_0.540604897018294"},"_hasShrinkwrap":true},"1.0.5":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.5","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"hello":{"description":"Commands to say hello."},"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-y1lC+51CUOENUuPS/Ks1CmHt0dwQ55MDWXjD+BjwkP2tIpHpyM5tUDw/lwO5f7i18UZDZhJqzkuujKPJmP73Zw==","shasum":"3f4d683e7dc4d6146ec8212154e0b27bf73c572c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.5.tgz","fileCount":16,"unpackedSize":482859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPS+CRA9TVsSAnZWagAAlTgP/1t+sdmDuMbJC68UBjyA\nIOExd84NGI8ylHcJovZr30LcAtsHoHEss35QNdSOw1LXSTpxcBovNNI7OIYY\nJLwRLd6lAv4fJWuAd56DTFd0H2zpe95+QH0/yrzs4EeTYin7Du5QHh0ZmEjN\n6dbg//GNC2tCCqNx2u/46qKWWh29e+ylh25BMYrLddYCsroERQXBokf2jJRN\nb+WMtDbulpM0W0he0LxnVr4K2PTQsvzKZpwidu7/TWSovy6aoCEAPd0DZc1e\ndb44w9bM1OZyBF+Q3O75U8bFfraRvrfCzcIcVsjYiyvoT/auwG7hV+vczPhh\nJS/dx24Y6rCa+TH8yQvzSEDkV9PympNytFhlvUBver+3m1lNHAp1yWnVb6xm\n5sbulrTsYcB2UQFKmdXA05AoHnljM6i0cvmSZZj6m/GVR5TBRm6hZbSw2NB5\ngVfATaPKHY3rl41ytDcQnaBIsbZfam9EnleyH8RyIbq1sNK8CdBrvf81H78U\nsGy9zUeuW6thMLXv7YXdrimkWs5FDMAEGEHUytOi7xxd+4NmEx2aIHALRMyW\nlpg6K6MlHmobytFn0vFLIeGq/GV3DR0wqQvBz00uqD3X67CCE/vOvts3S2o6\nYWN3MAaaK7fh2+hnnvTLgblfabEEjcimOC8pHKohdR5dUgtiCXoYoglRxR4M\nVU22\r\n=PXVX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwlvNgYFH551oKVkRUB6AV3V3J4iZCuHvljXIxtejqIgIgZbBBWRFW20kAYfYpTL8VRcqbb5hR/7AjeIUFbvcjnkI="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.5_1552217278135_0.7469868188308866"},"_hasShrinkwrap":true},"1.0.6":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.6","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"63e257b725ae1acc3d711c12745f92df747fafea","_id":"sfpowerkit@1.0.6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-WbZNZzuxBC6yWaiwOnf/rZrszUiD9mJ7eSG+7e04l34Gx1APOkTtsxtoC+51koCqe+22fBx6dZCru49oLbmiWg==","shasum":"b081a87f25788c642b74a353f5c6aec13629a42f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.6.tgz","fileCount":22,"unpackedSize":516644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPiSCRA9TVsSAnZWagAASeAQAJF70/qBmSxUXNLalaIb\nYAW1Y0sdMRULm6bEQfGqeGzR/4EnLSV7BK1zFiwXHypxYLMitQoDq303ekhX\nGkpY80Wv4hEQtVG5zkodlrg/jScN69pZB7/5bztcv5cksim5ToDZ2aAsqZEo\nmiUo7/zS2dMrlFINuIxCmseTALPHiU2MMvBmBG5+zs6asHuzjS4F1PvvqVDi\nMelek8hcmwPcKDnZTwLLMi0yxn00UY8XTyY/tsr/WW2PO0iKYkoV34YUPUEy\nZMDOim+X8GuG0lfk2Qs+UndzCzw6ptgvQaPT9ybOOPUoCQ3Fk624u9oIVu8J\n9FPt1u8vjWzwv+SvMN3DbIDCE6vz4iBr/hYiEA8V69hscv+qtHuGsmCWja43\nk6nR+11MY3zL/egb8XaFn81ETN6PIz8WpHK0SgEwBBomleXWVWlBSaOZTRj3\nMWtvrzrwMYPc3bC0ttQY4Kd6vNVLWQxEI3K7ak3cipOzwX+/7y23Kw++b8vg\nYLaqcs82j3cL/6yURWTgISMvodNUxoKh+QXmIj1N7lzWy7Wf/TLIWrE1nHRI\n3GCeFmkUHAAS7ZIs4sRVFWuSrE+eguPHAzjdoY+j+FJ6kjmAvXSevKt+njT9\nA8kM//bqKI0dMDC+nftWWGMq8U+T0TqrV843re4+R7WHjBfAXFQ2WgznF6Os\nr97+\r\n=KSgL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkKjeemJNn1C839jFpwZXhmS/w5TjKu41N9gERdgGHRAiEAiZodrO+k0wwCANBgEqWcFGPcHi31w2yrjIxRAXJhAD8="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.6_1552218257572_0.3721094983885298"},"_hasShrinkwrap":true},"1.0.7":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.0.7","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"147da1db8e0c301c965fd392df3612d180582a47","_id":"sfpowerkit@1.0.7","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-HU3yjwgzN0+7J3WtZfv4HEdUqiKV0R0CcPr6WI9SIM+WiJgLoW/vyV5RGqXjqiITKu//UAD3wPg02GgTo5h/5Q==","shasum":"1f603e61ac9c065ca5c8b36e9b70f981ab76542f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.0.7.tgz","fileCount":22,"unpackedSize":516940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchQgfCRA9TVsSAnZWagAASqEP+QGFUJ9vtgms6Tagtbqb\nP7Tb0zc73i4ppZA+Awo1Uz9QkJTJSPeqjOLoYCUbcdq4mX7OXbT4bbZTPpJW\n4OOgv9h3QfsYszkJrangunlhbyIfMBgaR81bjM0w/n+aj3WVy/jeDaDGYB9K\n18HnrHFpCq1J/7daX2oqKq1BPjoxnviOYuU9dNzo4eWW1uG1YzDi4/zuFzDi\nHPf11IKnUEPHIwM+biW66x0JTBr6bCYkADHIoWmulg1kEgo1lMjms07bjL6V\nWQDr/AG+r90pE7+FZqL5daY3l/GPdHYx3lCeQQdEStIAhlYgl0cESvyjAGKB\nnBQH0ZJHrJZrzqqr5RUBa5iJjB2ZOqXeZ5LjzP8/bM5aVSuV6hiVzH7iDfOq\nqzsk2+pRzGhU559mxLMS4thZastCVQvfMvitchmzMz8AMdiQNVOoGwKmGgIs\nY2QfXi5v02mSaXehXe1OFt9J1eDYg2PmUNgkASCOA0h4kpl81thwTQMEs3RW\nAKC5w2c9OmwD9JZ06HmnPiDoSYv9lyEiXrmkCkbmlQp0cULkb+E3mivsyez5\nmDUHh8f07NFFbbzFo9yu9obJyJ2aZeaSUnbl6L2T4ThyeYgjxetfSy3OEQV9\n/9gDBU6yB9tEDwD8wR8rOejwKU2wnbhZOxifSq3hTvvS7tbITz08Hebsrwhr\nDltH\r\n=gS4/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDeVFIv5FRiVnc3u/ND55Y6tH1VHEe26Ew5swjXOGFEQIhALJ/lo6apmtGmuvg7AW2zUo7xh9wxFJttKvwLvLORCjw"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.0.7_1552222238990_0.9177333493286624"},"_hasShrinkwrap":true},"1.1.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.1.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"6afc936954bac4cb5ae06c1d252ee3dd62923f97","_id":"sfpowerkit@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-pdAn54ink/jzCZmoYy5KsgKsRrftIV3YlWrvGs97WOm8jTvznjUXsHvLlFrpXA/bjGUSrxIfTcNg43WMW2Zcag==","shasum":"55914b41c43c8b5d1d53779094e7755080c26f35","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.1.0.tgz","fileCount":20,"unpackedSize":497642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchlRlCRA9TVsSAnZWagAAui0P/RRX5ermM0lxLs4Cv9dz\nIWecWoZqkyTgmBBuMvKpc0fpXNbcwQRFKrC+4x+N0WkFzJh/LDoGYQ+B3tdJ\nR4fO+jDi9A5XXJruo/QJO4iTEenXzFADfd0ptvoDWZtcMYl1lgKVOS1PaNrO\nyDLgtlJrEpZLi7gQJYmQEAcnbHhBkEShQs5jWECpoWK+R3fKJKG4sodeBATC\nLL232BCVNIrtJMUNSzIfcChv4HfqZnPoz+LRJyEE5/lKhRWqPzeciSBnwk7m\nI3Vi//7X+WaCCbdw9Z/SOda3qZG/Ri4jOyPAyq6U0+o0dxJ46Z+EUWbJLKR5\nLFCgyIJpABITOIXK2etaJqp0CV+2Q8+eazoVXM202Q1/EB7ofd226u9TDCf0\njOqIhU6DLWpPxuKUgVPAa68M1bURGuVCTEvGv9bX/btRLgNkuRC/ddnSZlYA\nWmuLWzD5Kvv2Wg6dfuFQiFMut8n8+Nelbah2OLu/yFbyRFRhdJVqdFSXHZxv\nvElSxWE7btdqoWef9XWVcF8oHtURk/iJzrQU8hflNkISJkx4NtDCtB3BmFy+\nobwyHTP4aj0av2J/pVQRDLqCLwI30Qm7gP0YP1Vxo0Zi6/6XVK/RHsLP3X2i\nfDir8G/5X99z2TIvokTNdqRziP1jFqUHncJt5J/2tO7oO14qw4YQ6F8P1WuG\nn2rF\r\n=KHfM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+pEkFuT1oTvkdQ8GG0spUdEGMflM66zcvBg/GIhHguQIgXi6XGjJMZtVarbrySupiAOXzdHxcHu/wz4RH3ahb6e0="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.1.0_1552307301204_0.9258425440400173"},"_hasShrinkwrap":true},"1.1.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.1.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"6afc936954bac4cb5ae06c1d252ee3dd62923f97","_id":"sfpowerkit@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-WCeNMwwVKMCkiC7nDy95Jhg7xGAbJwz3mFAg1B91xiyGslzDOXi3H+7fnjppOJHY4fF3CGKuJD+9OD6BrSmRcg==","shasum":"cf3b1a9634b1f7d22c9fa87979e9f425c9de4b97","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.1.1.tgz","fileCount":20,"unpackedSize":499088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchlZTCRA9TVsSAnZWagAAcQYP/2x8xcChPai5Gug0YF2s\nHT37itmmFi2cjfBADNHDLrxmTpPm1tfdwgDfqKlJiLBDXMhhNvd42zOvxlCc\nKMNqPlYAW9TYUM8sEHASGhA06k+zcEg+mCFB0QiGbrgPXdYX7+iUIP3gMroN\nRDLWpBltthaF9K5h7kT3Fyz5G1nw/eVf4y2DTyQ0PRHZ02WYZEhfXAqsOvjJ\nJeRRYVy7PKHoksIXoxiZ8lCGqDmEsj5CFskh6AiYjJvwhncevAz28WY066Lj\n81JHk3k6Aih6Ht4l3+oBEQVWRMHTFUMVtkDzh2eAbIZKKL/kAUuSFKoUK6TZ\nAuvwyNq38cGzeu67sV8j+NQklwpUdW1sMoIjxoW1B2XBClCVg3S+kbiuM5fg\nbFh+XTZsAn1KecEWUoF4asx2qVBIwHm9S0KnhwcSaec73688Js1nv4w1G1Fe\nzckUHMzLwaTGGEi4pPmcf4rhRoN+QNarWu94XqExZo1KauQFExrZ4+SJzYnP\nOzB5Jyc6R1DKXE8onhZtXpMvzRego1oiMUByHxMILQJ9RDPIZ9rC1uYEjtxQ\nucAQFT7hGIBi/GV+h+ZHUwYIu6O3yFYoSpp0+d2JYlw5/V0r7mlmnhKHshBs\nY7SswA4lsPUtEdgaUk6e2S8ctqEDCcmF+MctsK3vXZZAXfWgG9hz6gEnlbR+\nt+r2\r\n=bslb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDIJtPjaicFhpr1+mvO2g91ee6gNZark0zJnnF6YXmFAIhAP9eu3fHfPeOI12PBM7maxLxpPUXG9FsnumGahXvpx/9"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.1.1_1552307794372_0.9351455647552274"},"_hasShrinkwrap":true},"1.1.2":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.1.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"6afc936954bac4cb5ae06c1d252ee3dd62923f97","_id":"sfpowerkit@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-vPfZfMCZPZJFd3dsHzr8WW2zdSy5lDOSlkL9uX2mFZ/ahZAzPDjzP7m+vPZm7UXFvtHMBtuQV3Oi+/4zNf0hOw==","shasum":"c8501aae5e622aa73c27b203bce7eef19d40851c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.1.2.tgz","fileCount":20,"unpackedSize":499636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchlcZCRA9TVsSAnZWagAAJjsP/itTe4Lxx1Ck/SMRTHuX\ntYIBvP5Y97+S25VCSZHVPFYPyj8fqNupzHLf1ZM6PzJtVjQneVVE/ewGt0pf\nevpWpZDDsZ2DibmnSmhR3loPCGWIeR/iaufAsOEN7N/gO3goWJRhVfsWl7Iw\nWbhOQ2Wq17/RHO3wNAZ59GnhpaljYiUsTNDN16rkjHdW6Nrk2Uy5DD8PHnPX\nbyuqhglI/1xF9PFAg9t4NGiVBUoyl4x8C6S2cU1ys6K0vjktuyYFwAU242w0\nWwcdRZc+32cdDuKPrZTNLu2comkITJw+y4e7Lk3+TKXv7cN/j4PpRGks4f9x\nUEnnNoWCQQt3SeewWEXlYesRa/dN/cbClFT9XimnMAPF8cGECZhfyye074xc\nsWEOsdA4XcXPxfyiDn5NrdbZj2h7nESDLS2RFVl9dE2OxDO13SCorvx+yDB3\n/CIHHfyZD8+UrAZRjpb/3bygH2xZC+O9ZbISlILLQc7l5jX0GUPnVg90UShW\nxhpWmIHBLlQTgA9AuALSeIAH7JFsY/up1HLC3FSP01E7viFiZCL8VfdFH44m\nkUl2eQzBbhNlVPW7Qm2H+qQdDp4xecAaxPPmSqA7ePsguwsHiLdiNEuGyQDV\nVAHFlSCWwMtaNLqECQnX9DMBCUp5mbZTwzaOXywqd1/W6MkPeHXGYe+02B4P\n0YdV\r\n=Nw2V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsgUk8jgp/ZYwDqEQ5+kZghc/gHBu1T1BmH/UlU3DXwAIhALN3RSSqCoa/X4Sg68p8n0CbroWr7o5DYQCmO7s26OIM"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.1.2_1552307992762_0.1967006513548062"},"_hasShrinkwrap":true},"1.1.3":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.1.3","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"4e301dc8fa75ea89eff02f55f9a59e111b1d529a","_id":"sfpowerkit@1.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-4Waz3JrfGFxjLHlweXgd4cf9Avb58IsRYykCLUYwwzjObkZx08Y9gB9EQJYyBtuBwQEsnVxF8Zad61Lxc1guvQ==","shasum":"a7e750333f091e6088c15abe94ea9253f027d24b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.1.3.tgz","fileCount":23,"unpackedSize":504456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch3umCRA9TVsSAnZWagAAGBgP/R5r2ajemxfY1iCE1obU\na9lTp8JU0plvp1Oji9pJq5wTx/5+AX4dLZLUBX8WsDp1aG4ZXP6DiYwkwg5F\nv8GMPgCUpd5nPsbHEjonByveJkhtcKuHTVkgMyhbNxCDcEBkQzamLKv3nlx8\nqL9f4xaX3LiTKgqPCfLV9/5Kt4/IqD61QURrUC/tJdQOKym5NjzgONySZJHL\nQoToiT2WW4C3dGRoETwNL0CsPEFbo4adLTAWEYIgE3TskF4J5aaLfwG5XQtq\nJwtLCZx/3PzCrTXDlxG1f6mZt5r0owv49je0n7EjZJezDZVZ6Ir7+8S3muOv\nmUZAnqjUdll160M65LTbIRwPGVQDvoGOyrLgX2BsME3Y0RF2FJ0P+PUREzyf\nQ3AWTm+Vcr/iYZEqcgM+wgRrCGaj4OJ2ht56LC659gqnWv1JFvN9+kHkBfEN\n8O4pqU9i+XTcBWSIyhuWIYUwgjoCkROBqN6BLIMMQdTSV8FN8JxxA8JEfum5\n/1+/yXYZbaR7LqX0LxsS2gAGN6hYmxrm+G/MQ4x7tXJ4gOj00n08Ya+p69B2\nte12j+VCm8E9i+ruRWRQXZK/Gl86EFT1M5dKFtGxOMhujYDtFjiOtGUZpE9m\nmWnkbnXn+tpkCRIWaBBkZxrUMBwoNibdhADspp0lJ6Y+qfI6dWtOBh6kEFBv\nevDk\r\n=RUPe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJGMZX31+hdmqTTcVa5Ysm82DOyPNfrjhRH/ebxTYrmAiAqzdvpNcybId67ZuL/MCcdiidw2GN9HOAKHXomuuh6Dg=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.1.3_1552382886048_0.002137985550160204"},"_hasShrinkwrap":true},"1.2.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.2.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19","request":"^2.88.0","request-promise-native":"^1.0.7"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"},"org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"3f4ea7c98fb0abf1045c7c6769130b76b79f9d03","_id":"sfpowerkit@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-xGIDhYMOoNu4c+EMHYDq7ektzMhNRFnT1tsFxkCWvjzDRZ6+65upO5IQm5S4uudru4iKnTeB9lFXLTxwy6S0Lw==","shasum":"bc3e9e0152c40e00488a77f248a7e7baaadc70b8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.2.0.tgz","fileCount":24,"unpackedSize":511110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch61qCRA9TVsSAnZWagAAJf8P/iK/UXitJG7hTJHHY4Ck\nSfSSxKi4GcYxHRiQclp1PRt2FLyQAOgi3REO3L0c5qSOf0dh6mDberzBnvm5\ngIJ+BC+zfHV2KkOZMbxhwJX2qUdELIAJjuKskM+pfflaeCTpnxZkuCs7HgFT\nj1V1FislbyPL4fUddlZWgDDUNA0myApUEvl1fOD/uq27ABlMq+BeStGzpJRe\n/zvCL22vE6G308uobeZDIJyjl8DdFcnbhlt4BcQj8EXTiSAqNBHf7w0JE+GU\nqDodASjzAoXRlLmGRoDQoeRF4SR7foWcvN2sZKdZAkUr5d7HpSzHSXNwWsRp\ndxZEp2Ng8W+w22JrcPVwLTzJlg/JArYiNDhKI5AITfOmxZpL0huOWQMarA91\nuk3JAy9a9KGqdbCDlqzhDENbIvH0qpHjPNTPvuGndKsKKGuBpo5uR+c6wfJT\nG+j6bN2mlBI3hYiEsL/wQPuWgSD4zHHTSMM8KYqRaV5abxSgf1SFBSBdi7nJ\nfrsuxCIe4kADy0yKsHGJA01+hOdjo+lE1NonmOpFYsKuEdrbyUN6yeH1uRPS\n9O3xV/aRc2+lm3tShY/qqoAW/Wd+QzBVLZhPLw4tr7zZWjRiB0LAwPt768W/\nq8MXi5jkcdu1chQYZdPXDTcIXkP8rXEIRhU1r1gdR+JeDpPbMv6l3xHqJUdD\n51Vp\r\n=Hkx1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArNO2/eo+1TwSLRux95uJ7N+BVYapONEvZdx3S4x0dJAiEA5ues8oAfMCUfHmfOzVyTYJV3ZsDECZbvAJArg7joHbg="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.2.0_1552395625476_0.27462103153239026"},"_hasShrinkwrap":true},"1.3.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.3.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","tslib":"1","xml2js":"^0.4.19","request":"^2.88.0","request-promise-native":"^1.0.7"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"package":{"description":"Helper commands for unlocked package"},"org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"3f4ea7c98fb0abf1045c7c6769130b76b79f9d03","_id":"sfpowerkit@1.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-S8FYY7qEbLVm3IHDowpdB141NzUWMozJxlEkjRnX/OnNL0tsW5UdueubBDA7Pn76U+I2TOv9DKPhyRW0AgBaQA==","shasum":"d6275cdc3e07024bb96a422987c51c2d74e44ddd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.3.0.tgz","fileCount":28,"unpackedSize":525302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciPkeCRA9TVsSAnZWagAAbJEP/3hTQpcGzeqt7Aa/g1ll\nzDELuOuHqmGj3wexCdakdOtriVLj1dkEMQkYrkYHMUuN4LcPqKSSOl7g/qOa\nePDBRKWD3foGMRtsCtl9XwSkl+9eJVYA56hWeY7MkPMhR50yNVolRL7droo5\nepsKLaqSPMAgGy3Y6ztLNSVlLapjcbWgXYScxqfqn7+jOiNYWrlOYEn6LiZ5\n/Vv2UrIjmchelorhwiFpcM3h/feLbike/d3JvMhGJZ1DeGDYTN0dVWOCvQr9\nDnWCGu43B2vRENPQBxQyXKZAxTq5Lrhsng2DQzGUrAHvajXvE2t+eQLhJvwv\njOqNR2h+5H475V5sxPUSWskI7wC2zdtg4IwoOelwtEEv4WgXRonyITjFg/q+\nRSmp6ctlVOaap7cgqmfYj+NHHnLkAshd73I+USvEW/mhZ4/Ij4/CHOYZ24SE\noDuDshMthY6KBBrXA6DN3eaU5yWCAdXqBr23eX0xsZW1uyMV1L70JStJQr37\nqOrrdJ0Cf9cvd5aTeRmLtdEDL+LI8Zf2EoBU/LkY8SIihQELSTXmJdMtUC+m\n2yvLFt1OBuGUFigMUJsCbInt+OX6KVcQWQRodcDW5sjfNy3oDr7IA4h8m2Kk\nc/i+LocRm2qwtXseLsXj1ME2rfodbXQYCcAfx+qYDt6xX+DAaTTw84ltPb4A\nJu13\r\n=uI1K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq0UZ4GPURz2WMo5y4nelxS1jvZ9+2jvPW9+OCKXWGKQIhALNMIcWHapWIcOS1L7xD3xRIzFo6q4ZFh8wdNzMgfVj3"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.3.0_1552480541958_0.13571869247859758"},"_hasShrinkwrap":true},"1.4.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.4.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"build":"rimraf lib && tsc","clean":"rimraf .oclif.manifest.json","lint":"tsc -p test --noEmit && tslint -p test -t stylish","postpublish":"yarn run clean; git push; git push --tags","prepare":"yarn run build && oclif-dev manifest","prepublishOnly":"yarn run build && oclif-dev manifest","preversion":"yarn run clean","version":"oclif-dev readme && git add README.md"},"gitHead":"7caa0c7cd4bbf06e7aa87b12724ecc6e3434cc6e","_id":"sfpowerkit@1.4.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-MiXMJZmkytlo8r/PsP75px+fk+LJOg7oMwxhDm5N0C2TfBPNmEwGHYoK6D7rxa2cfmuiLWrTPP34Prh5p4s6Bw==","shasum":"5b3493c1b632545c1d83d413ce089f0d547f2fa8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.4.1.tgz","fileCount":33,"unpackedSize":537210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjlLTCRA9TVsSAnZWagAADmIP/0vYj/BWUyX4KWiwjNHr\ndJRhafccaBMO9XFtkd8axp/z+fad9ZROy81tbgiezDXANmH5iiEp+xb8TYN0\neS0FgMpM7flW9irCIRZDidPrrEA99pbPLmsMhKcRro1OBkXwOoA73tJoWITe\nPE/QbbyWkRJrA07bjfnXUKRsddrLx0QfXogbEMQVoTPP7NZGjGa64SHPiuM+\nAKHutDasRlDLcjTwISPCM+rVMFIwx7lUxGm8Z6GBCzihVHjf7y5eQdZAfKg1\nX5QyQ2M6mJ7lojyesRvJnBqa8EmlDTT3Ax7gBAcwLOQpwHNZK3lVIvuOP85C\nCLnslCFrG9nlmkkthy7p363YK+g8MuRuv/1E+THR8Z4StrqQfAWyD29lWKkJ\ncNNr/g6Ml7Jn2durjzqTWU10cc4yDDcIwOpvv07UlhXh2Ob4lyWlQti9Qy1T\nVwAzS8y1PyX8dGUBJu3iRAtEUkz5qwJimSJcA8Y1bi5AhExM1AFrPuWuwgn1\n1XJpNxrLeqDGaVy4KWTcWz6HR3x+umA92HffEni/VDV6i++c6H13sjReArtL\nKtPEoqR4hPjeBTVot98dMdsXSnH13vbgqC9HJrQ5HC4wnKjbwlg7ZyRjez1Y\nRvgKqTZBostd0dgtTcSYAFTphWRdaNdbmJh66ir59vqUP7fwM4N7BM5Y3MFL\nYqe5\r\n=n/Qg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYt2wjuk7ei4TAS7ei76f1eeibaNXc48XlY1zwctY7kwIhAJrQepNjX/ucFAsSTet6tQiv2zHvXbgZbVO8U6iZ60UC"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.4.1_1552831187233_0.2773830874047396"},"_hasShrinkwrap":true},"1.4.2":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.4.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlam-abdulsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlam-abdulsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlam-abdulsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"593f9709938f047323442b198145f3ffd58d7bf3","_id":"sfpowerkit@1.4.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"},"dist":{"integrity":"sha512-c41cjCNboUySGaN4JQa3S5QgtvtG5FYm+1YZx80zDcmVqmQJ3l1Tu2kRU7xBzXOWOrcFbbNVsIZll/tb8crLGA==","shasum":"d5445a47209a32389674a07242150bb685e960e2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.4.2.tgz","fileCount":33,"unpackedSize":537113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjlNVCRA9TVsSAnZWagAA734P/3uoGEIvA4ihJ0GTj/wU\ndSrrGUJ8SoWGPji6l6XjSxTeDizX+04PL+YzpqQ5oq5kVT/xMyjp8s18sglr\nKl5lelMpqR3y58sH93vGNfiminLX3CTtITK2X+JmJdRQBVtpukt2jqFWINXI\nOicQfOsrOYhIDt0nhzClzU9NPaa34xYG50OhThA9HaRJYhHwvb1z/bnkxOSN\nxSFh7mzmkRLhygHk1hd+rzyvPZFILJ63mK6fIXhGsilar2kGvnbOb61007Nw\nkD5vFzsWo1UmurXHhVXXqx5s8HU6Oc4h9JZhF05IV8Itif70whwGggNTz5+J\npeXpdXySA+lYV7LRlmLlrRS13RVa8x76nIWpvVaH6s+zWZ6H7LdYteXLB3lP\nEA83ijU0+48NwU0AfYLRu+n0xff0P/fi7HrRhAdNtXoFUROk0/Rk/P2Q6zqU\nkhwnOngJHrsv4ASYCL33dE4Hu/6Wm6WO52DE5a16azQIRh59qDC1y0NpEFvB\nVtCXm1cQzvgnCWP0ZJYeIR3dfIdWXzj/Q2tfnP8kGz2a3TQDku/03XRrq3xx\nRYk0BWeFVEFGl8jbsVIFiddmerQH260dX4PDNXt0pjYmzRGBrh052McVKAO6\nWSx+dzel00xTX/5zyhdPz6M6Y0Vpnqhdp3r8ySsvCRKcy+3xUj9h5hRX6wJS\nxQ82\r\n=Psvw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4/xKvzxT5LOg9zYDk86kJ+9PX445/npPUyyMZr6h8wQIhAIAbdEpKVGdn7KGC3H6+SbQeBF+7yJtMSgZUlTd9bIta"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.4.2_1552831317283_0.5817347249977607"},"_hasShrinkwrap":true},"1.4.3":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.4.3","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"64f381310349820cd04bc95e425a5aa4833ce664","_id":"sfpowerkit@1.4.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-QTC7CQoB0tAJ1+xqwOHHgoVd+OhUpmX/1FSNRzZ1LF0WutPLfnaD3hbibDOq/m2SVB1jBh4bMVDkOzphNX1rZQ==","shasum":"42ab0ed67bece051ca226c46a3326c68ad873ccd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.4.3.tgz","fileCount":33,"unpackedSize":537179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj5RyCRA9TVsSAnZWagAAn3EP/i3hNp5mPQJ3Tel72fzn\n9p7Dkc/BOBbos7k28K7bFjco2YCx25uiGyZCiqkaojzKPuEwR6JIu/eCHytM\n+xH3OzUfXyVthsTpojA4WMhmPF8qG2B5VuLKL/vN07tEn9seBTfM7CGo2de1\nGWeh3fWOflaeMA7aTipiAC76H6WZ/34uap5Ub5qMg21fXg3SWopFA3hEtGkq\nAIK7AiE2IodihHhzsmRIiOXeHQpZwbtbLE9SsPSu16owXJS+HPaaiPCixP9f\n62fi3hDStJOeSJNskXO3e5AwiRAhS9/WcKLXjxhsMuiocE6F8dYuB0tFYnjL\ntq3PgA+ZhlzLfnhz6rr00rhh7ute8lBYnoOjiecpFHbEWDXH50obi7XFBv5L\nehDjGBh+KyJPUXP6X/vo+d1LO9XXWJGXEOQ1/v1kaHU6WPw4cDR8d8QPZKfH\ncLTZM9fNYtw41uHvtAnzT4tVXASJakbGlxlpK54z47gxkFcNbkSpcafumQ7j\nJrW1pcKz8HwxMTjv9fGw5RTP/PPxRXK+O/1fBnvb5F424wG9pE1GQbhIbrSk\n/HPdJmP1sejt/RdI/EQiKeghdWDyY3m5pbn95uerZS7Nor4imfwr8DBl98l/\n9Gj2cX/D+6so37J0ri0f1K+1nfTMHdzSinYAmH0yAy1EwPS2tGrY2+vYAfDM\nKoKL\r\n=dGo1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDypAOFLPWedsGGFfHoJVWcJfIhgn5aY4rSGnaWkWMAUAIhAPagZR3/qQTtdZ+6yrLo+ENJgrK7V9ak3pB4lQ+3ZaBE"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.4.3_1552913521351_0.1411581150729866"},"_hasShrinkwrap":true},"1.4.4":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.4.4","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"b0d5a1242d65498e060953228356527f368e8d3c","_id":"sfpowerkit@1.4.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-5UuvjhBM+MEkC2baAy/vn7zzB0yIcIFXdpgf5rbXl/O8xJ//7km/sddyc5b8O1RUI/tcSuUV+ftgPAP7Wjgu3Q==","shasum":"39a03972c6e4bddc14a2a3a60ced0508b37becef","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.4.4.tgz","fileCount":33,"unpackedSize":539810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckiAlCRA9TVsSAnZWagAAIxYQAIkaF4J1JJxPgvVpteVx\n8bTmsIloNvujOxX+3iQEhtMm3CSw4hqcKIEDbJXus+k8xaDu6CvD1kSHVGHO\nunl22GqZquGsdYbUL6gTgY0d6eCUmtu3LtCrcLe51V0cTWcg6cZJTxYPYl0Z\nSGW9+/S0igPEfinPo8RcRIRDnvjOaHve9NwKMIFkpQBTe1F+75dSD66rLTsI\nKcszfoLwQaPcmKEwKlcSxwzWct/LJn5/QkOr/CPIcWd3SScbUiXAmUVmV5J4\nrdTnW8ysBIAiYEF1klR7qonQLN6epHBN5EzLmNqojhq8PE9SckuFfoU1vSZL\nYrey4rUj5bM7uqLmA8i8WvudTfDaGwj+8ZlNc7VAxBZA4caTDKm6QtvtZQoD\niK+Xwqg71WZJiAmvLrn93oIKhG5aZWnFmJWp2Q3L/X9NPNRS1C2gFyVk+5sL\niSeyWAk45Lx2/uup2vnqErJlCGbhRJgyCDGSPPqh2X8gjXlXjT0ZqsNxFF6V\n9e6zIPNI9ESPdn8Av9dVlQW0fA99okmaNeoY1nHvaZemdtv4Pv+xwNFriaSz\nBWz3IzbbsLEzKTIqF5JeHJqG3amg+LKStlptMrfLF4OuKQ+OMXwUxVLsOKPI\nAVNY+WhqfmOze6gFVpcPAdQjcQwm1GKAWDu0wXmobaQXrThhYWHdiaFhOvR+\nRAnc\r\n=AB/8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+PGmYTX7eMxbd70RhlLGjZ3OeqAhnGv7HGImm5kYzUAiAMXhei+ibxJMX8XAefVPwVvT0e4DY8mws47ruBDBq5Dw=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.4.4_1553080355885_0.16084263952487587"},"_hasShrinkwrap":true},"1.5.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"c37c18f1e888bd72e1f9004165560e6326ed14ee","_id":"sfpowerkit@1.5.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-3v1M6PWIsAKAINdjITanZjG14yyhncin+K5RvVSG9kvM3nlUq/ANYcDsIXjn/BDCxjoIX7cNn7OMLka928J0PA==","shasum":"3a641592599c1e44010eb27f97ed1d6027140021","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.0.tgz","fileCount":41,"unpackedSize":577985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckkfCCRA9TVsSAnZWagAAUoYP/0n7hK7dUcwnBpPi0Dyv\niGuYfR3l3UbWSDbD+3enpRUMofCu7vM1dhRfxpDgqpILnbFHgX5AE4fFOM3+\ngXCp+nVISlFASbezZOZbyMiYS2KdSn2flR8pS0J1ZqLBRtQv7s1evp/438kj\nJEaLDFOx+mgJatzmqMM4iG1J2EGx8FEqcRi8DgmczZ22ioG0IeblX/cMUdv4\n3bodjr/42c3kVxMPd/Wg2LPIjPdMuAl3LJDRD9Mig+FbdT5CbDjvoZu7Tp4y\nIYstvSqestm26dczvGgHUCuDEU49CGSwm9EuNhSD84obQcl3bfkJ0OwNC2Fc\nJ+WYChjEXBrcCFqQpLwdWcooEUjRUjOAoQQAxnUMr085kuzvOVy69wm2JtKZ\n9mwKIWFs18SQ3D9yIn0XdWxDmaHDE0xHgOlJZezvtyZfV5i8tkz9ckl7LGfA\nooaJ7MI/CDzaqiHrHkpZKPTU2VoUg4stl5eR8l6VrUkZM8FMZ1Yn05QXSi7B\nOjbruyH/Re+GWyW59aQ4T6apUxyHaBYfUGoN7HSMa7/vy2NZAVIAHw7mPoe5\n9f8376e+MMa/9TE11Li2Jb326eFhRtXWE0/Hf1jshVLbNU+bOt1nQ/dJoVSl\nYknYrhbnJ4eMXLq8rB5QBoJ4RHgUeR/8kpOMjOfFxGUsblBXqQr8tp2c4lC1\n8WrA\r\n=3Trd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhaNp828V6hMZ8bWXoyCLGQWNoJ9U0CVPGvOoTUBJa8AiEAn3wHD/gGnuH81y73jDyzBZSx4lNaRZunMGFZjLHFCjc="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.0_1553090497608_0.8330999284376439"},"_hasShrinkwrap":true},"1.5.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"c37c18f1e888bd72e1f9004165560e6326ed14ee","_id":"sfpowerkit@1.5.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-xACObh5YGGxvqqMJdEjtOCLOlXfW2i8nDO5tZi0SB8jWMW9qlKijIQPHsnG1ZCZtSXXXOm1d+1kDfF7M2iqQNg==","shasum":"efe078d974bea169e48e03f31a3966e0c6eb732e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.1.tgz","fileCount":41,"unpackedSize":588378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck4eRCRA9TVsSAnZWagAAyuwP/0j/AiLL7jVV62VWbQgo\n0SdqsUQMlyMjDp6xZhSxqBWM9NTmwQ6m0L0NHeOUJUIs7DY3jbF6ukLVh6hJ\nYbdmX6z6aYvbPw+TFQ5MNKG9FBXukQrKTyKcGqDj4+lgeEguiNT93llbmqyL\neMjwXbXX84GFNxrCRmhRjmztAjGS9gCR0oU1fZ+t/iKuN20sztd/wIgw57n7\n73Q2f1WPuwwwyDKb6OG1PMZNxxKnwjV/D+1R66DTrF7c4WOFmcYsVnSt2tKK\nMVXewbfEiJkZ9DN3EcU/sAwqRb0XkS51ihwmsEZfFELgAIL2uARifH0fZML6\nqr5xwJ9AZ6iWd8RpBd/32O6jUMh+kzf4LSRyMzaYsLjtjadEhUWMtvJop+zh\n8AIZdyUAObrYYD5eJ6MEaiZ9kvfX0IKiaauiib11SgsnQO4qSicKPDZaU5UY\nbXvjpWdgB87B5epU/8+4XqIcIxwB1FNEqGmcb+Xgc7ccSvfPlXH8kAeXokfu\n54Qp1+cvrF3C7G1ku/LEaTj+Wq47P0P6bxDhwoJOZUlU2RNSDrTv8cTKuZi7\n0QLP4vFE30l/4KxirIwlatkt5AOavFFwlPK5EM0aR4qKyEALuFpeT+uPnFZ0\nYRMMH/hQxIkrFojtDrdBmyPrGyCvhi3wxIHBMZIJuK6LiwmPW790qmO8vumS\nXYCm\r\n=psQY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2I4KckfjwFIvoRZXHMMZgaUaRrWFrLOwMPeTUDFSnGAIhALRL7plMLkQyNMcDWK6CLvbyzLe2iv2YJ4uuCmNzn7Tt"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.1_1553172368105_0.2225055136777847"},"_hasShrinkwrap":true},"1.5.2":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"c37c18f1e888bd72e1f9004165560e6326ed14ee","_id":"sfpowerkit@1.5.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-qHe9Yt5XL04Hv6Bpxi7yogwHc7+ycAS5t3BL78+2+Kgj7FCx1wxd5+QxCtDKXNP/GVoJdtdGXj6Uknf0b6QgQA==","shasum":"2fc89f1c8bec3b5dbfc771301432f6455fb78b6e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.2.tgz","fileCount":41,"unpackedSize":558840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck4gGCRA9TVsSAnZWagAAu6oQAKKdoAbibwOvnXb3wdAh\nX+QgSsNAxdaBBNUph1AmUQSWMlC7QTgoRGFUmriY0kc+lcEdzkgAqlyaJUv0\nCVmEE1fAl6bU8Ng443nmJeImZ00CW88f431uT+QbDh50mJjXNVcFxqhY10ra\n0V/W41k2x4GFHpM2xM+p0LU0SiTKqJYUaby0VAx1fDGDb3UfVe3Y266T+uUj\nSqrANMNxx8ATJvCulwgTaqBRuLjNYa+CRLlakh67m3dsK3RXdiMq7yC8UueF\nLVQvXUgoCRMe8pNFrJMDyrmi2Q8WWocCQjVPO1ytzQJ2pAxRX5vG5V0lDUK+\nNXVCo298kNMdIq7uOjnew+dx7kMj58BeyMIKzyFNAxyzkGo2XCe5+0QGvT3E\n/lf19bI3TffYBfN9C+j/uC18Q0ILRzl2jYnbxp3yUZ4p12RpTSvdzF5CoLcW\negVmqtCQ8w2CkWGBOMjTfFeiIe0iIL1WEECWEF2LKowNWAyCkes2rfYZvb59\nD45/cUSKbv6tTTFzUhf3nIMBjwKzuWxaB4/ZNLB+O0Q15Hlsy5fHOxN1LTDg\nZdHf2g5YboBF5EbJXNs8Fz5iqRfSWI538w/UqT+oDUSSBWxCI7NRx8TuLc9h\n+EcM6TTcyLUXuDPh1UN1kvZX5E54YpGlf20ADkHV26xbrz10MKk2l6zNY3wn\nabRq\r\n=Z4qJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEc09WAMQUPLl2Znre3b6DAZR2WRfXrLqMbgcJegwtzOAiAq58KASCje/q443RcH6vxEzNSNbgRTAs3WzpYHbNUEMg=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.2_1553172485728_0.8939808605150283"},"_hasShrinkwrap":true},"1.5.3":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.3","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"d8d44cca5f7ae997d2464ebfe9ef9fcc896b544a","_id":"sfpowerkit@1.5.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-pTeIwvUK1ANgarU+jXqZzTS7Zp4BpjDmWh1yP8sOxVfD2Ji11N0QlKWVVkP1tVMxMIujJ4GVpgZuFqTbqndROQ==","shasum":"1b62215c076748b30b679f974e8e1743c1c3729a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.3.tgz","fileCount":41,"unpackedSize":558784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck4mBCRA9TVsSAnZWagAAwiUP+QDh//ioLaOnST09pXDy\np1EYTMWS83+XlFGNwsmYCGtXkX4wQ7zCD/4lFh3l0Pbp3tF+yYWnPR0t58UD\nkAt++gtzCAO2eFuEGrVovpQtFPffVOPWpvVgYQ/Ab1IDfGU4AaRh6ndXIsmg\nh1ZWVOi5bHkNvG/R4eO5R64qpjRDti3Lj1Ga508ikIc8TMNeiNZ+/6HuKNBZ\nY6byTSx0cDrvbQ2XP1LRo9281PT+14t4fobDl4chdfgXOw/F0CFlbwmCZGbz\nBf+Qzd4mKz2u+jzx+ArtC33O55r7rvPvycSgd1cyn1ovSICHhBWaOxHArIm7\nG6i4pkItooxkHjNQf2qwQjLQW/CsF3hRvUCKmBQThMxE6UlSzEOpTA5WeNP3\nQ4JNI8vqkXIgL68iBOBrI0EQA4xZr49y7tb48ApN2baxCfr4n3OfAWszuI39\nNiD+mq2RzxhRhBFQCLJM9wsmO3HRP2O2E3tqfAtWAyXBme82t4ylSCruq4RS\n7mSbrtM6CWbCkbouWwc6TIaXec/m/6KKWzHd/tkRhQ5rZSgx0IRDr8CWdjz+\nhvnHWRme6POZ6pU86F3waMQ7zqTK/sHb9uuQmqveV9xZTAr7lj3//5n/YfZp\nhBfaYHbwcTFgt1fVF5Qgk4CCpDZn9Q/Q/pyMy8v/TSkMFgNW7aeIn2P5+TTO\ndKqJ\r\n=VjZ4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAXkiBlWzRQWpzVCjqAp78jvxA4kVwQ5Y4oi2WFiAczFAiAM8DOCdXRCYEckQVK0jvANwYa/DT4YrvqzADR+WuXneQ=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.3_1553172864957_0.8401608481000513"},"_hasShrinkwrap":true},"1.5.4":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.4","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"0a3a337f1ac679fbc5a324aa25b6459c70de6539","_id":"sfpowerkit@1.5.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-XYiwErOqSDhHsjO1i00FTRfQ/cvlicru4DWd9xpwx6ibR2ehJ5XWgDsPJrqhZeSHF+m3YXGFT3sZSYuhsZkXjA==","shasum":"b7fb6bc2ccfe60b806543f628ff9a8846d61ca31","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.4.tgz","fileCount":41,"unpackedSize":558817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmMgvCRA9TVsSAnZWagAAHzsP/RbV8x9R2bh1m8Th0gY0\nXIQfBzpJqoe8NC4U7P30WwL21x0ohTXi+ZMh/Jx4TTFhViwF8WZVNuEJ4nCD\nqdeyPUOojl6uk+UFInu04+naVzjLrsHcc896Gch9TrAmHObmt8XcRNpPHspP\nBQOqY0APV36G0+XNPSEp7iW2xxnzaHcF3Gku9aFZ+IFAFuPo2FwFsYwjJca2\nhZLyjZTPt3fI0tuOV1x8vLaEq3uCx1Md8XhImzX2f4nTYfL1q8x6LthPo7XA\nO5ejI2Hg2rTvpRhZNjNEG/7JqlLlLml+6NgMnzweP4MqYoW4l4xwoGQH7iES\niKOSE5ZPlVWeTCzVu3lTmfU3hrdiJ6EXCOuUFwzE7TNJra+43NdsES4XRtBy\npE/fG/zSiUZaR2H9g90j0u0b3WL5zAiuY9GK22iftPHzRSXn97oxgXQ4OUbe\n0lTRyULANCKjlzaS1LKCOs74tWwSuE3ZRlTpUXAHOO9WgjntNppBR3/iqBQj\nvm7K/CNMHVNIDtDVLRK7uAJn8+/5RO5CkiDGjdlcagLkJp26dRQ8OOCpjqWf\ncSHWKHnxx+Fef0/KWIIp9oL7D5KPLOOw3+gF/In0oSKSN+pikLKb6rU5SNEz\nVd3mbuuZBekPmuVHZHvpIglT6x0WCv8N/MTzs/0wGJZmHD1arefKo9IVuQkX\nPExM\r\n=hXVM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXOB52mjTU+NV3xFyCBgT/MUgXdBOcHl3J0XRXfFLkiQIhAPBsYzmkVoQ2WRsf69Q7fZQP/Va9ocmrehXZm/qUqbEL"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.4_1553516591109_0.37479656372486847"},"_hasShrinkwrap":true},"1.5.5":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.5","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"0a3a337f1ac679fbc5a324aa25b6459c70de6539","_id":"sfpowerkit@1.5.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-KD/tke76+AqrYqg2YZYOk+OCMxO6J7V6hbGyixjPEp9zbLu0HfwRK0TAX1cY3+zoVS9mYxegEh0ZrtmYbOju2g==","shasum":"0e0f7840a950602cd2abd5334809a2ef41403c60","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.5.tgz","fileCount":41,"unpackedSize":558677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmMk6CRA9TVsSAnZWagAATYIP/18qwsPWfEHZBnuLXs1k\na0GTU8eqpEUilTjjpWWFQlXgeQFSzmmsQTQ+P+XVTGswWB9PqY6cHx51/G8D\niwHhXPk0Vhl0Nv2g0mZMYBcTUO1jAvOatm3DSZWDOBSeTf0ndAlSVDdHA7Oc\n2UlqLEcC+01efdGsPPpmpoJ4MOAuyw7wlrAO/wrbEPjIVqSKsg+gsQGk45JK\n/VObFT45jllz0EdPhwEgq/bmqEFTwIow/gtQxLV05TY/Jqe9C5TcmE1YvqUx\nLDfVWFDv7042Pig0fB1E+VMg85Ybf+6UijeMBt0Vx6CHsYVJcCnVmG0iKhqV\nwNuB3h6UmaWwT82PzaqTZWe+GagA+k+zUet+2vs5ZUOxv5C1qTAPGHu1RmYf\noC+Ldt1onG31sVyF+Ufes5mvBGpQVYPIM7lrxMJvyfgRJYrU28l57XUqisvw\nsxHrYStaQSNk7KTOIw9LsfB2d4gi5NpVw/KdOVEr1D7G/FyRaNoV7EeT7nGI\nn5wVgIP6m9W801o+NGmg69eKVDUezndOMJB98It5MDJf/26Wk/fltU9ngZB5\nK+jI/uFHdOxFl7cx2QQ2/5qC/xs5C+BhqQ+VeF0bDyVin1ex5jI5rvov4sJf\nQ69gqK6KIpu8fyO/CjMZWfOgMN3uubXdr2bLRmhCuqQ63uY7OG8kq16GoHUY\naSjL\r\n=OUrx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc09Ap2gHO3ZWWIQbkat2Ue4Zl1pHkpHbLVrEdME9LoAIhAOd76TiJ4kSPaxfOtCrth1zWqMXE526n+DSw3zrNO9Fb"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.5_1553516857768_0.9092284019400041"},"_hasShrinkwrap":true},"1.5.6":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.5.6","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"0a3a337f1ac679fbc5a324aa25b6459c70de6539","_id":"sfpowerkit@1.5.6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-+RhfRpeWBVOhXw2wSMDWo+4NvYjxcaA2ZUi/Vy9CloLZ1zhpLqL4hza4rU1nxWl7U87Let76cRo/6ZAwh//vRA==","shasum":"511f269227ef90a9ce01ff84f2c132870c8505e0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.5.6.tgz","fileCount":41,"unpackedSize":558678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmMmzCRA9TVsSAnZWagAA3REP/R1zizB7HJ6dYMmtmzDG\nyV0aWbrIzNNQ9h64JIHOUP34q90s2FztdszmNsJT4faCUNFE4SELNQGFsNE5\npJVKtL/2y/9QKkTZmX2TEr+64RM+dM/GeH89u+xYwq4eIBrwhxFzX4kxsbJh\nFg8Q4bZEZSF0OYNlcFuO/ssUcKb4mpmCA0BME841rL3PEymb6RJ8g8dKowDg\nNVj5TovOsPGRGIsyK9HsO77rolLeGWeIJ+oOfIaLyeZRdgijVduiAY/dLkYL\nibUx04vaCZa0LET6slo8ZrVyPUnpi6s9CZ53B1XeyBdLAe4+yLdIdE7MWVCM\nFt9INu43CZ5eCUoT1y5s/V/T8VsCxuu11YwqjeOsiFdTbFhOSxyBKzx7PUzT\nXZJjYDu/fPV2vfhXx/mWQFzzfyfGzQ5hAhjRrzcx+Q4gIzPR84Hf8oRPhlxr\nRNwc4RDrS7K+YRUQabDOq9ZmsBolTbVGYwgqQCAuPGEdESwN5sBWZNdUogP6\nQwQzMv9Ui+DhSCM9jWNLlOvTFM/6TgscVBuI9wRwMn1bvheaO0Jb6npaeirc\nM4DJ0YYkk+YJCYROAdvN6N3Z8J3xDAoLP0LUn+IRwZKu5yccGFNaVq0ct/HD\n97XnWVVlbP7ED6k6okK1WVv+KWpXb3vONzaogfT59RsprSZ4pYeuLCpbM03V\nt1Zc\r\n=JwH4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbVEZOYcZzxWQ7fVdJtbavgvDQswTNV4/2j+6orWmHuAiAGKFsNTV7Yz80jORPQPBSeV6wyzYziD+JGDxyxd5B06A=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.5.6_1553516978599_0.41727103195997284"},"_hasShrinkwrap":true},"1.6.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.6.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"8f4f8944382ae0d23ec1193f99d156d4c0d8d344","_id":"sfpowerkit@1.6.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-PSG08jNVbl8cmdRYLIAjYt0mUEVuisVWfmCancEfDf5PTIkbEb/xHWjvwyBHb7AiCgTbmmuK/F5eLa+nhJYA7g==","shasum":"21c1f73563515e79a1f0e1d13efc434899defb08","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.6.0.tgz","fileCount":45,"unpackedSize":565705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmiYFCRA9TVsSAnZWagAArroP/i3dY+/60/yBWXeSr4hX\nMx1ntDEoi70cj8n7ZBbsarEyjcdDYGCnzTc97WrUyAoKBfFu+cvJ9ByDVmGz\nbniGLvLlos+p61f8/G8fRzGncj1z2YVJ6/iO8ij1d0Lpb69bFuMOXqQh4PQ4\nHEPrLFBtWPnwJDbj0mTlTEbQS02ABJUfII0pcc9UqJjNGV+5KJkNj0gF91Ly\nKtwneBOQdOZ9NX5i9uk6wEPf6wN9CGd3bcXNHSksWo4Oo5zm//ZLbnUkaCFI\n+w0Fe67XTVeqOrrAPxHGbvzbK5KA0eh9PvtEl7c37M1wdfGgZdv+ji+CWVDB\nS3qWFNi+nYEuVjofVL8VKTyWqc/7BMVj5cyYu45s1LipY3T5UCYAmipEUaFM\n5Tk/LrnBbLUi7CItHUqDCL3Ul2V4k0gzWdIdQz2XcZXh5G/7qOTY3e2S91Zr\nkTj1X1tV9iNXOMi5KxRJQBREIEEwNiWBCqlFog9+MjYKvfMPl1AnmMVR2Qlm\nE28/BtJL4hmd4kYF//H8c0HsopvywKYSfQd/5522x+wzur0pvvwIYDzmMmaS\nmwgnl92sNq8RNNvzEq8thMe8SHfqLrSzYEw0zUGjrpgQ0vo6UlcRafj/Wl8u\n2xYqOdHWF2OreYQt2Nreha/bBaHXdU2VMTK9JE/aDTNnQJ7XNPuY9c0xYu6J\nw5Nl\r\n=6itR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHs3RWPoehROTJs/cQV5Nl/AhXkMw7WFIoFWFatQcWcSAiEA2MD3mnm1VRnOcVxCdR9pR2258ZrPXibu0DboCpBJV+E="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.6.0_1553606148655_0.4448951926537932"},"_hasShrinkwrap":true},"1.6.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.6.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"09c60b29b48ede555eae65f85ce94700adbfea2a","_id":"sfpowerkit@1.6.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-x/+j06gvZgVu3+bAmIj28W0aL2Y+Ea2SH/ltKbwa1t48x8p9L+5Q+ANfMk35/EG6fnjk9JpolyEo1aQVCRTfLA==","shasum":"8989d596ce6505774a86f9fb28edb378fea0a6b7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.6.1.tgz","fileCount":45,"unpackedSize":565660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmi3LCRA9TVsSAnZWagAAqEQP/RXb0alD/tcYd5B93zHo\nxJJ9mB9S9lz0t4gZjLmYMIXI3J6v7nzolsH/kII7qTTcuiqiJz9ddJLLLE8H\n6nsp+TPbC/LMpD7kPQwFG1pf/9EEGqDlJT7CQmH8yK2Tb8SirCtAHgvqZTX8\nuOY+UHhHgn6h/tPvKneflXYlsWLXawDl4REk8QgvYr7iY7F0iSaqQRKvsxgc\nmxbMddgoismt79kFm6qDOmAlkKzRIhYtl2PvsJ8dSvWTsDTv0swf2u1gIi+K\ndtITJH0Bk7YwBDlFNEB/Pj8gRuHChAn+OLuMuyh3Zzp91/kjJmVTXyrX3Dta\nBS3jrYQIAYcQFv5cfBLSUI/T4HvdYpNl2pdpmrE4uXFTQLIuhHbZsAKRGGpK\n2ixOHtYTq7HsB2/ecxxcmCqMWGY5x/opfAgcEPCexwCv69fLrPa6LY4tioul\nA6ByePxTaEyP//41YJIvka5EpoN2pCrhkeG3veuww99CiT6n+oqeCiNIQQjm\nu7XVHYo1oOMQkBvgoXTXEZfI8dWqQ9eSXO1DrNbu5YiLDa9nxhBCJmrpkJ7L\nn+cD/AajejnepH8o+MQBQboXk9t2V43VBmLdntYlZPu4oLLdZNqTchKtYl+W\nXGyJrduuNmLZrZ1n9kspH98T9l/MW0vE7afmtPtdlUnh/M8vRHxdWdF7YJPm\np9FK\r\n=HUaY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOrra5fi58i/TR57HkZ09NqnyNoU/dN0k7Qk0278R0NAiA/Igk8opKP7V9PzFRrWj+Z6NgHuW9GOTK+Ov3BTBEr6g=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.6.1_1553608138218_0.8224205201676604"},"_hasShrinkwrap":true},"1.6.2":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.6.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"09c60b29b48ede555eae65f85ce94700adbfea2a","_id":"sfpowerkit@1.6.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-UQmiMjPkQWmbRsRdfOGft+dVB4yjNhcWCqIrJYCJ6CCbstTeVZY/tfOdlCyNe7RflZESAGRmknQ55HZEJ0Qt0Q==","shasum":"26f25850dca46460c1cd94c755bab1021d5823a6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.6.2.tgz","fileCount":45,"unpackedSize":565242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmi8wCRA9TVsSAnZWagAA/70QAJW4dU/V6c7O7voN+Ckl\noGq0Dl6rswgOhIT3L9/QOXdwpqKAbTtLzHxV9dXpXH4wLBYq8veGtdLKUYjf\ntbkzUUTF+AUv6yfo7dNXEOiZIX86sF6l7YLCrTEuhTqYq3gCdQGPSvRYC3IP\n5zxTqZhuiz0Mziunk/E0TaYzjhkKuqup9XKcekKKpndxy3nzlpKtzzUiCULE\nxC2Hs7Symxhevi5OdeLoSc/OjDKNoWulFDqFXISHpR05KRG6ySAxaA5rscTG\nxc7CHYDRXBiYuE4CyYd10yukDOyLHUgszRHA45uZ+kK5xwAuXeStYPr/7VY6\n2AH/8JH2FH/6jZUSBJgPTI+aF+Zj0DrY6APLCQd1lHoCbBiowe2sLURayw1V\n4/5bzwBgzkvhD4i1iKcXd8QZ5y6qv6EcQ6grFONk8gBTr7DoeIpm/rZED4Qd\n18YygWRrDUKgLu3QUvy8FtLO8b1vapUVm0BB5ZsBxng1chCsxcGhjZz/vn6A\nBdi78Ko3IQdoqPV2UJT8LoSQSQ3N2GDmBtI44ywawyd6/GGFgM2yXO0GpGa0\nP5C5ernfKd2ehdki9PXMQENdLiuFQsG4yo4BTf4RT2k/3/9pwKc58vjTOGWA\nfD/2amWwSvzg3bXdUUN9muu5dBITxNiYFjxBV9aMyvrfx1WogL6DDpoiisrZ\nxBdt\r\n=3SQ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdctm0mCF8ydBynIIQlTf/+FwG+aWWAl1oahqKxLp3uAiEA2na2FJEDcdmKFjhFBRn1jtRzFvEoJJYTULvTLifgIy0="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.6.2_1553608495868_0.7696587264240193"},"_hasShrinkwrap":true},"1.7.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.7.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.0.1","@salesforce/core":"^1.0.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.1.4","@types/chai":"^4","@types/mocha":"^5","@types/node":"^10","chai":"^4","globby":"^8","mocha":"^5","nyc":"^13","rimraf":"^2.6.3","sinon":"5","ts-node":"^7","typescript":"^3.0"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"0ea18f98ec3c9850e844eeb84647e70e25ccfed9","_id":"sfpowerkit@1.7.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-D01zIdVKC/dKGGz22nk6May/G7gMplV59Yd6BecDy/xcIxO3waK6oqkK6Nk/G2l7t2FCXtLOLZqoP/ehIgkIeA==","shasum":"8a8de4512f4ec29dc2193f1676d5db9756e81839","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.7.0.tgz","fileCount":45,"unpackedSize":567164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm2ofCRA9TVsSAnZWagAA3j0P+gPOTfrgvwWTxlH9aS7K\nz1lhCGEfjgflPyAjBxx3mP6B77FZ1WKj5HTcNqgmlqZl3HRtIiwtKr01ba+S\nPLagYC2GKfDjM65bmroiFY+eD/yrLZQVz45asZpgHPGBLSqQE7PxaGL3HJwS\n+8SskkwGcDoKoeJJRqJnL2TtwVd3tEOVF+TVjq2GGIJkgJzH4PFPHwMJttn4\ndh9e+wGylew1LlVZT32/7IRtDHsNud4ZxtfadezGGG11Stjtr5M4NMsjxktt\nJ6FCUSqDFBLmkAuHqD4apEJyZ4vaaqO8YM8J+Wcoxj57LaYZDy0FKAk3ee3q\nkcLpz65z5MNU50oVqrhBxtJwZPkK2i+2BD9HeMNJE4Xgu8Wp6wK2bIU/RDun\nMr34DZ+F6iM7o+JGaDO0DOT+ksy7YfTx24h77R2j3TcV88tsnIWAafggkX5K\nfa3L1iCpsdemLZUGT3EW0ZsNsqW4MiVT+clNCGoo2bW68s+k8EoVAC0xpckO\ne6vWFb9yVqbKu5aOpiag9wglaQyzZWe0Gzz/LRH/p7X4jM9XCJxb2xyJVtNl\nNa9HQFcL7Cm6mFY1DX/lmi/4gH13xCmiMzjG20eRUUT5orwqbw5bjIbZq/qC\nT+mjkPTdsz5oWeEkqks3GEc1qE0N7x344QYPcYPdKpEqeyPVDcOdLsIKgtc3\nskS6\r\n=PHUA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXluqQ7w3W6YmvUBhbWRgYpBHRF8stYRIsk/MlEQIl0AiEAwguAt3AGb1y1bYsw82fy2aSQHm+Qdvi65v5qlLW44qA="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.7.0_1553689118222_0.04988436651796291"},"_hasShrinkwrap":true},"1.7.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.7.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"12960bbe3feb2f89e7b7cb90f2439eabb4ee74f9","_id":"sfpowerkit@1.7.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-nJjrHp8WJEtRP0TSCdKtqalMLDAz+H/NWmx15lU2a5v7CvIKYl+LxN5OaMbMem/2nJHbpWjKfN6Kjyyl0Wb7vg==","shasum":"82845e5b6fa7721160291ee522aa5ab47de53877","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.7.1.tgz","fileCount":49,"unpackedSize":589615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco8a0CRA9TVsSAnZWagAA5MMP/2BRHTjrNRopjpAeCpk5\nIAroDbXhRf3hK7u+o4IWZfEWNNRZcX5ADmG3EjTdiN748UD0U6EqFYyfUJy2\nWNFir41SQxlXHOOLE8RWTwAlZwdojqWD5w+cu7Pn9tZZfOpPW4bkiUvmx5or\nTnOQfy+J/o8FBrKSeTbZwii7QoGYG7gk5ax9sdQ8pZtR8esCLwMK9jfTObwE\ndZARGsFnjAdCWOxkROMC0UvSizgtPCM0MZDEkkif6U0Z7STZhNENZj27CN+a\nHV5OHvKITSfCtD0wCkI9CKGrz1LH1m2AYqJEQ4WI8A4SKexQGWzYqPk63eKs\nVR+mzdyux0PzlPmLNX7Ad/CkYuN5dXtzblbR5dKCmbDhKuVIWum70wJIbZO1\nl5XMn2NYTSiOGrtyMERHP7a2Hx0e3x0Nx1NGGUaFGmkyM3Lzk8qKDNBFpJ4n\nuQsPYmgjhcZtCVual19WqzOrGsEltmD33EfghlYTdtqvEdu2065XYhgUwj+X\n/S/oHVrXejvE+CszIPMjuYbSiAa45o5jX7rKSiSCagdF+s6QLoJBfpGg4UBT\nNb3bloI6y9U3lMiIgiasv9uP6u9n/se5m4GMopxkYqX+g02o+guDYguU3vMw\n5XZBLL1MWWNXpDdiQZn4AcVnBAErqAd5j/p91yUa2TNaN+hHKLo4tKV4Q5pc\npcmW\r\n=AB1A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH1hDdpKGBx0mKj7QjrXKen9h3hrSLVdI+NDx/ODqIpcCIQC9tn6rp65rs0Mt75tc0ksuz0Ybjv+8m+lDz2hmvViztw=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.7.1_1554237107656_0.5421413046383761"},"_hasShrinkwrap":true},"1.8.0":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.8.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"52bc73e26de2bfa321162dc1b6d5e5127209e736","_id":"sfpowerkit@1.8.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-+oESrGiOSuzjYrG85CukAdNlIgj7rWoQEcTjneT+HRBcdrezsIgDE0cGo1TJaljZ/wZg/q8yTSVI2b41sIsukw==","shasum":"061f4f0faa4802316bf6f8e639b015b533835c8b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.0.tgz","fileCount":49,"unpackedSize":593575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpe9dCRA9TVsSAnZWagAAPF4QAKUCe4zU9Y0KOQc3W0Zk\nKYnjlIX3t5Jjd/N0FW/vYo/lNNwdZbIp2jWbnoaDDTbzozHkbRIEXHBFXp6m\nZeHxPJjYEfM1gc4pU4MJXLdudAlssm2ElyCPr4sNSTJrtf18SOUBRY8mdj74\nGPhXM065lDjCJrOjH9OpNNq4NKNyogMfRW/5OINJwAs808xNi6JgMCSOqRwE\ncWUx0arOzlDRKvS5pbRQictU8JiQOpDsjCrGn35y4TgO5rKfKMzmTjrmLhsp\no36pmcPG1OMqvN2Nge4qOZ+JRO4Jws9mCjtrZwWcapVCAp6gfoDAhs/jtjUO\nkONUfvh4j5FUs5el0oUlCVPxxRzqhiFUoFXYXIHTyc1Q8GgR1pXNU/ut4G0f\nug8TFpfaWzHHgD+/BBFrDyJ7E9Eh26rXedWFAvIk5W4+7jDE6J80KRwLS8lL\nZ3w0OjOwz26hAEPBN9vcM4XOQjO463ovkCRzR5j9ommbeSE0iewtXF5WomUf\nIGzGgKs+Xi0/3OGix5T/kKV5zM9GrWukhaR72lYHdIfXm5/zirLvn34/yBqg\nzZhUrWbkAAb7wAbAptJVaJtq0l1BEaT+YviR2aMX7S+H42NVjne7eTdTyrIi\nB6xiqZEV6fp/JGzcUe1W8X1Lwa9d12n9O0SqSy8jlvh7iW+nhqyRekUIog77\nSA9g\r\n=UH8T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg6ZBH50sPq2be3FQGsr+SP9miQxceOEfe3dYKtWbG8AIgFWDTGme8AV5l0CmhuicJuC6rSfeCXdE7zlqKurk+gXA="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.0_1554378588503_0.04679475156536883"},"_hasShrinkwrap":true},"1.8.1":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.8.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"52bc73e26de2bfa321162dc1b6d5e5127209e736","_id":"sfpowerkit@1.8.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-+uIWgNNNXGSiMXdHiz2sZL9IFAGhiXOtsiFRE+DBTvt45Xah5CCZsv1IhTbtO1ZgVl9sv3oOXfPApuDMPCUcrw==","shasum":"4fe85a1b9712b3c4b0473a59037350c7239c4015","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.1.tgz","fileCount":49,"unpackedSize":593580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpfJ0CRA9TVsSAnZWagAA6IsQAKIlDALQDLZM/FK42wxx\nNGwMOLzeaF1n/AHT92dKwp0xyDMbE6t/jhnaTsW/kldccjuQAfxuhWTl9Nmg\ne5YV6oloWGeWjRX3YBebnqMLPTUJAPcyJnG2jnqxh0mIhTyw02EUqR41bO8/\n/2C4iPga5F6TGumgWdw5pdCfDjpcwH+BzAdNWSrAlLxHz0NKeKDrkwnV6gwG\njdOvUAru2CQvY9eWtY2YftVSoYdiFbPBVY7jkpjcbpbMEdLNyTw/zkdaHiNS\nH56rYaZt/6ev6s5/ZmbZJnqcYhA8jUqU/yhDPzTo+sMFOACjwW/Qm2ER0Qn1\nLsfnqNNxb/cOcr08p9729foqDZJAkA/d46dKOnQ9zI9kkW3Zth5XaypyUhkF\n5YGMVmmHddsZ1UdxzMMZRdfZW0rcnliDiDvkHhtek4flrW5C/chej8DIoVVx\nFmIIF4f17EBg/LSIJj4SMtQT6zfHHATgCsSyqqwiHBTnR1Ey55RiTxiOnW7Q\nTEMw6zcjbFqtzQgCsgSP6PcoW0Z6Pt33/5zUkxxKyXTyvlDVc1aJh1gsfet9\n2GhQyMkE2SioiKAxJjYoyFTNYBSnSPLY3AtEa8ljC2h77P8BK5K81siG6DCx\nbchH9+e0PfanLplXtvUR7FustKBocF5dGIcaVhtSj/mo0NiZcWra6m5hF2cs\ntxgF\r\n=m8I6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtJd5/acRVS5D2bnk0lFgk6h9N3fPT+uSXRXwtZGq8AQIhAJvS7iyeHQTBxP4cZ1dupP+bMl9u8MMObyenwXcraSEE"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.1_1554379379306_0.4808628157970871"},"_hasShrinkwrap":true},"1.8.2":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.8.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"52bc73e26de2bfa321162dc1b6d5e5127209e736","readme":"sfpowerkit\r\n==========\r\n\r\nSalesforce DevOps Helper Extensions\r\n\r\n\r\n## `sfpowerkit org:connectedapp:create`\r\n\r\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\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:connectedapp:create -n <string> -c <filepath> -e <email> [-u <string>] [--apiversion \r\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -c, --pathtocertificate=pathtocertificate       (required) Filepath to the private certificate for the connected app\r\n                                                  to be created\r\n\r\n  -e, --email=email                               (required) Email of the connected app to be created\r\n\r\n  -n, --name=name                                 (required) Name of the connected app to be created\r\n\r\n  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org\r\n\r\n  --apiversion=apiversion                         override the api version used for api requests made by this command\r\n\r\n  --json                                          format output as json\r\n\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx  sfpowerkit:org:connectedapp:create -u myOrg@example.com -n AzurePipelines -c id_rsa -e \r\n  azlam.salamm@invalid.com\r\n     Created Connected App AzurePipelines in Target Org\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\connectedapp\\create.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\connectedapp\\create.ts)_\r\n\r\n\r\n\r\n## `sfpowerkit org:connectedapp:retrieve`\r\n\r\nUseful if you want to retreive a connected app key especially for the CI/CD system after a sandbox refresh. Pass the username and password of the target environment from which the sandbox was cloned. \r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:connectedapp:retrieve -n <string> -u <string> -p <string> [-s\r\n  <string>] [-r <url>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -n, --name=name                                 (required) Name of the connected app to be\r\n                                                  retreived\r\n\r\n  -p, --password=password                         (required) Password for the org\r\n\r\n  -r, --url=url                                   Security Token for the org\r\n\r\n  -s, --securitytoken=securitytoken               Security Token for the org\r\n\r\n  -u, --username=username                         (required) Username for the org\r\n\r\n  --json                                          format output as json\r\n\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this\r\n                                                  command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx  sfpowerkit:org:connectedapp:retrieve -u azlam@sfdc.com -p Xasdax2w2 -n\r\n  AzurePipelines\r\n     Retrived AzurePipelines Consumer Key : XSD21Sd23123w21321\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\connectedapp\\retrieve.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\connectedapp\\retrieve.ts)_\r\n\r\n\r\n\r\n## `sfpowerkit:org:healthcheck`\r\n\r\nGets the  health details of an org against the Salesforce baseline\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:healthcheck [-u <string>] [--apiversion <string>] [--json] [--loglevel \r\n  trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org\r\n  --apiversion=apiversion                         override the api version used for api requests made by this command\r\n  --json                                          format output as json\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx sfpowerkit:org:healthcheck  -u myOrg@example.com\r\n     Successfully Retrived the healthstatus of the org\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\healthcheck.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\healthcheck.ts)_\r\n\r\n# `sfpowerkit:org:orgcoverage`\r\n\r\nGets the apex tests coverage of an org\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \r\n  trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -u, --targetusername=targetusername             username or alias for the target org; \r\n  --apiversion=apiversion                         override the api version used for api requests made by this command\r\n  --json                                          format output as json\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\r\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\r\n     coverage:85\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\orgcoverage.ts)_\r\n\r\n\r\n## `sfpowerkit:org:sandbox:create`\r\n\r\nCreates a sandbox using the tooling api, ensure the user has the required permissions before using this command\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:sandbox:create -n <string> -d <string> -l <string> [-a <string>] [-f <string>] [-u \r\n  <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -a, --apexclass=apexclass                               A reference to the ID of an Apex class that runs after each\r\n                                                          copy of the sandbox\r\n\r\n  -d, --description=description                           (required) Description of the sandbox\r\n\r\n  -f, --clonefrom=clonefrom                               A reference to the ID of a SandboxInfo that serves as the\r\n                                                          source org for a cloned sandbox.\r\n\r\n  -l, --licensetype=DEVELOPER|DEVELOPER_PRO|PARTIAL|FULL  (required) Type of the sandbox. Valid values are\r\n                                                          DEVELOPER,DEVELOPER_PRO,PARTIAL,FULL\r\n\r\n  -n, --name=name                                         (required) Name of the sandbox\r\n\r\n  -u, --targetusername=targetusername                     Username for the Production Environment\r\n\r\n  --apiversion=apiversion                                 override the api version used for api requests made by this\r\n                                                          command\r\n\r\n  --json                                                  format output as json\r\n\r\n  --loglevel=(trace|debug|info|warn|error|fatal)          [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx sfpowerkit:org:sandbox:create -d Testsandbox -l DEVELOPER -n test2 -u myOrg@example.com\r\n     Successfully Enqueued Creation of Sandbox\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\sandbox\\create.ts)_\r\n\r\n## ` sfpowerkit:org:sandbox:info`\r\n\r\nGets the status of a sandbox\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel \r\n  trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -n, --name=name                                 (required) Name of the sandbox\r\n  -s, --showonlylatest                            Shows only the latest info of the sandbox record\r\n  -u, --targetusername=targetusername             Username for the Production Environment\r\n  --apiversion=apiversion                         override the api version used for api requests made by this command\r\n  --json                                          format output as json\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx sfpowerkit:org:sandbox:info -n test2  -u myOrg@example.com\r\n     Successfully Enqueued Refresh of Sandbox\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\info.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\sandbox\\info.ts)_\r\n\r\n## `sfpowerkit:org:sandbox:refresh`\r\n\r\nRefresh a sandbox using the tooling api, ensure the user has the required permissions before using this command\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:org:sandbox:refresh -n <string> [-f <string>] [-u <string>] [--apiversion <string>] [--json] \r\n  [--loglevel trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -f, --clonefrom=clonefrom                       A reference to the ID of a SandboxInfo that serves as the source org\r\n                                                  for a cloned sandbox.\r\n\r\n  -n, --name=name                                 (required) Name of the sandbox\r\n\r\n  -u, --targetusername=targetusername             Username for the Production Environment\r\n\r\n  --apiversion=apiversion                         override the api version used for api requests made by this command\r\n\r\n  --json                                          format output as json\r\n\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx sfpowerkit:org:sandbox:refresh -n test2  -f sitSandbox -u myOrg@example.com\r\n     Successfully Enqueued Refresh of Sandbox\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts)_\r\n\r\n## `sfpowerkit:package:dependencies:install`\r\n\r\nInstall dependencies of a package\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \r\n  <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -b, --branch=branch                              the package version’s branch\r\n\r\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\r\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\r\n                                                   installation key)\r\n\r\n  -p, --individualpackage=individualpackage        Installs a specific package especially for upgrade scenario\r\n\r\n  -r, --noprompt                                   allow Remote Site Settings and Content Security Policy websites to\r\n                                                   send or receive data without confirmation\r\n\r\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default target org\r\n\r\n  -v, --targetdevhubusername=targetdevhubusername  username or alias for the dev hub org; overrides default dev hub org\r\n\r\n  -w, --wait=wait                                  number of minutes to wait for installation status (also used for\r\n                                                   publishwait). Default is 10\r\n\r\n  --apiversion=apiversion                          override the api version used for api requests made by this command\r\n\r\n  --json                                           format output as json\r\n\r\n  --loglevel=(trace|debug|info|warn|error|fatal)   [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\package\\dependencies\\install.ts)_\r\n\r\n## `sfpowerkit:package:valid`\r\n\r\nValidates a package to check whether it only contains valid metadata as per metadata coverage\r\n\r\n```\r\nUSAGE\r\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\r\n\r\nOPTIONS\r\n  -n, --package=package                           the package to analyze\r\n  --json                                          format output as json\r\n  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation\r\n\r\nEXAMPLE\r\n  $ sfdx sfpowerkit:package:valid -n testPackage\r\n     Now analyzing inspections\r\n  Converting package testPackage\r\n  Source was successfully converted to Metadata API format and written to the location: \r\n  D:projects\testPackage\temp_sfpowerkitmdapi\r\n  Elements supported included in your package testPackage are\r\n  [\r\n     \"AuraDefinitionBundle\",\r\n     \"CustomApplication\",\r\n     \"ApexClass\",\r\n     \"ContentAsset\",\r\n     \"WorkflowRule\"\r\n  ]\r\n```\r\n\r\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/azlamsalam/sfpowerkit/blob/v1.5.0/src\\commands\\sfpowerkit\\package\\valid.ts)_\r\n","readmeFilename":"README.md","_id":"sfpowerkit@1.8.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-S9ZhUjg3JpDnfEoTqkGDOdWVBq+MDJzqGP/qAAcr/T7Kosh3w++SFSwBPbsaSpKJp8V6iRHNjL70s9zC2XS2iw==","shasum":"91e6a9d3f97c2ef4c6546ec68cebb4aaeb41842a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.2.tgz","fileCount":49,"unpackedSize":593580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpfZQCRA9TVsSAnZWagAAo68P/1d012dgv53TKceaIIjc\nmQ3B/h6DQMYyzyzVxx08B3GbP6fiYET8ISDuCL6u8ULotvvz++Dw30jFGXbu\neL4Za5Selye3TkAaanUVyqaI47IrkGuYwWLOkLYuPee40D8rPBgOam/Gnl41\nYERj+mlZ0Z6wsiWKSxwv9OaaAm0GB7Nsd+qUgZQgFDiT6t1LCj1DRqU4Cdqz\nr79uVc5eu07cUFu1EhAvBasCPCeMTpg1KiXT+9uHpcMBmz+Rc8eqcDDWCqNR\n7u/gcoSmfmQoq2JatNOAr1XraLSGRy/eM9ugdhfvBA/wFHeXhFV+RoMYUugX\nag4TpOV9H8v6tA3AJFpV7JBiObeQyZ0bU4MRws86B4KkYV3iO35u3hIZzHLz\n/gr7cLEz2LjGUPGwFYbacHm8szHjcyCwYvipw033qXmtRExT9DBEXY8FuAEV\nsAFvMVLSf1R03KxjFi1tQC5/FFh+tYLJK7DdzUfsOeo3HNxkatj0VDYqgCfZ\nEj2wW/ApyoDVOG1moNPqIlW6szPH9vYviZO7nq+vzyFbH49EuxkayeRKiuEm\nU7AO+lsytr6Wq2WUvQDO4CasuT3j/Nc38yAo95+uj1NgYs6Doag0yg5X72f6\nzUlnLb1eUqnk06ulRYM6rfySs7zlNxW31GwptvRaMXd1htIpd6pRtKn1qklT\ndXuj\r\n=MRum\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAo74Pj7zuv9M7uMBS6yGnwvqsDzSPqyrmOPo34HTKRYAiAMYJDa4xRjyWC5Sgh0jxV6vgFyXPoyG0q/8UnoYGZnbA=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.2_1554380367744_0.5300690269556445"},"_hasShrinkwrap":true},"1.8.3":{"name":"sfpowerkit","description":"Swiss Army toolset for Salesforce","version":"1.8.3","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"52bc73e26de2bfa321162dc1b6d5e5127209e736","_id":"sfpowerkit@1.8.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-7hMih/bs+77MtaATaifSWFbVo001hK3Me7+OG/Vp7n1RQbypoOqrRcv0HsjZ3Zyw9FNXhWuhW8qbQEvCxQhtrw==","shasum":"0b2c74e32172e1250d417d4ce9f95b76d9b3abbd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.3.tgz","fileCount":49,"unpackedSize":593580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpfauCRA9TVsSAnZWagAAgIsQAJ/L5xfKuSli9OJWoZEj\nHkN6nwzjYqobMmRvetK9y5kTGJ8ffeKNutkduJ0325wrWM2WjXlGw2m4/peL\nfl/cAODKj92riiaL7zVM/8TKuUAc1jSVmnv7nOSTQWYmsJsQseUF6EZ1T1gX\nOlgSw3COJiczr+2muuIeUgrWQlU6jXeIXLcI7i3h7YsDwVsREqE26UgSCwP7\nhFKGhL0jZuOHXFsmpzge22fgpWCYYE4vCyDITN0+uY+VCqjFvd9nggmImI9L\nMPZMGw9EM6r4wCHDffYp4COj/ZhigumPqApvMkGmcty/+mTYl61B4w2CTqZU\no5DNd6moMQiUEqANSKCAXlAoXqXkW4djBN8vTZIuERRIivODkmPnfo3QVTAv\noAARHuStxfjpwl/t3P+TYZMG7WCHcaxSf69/4lwQXlo6s4DotdYQxgGbGZ8T\nB7Cn4XXn/e8J/GbhDDJLjIIvj1OFjI4kfj/7V8gUcqWihp356psFjvwPJG0F\ntFENzxGZsjseACAzWKAKEuByqdt38OPvDDpzdlaLzhgGtpJZ5xVF8u4xXzoJ\npuVuKQWkGOlm6UvHAPgz7Ai5bDJKveqrGhEh3AQ5BB+7LTlTQ6l9N1ei7e8m\nk5Pef8fN/dpATZdnNTMVmBqhUd6YfCw4o1jkGog25JyW7gv3xRoB6qK+P1d+\n9xTy\r\n=MvIw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNlroFcwBu/3u0YlMuHxG0ajoumr+0Bj3sS60chpd6xQIgWlf34IQpOCebF9IXrdZE4WwjxxkeNjKxOOU2cMcpoNw="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.3_1554380461961_0.24732037805267804"},"_hasShrinkwrap":true},"1.8.4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.8.4","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"52bc73e26de2bfa321162dc1b6d5e5127209e736","_id":"sfpowerkit@1.8.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-vdMNW7Dcs0QV81tJUNa7Uc0lu5cuDasEZzG2s8NxI7QCsdfqyxFZLLmI1Nxg/xOVL+qf4KLdoVOl3mNHDJJitA==","shasum":"bfda5844f0adc637a60067124044caeed65ac00b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.4.tgz","fileCount":49,"unpackedSize":593787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpfgFCRA9TVsSAnZWagAAGGAQAIFyynwKXrY+W8KVecOT\nzPTCMmXpMH/8fXo7TqqqTAMBrkZxn/YI+kf9MQTQG2Ew60Gk+veFE7NSvCrl\n0c7BNt08Kn0Mf35tgih9RtehtFFSqSeJM9jkFgRdHLuZne0qMwSNrW/05FGh\n0YFcRTXcvMXcORvLoZiV8FQkQpQhLKg80/t4U9qGqjB5rmrfAnTTWoMZyfNL\n7PI7UMNQCOpgeNiIr8T+QE9hadqNU4HSkDWNhY/42LRslm4mKntCtUv5vIEf\nHgEptRyaC12pAp23NkExq5QmQIff+XDoZrzpBdtNQPPiWjDcJSFcYjtAs6r0\nOh7k3XazbMtE5RPoOekwy5FLlhnn07OVEfU3xyqnapDkVdkrz1wwmAkmdGSI\n8EfCnu0NLJF0mnSL3klesRy4Y4i3CcwRKgbBT5MdekWdR6QgPB/YZyIhKUki\n87POVL1V8th/nnW6qH9mUyCsY0/Gdv3lU3F83xWX0QQ5AJySt/Euu5+GqHWO\nh+kSeICiv+r5YbSVaIm0wNHlkMGQgKLJtJGAHVwpvN4+iJ5w/iW7NTZbUFS/\n4rgTSLYqsuc1rn/ZjS4DqCkLkPSbxkS6dib3usfsS9np33c9ZvwOKE1r9yVv\nPH39CRrbJ9C4x8WYYxae1P91K9JBhE30FIkjFwr8WolpTlYOqIqUkMiVNe9A\nCuOd\r\n=xM+W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPU55fYwrU7MgqtQ4vv2rBvw2lSN7FU2bSrusNYpn5qAiAOtQ/v6LADE7YgnMakhdievDpcrwARs+HoDr5TXjv6LQ=="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.4_1554380805037_0.9241517920344213"},"_hasShrinkwrap":true},"1.8.5":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.8.5","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"e5b99bddb7c4b2f772529200684cff80296d3c22","_id":"sfpowerkit@1.8.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-Fmxy/aE/8FkqC7l22HrCp9/C8gCkxe+iV0aeusTk2RKxZCvuIS+zlWUD24hVvb6hE+zG8MSrUs5ta/vsLc/2KQ==","shasum":"63b3184c636501b51e2649a977df039b39233a4f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.5.tgz","fileCount":53,"unpackedSize":602133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqIpeCRA9TVsSAnZWagAA2yIP/AySEdamzg5qkYq3plW2\nDFIClhn7eZMoGy1Z52MzGJRkckdhZi6ChlZongD6VaAKWkxDsTcCYInnX1rd\n/75bCGamy5Fllv0WOEJ4RpDETsFSoAqbyb6dxv+SQxV+Qr+xlwTK5ze31bok\n17lMaplwU3OaAXKg/xnmfnlIT4T8Qq68eZovRpBtIlPqOCMyyD5+lDcv9NRp\nL8zrGQ9CXxHpVGCWOvH3+DOy6BmYeQfjMAeAf/LNgS+Qav2e6mq11nrD7q0m\nTwi0TG12NVH/mcHKAdPm9ntQuqe2JwVMBcQuD5/1w4heBIPZZQUDKrhrCm4a\nv7V65JH9oIMmeJNmBpyrb218wjsb/GGoKR6jyc1qk00cylqIwXxIe0c74qz4\nzs+osmJUmWmlWdqO+Rl17R8NZK+N75hRTWGUYo5n0UoHD9hXtgNYXvuoLsgj\nq2e/2Lw1T6qQbYZmgoANVaJKBjeUwRXew5JfykbKemayYbkUYzfyVs2jeaYK\nAPmo+ieDkb8YldJIFatVbFk31kBHWO4IzWrD94oQ20g49Jy+LIcXs0Yzzsmj\nTA0SpFYeuqclszbJ8ZeYeguyL2WzQBoW7KWMfQv4Kxlzt1gGK5nwhSGoLIug\nMBdfC4zpqBSOaMzvFapMmEuB5jm/F5iLkWxnkcZign52qcgAjtUr9+rwTwMa\noFp7\r\n=mCYk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKj14RzFCp9y5z0HC/7nfl8O0hczXUcWFqnLm39ifyTgIhAINtAuNqiQl0W+uCurO2LhPCuaCH229w/c0/XIxu3zkn"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.5_1554549341871_0.7216579777040317"},"_hasShrinkwrap":true},"1.8.6":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.8.6","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"e5b99bddb7c4b2f772529200684cff80296d3c22","_id":"sfpowerkit@1.8.6","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-2zNofV81hYCcthbJFY+FCOGpdLn/aUXQ/3QgY2OTb10OEqy84XGnBozT3sXje8zglpeshKMde/azCr+drOJY7A==","shasum":"8b33452f50b72cfb01890f1a760973be5ba6a600","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.6.tgz","fileCount":53,"unpackedSize":602133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqJmYCRA9TVsSAnZWagAAu7AQAKC7XBfVk0AYoN9jr6xQ\nihrgmdtX469vULwuBjzVwmS8iInQ0mdcupszyBTVgkfqVX9e7O12lQlzUxbt\nHjvxtpVpNiQ+IM7jtKr1qto7FyNzeMxl5I9/hkkAIZn0KnsHF7GpM8xR+f1S\nauP3ecWlZ89STZfTjtkaXqNcO1YtGNDEEIniOHhUmSLwqJBvfryn/D7dKcpC\nsJ5nJZbfImF6yHtDlsSHolHWGz9OjgkpN0KcXECVKIYoixbhE2/YOCMbIzUZ\nYmgaEXPqiDt0r+JqVlwdNv0KluSoWkfzHHYxNzCYsYgLRLuQgMxKW0tOFODQ\n2j+1TyAwHMudZbS7nlyINdSBV3KtuaXHAAJOteXv3Tltvck78g3FAoV+F5zJ\n+RE18b5rSREgwORxuomXyLJkuPoijsE2msPgfWteUK2hex53iDi4Cj1d2V98\n2KM0TFeaq/PLs45k1UpL4LcMlvuLFdVMyBO/OOtjvVFrDF8OYd0F3BTWmP7K\n3QSXFH3xPuUiPvGixU99/FrHl7HGMvO5+4jeAJiEDgk0NqpzIvugHSFuhLdC\nSk/oC/sC1ldRkofc180WZyihJrZBOGEjw5JT65SrpVIiBd8/RR/SqT9JOlfg\nkvUci4b3SFL/VrzcVsTs+RFX6FwdyFXWfjQBLKnjqIhaWuutUoCj1YMZkiw2\nHOqZ\r\n=z4n6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvpGL77sCXDTV+2eX3t04fuv+Wy0/Fjfk9bUuXxVwCJAiEAlSnshemiIjW/HCzN725zhfeESdLFz3R/iw1By1bIZRc="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.6_1554553239492_0.23271477768913673"},"_hasShrinkwrap":true},"1.8.7":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.8.7","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"e5b99bddb7c4b2f772529200684cff80296d3c22","_id":"sfpowerkit@1.8.7","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-1TNfdGDfoUgWMEqjxxY+tP9Vp7cd+Zy1IgjLoYkjl2yADtjcRpdvQqUQQJ7zU/MkeUS3zikH4rNLesx+6CY/Qg==","shasum":"1d2df9f2934b80af2b71dd4a781caaf8ce68857d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.7.tgz","fileCount":53,"unpackedSize":602116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqKV4CRA9TVsSAnZWagAA96gQAJyW80IOppdO4OJMcps3\nW5+2IAszWzSlx9EdfAn6yTxRODSJAsK43QJZcJ6AVMWajd0pgVx6Knh1Sy91\n1a8DrkeqaHhtWyBhcoXrkVCNv/RjqCB4ZecN1h+zEh+x6STmOngrX9M+JOu5\nx7LWDClM9Y7SU3GjUekGxePizZZss2JC7CBLyoS85TQjSTxhhUtiy1iy+bWX\nVbNawjFG2BqBG9983xriSG5Ueh4hubuzcSQZ7aAcyBimEDTsPOTeR28Bw4RJ\nfKlxtGNq9Fi0Iwu30ZccM6/pa3yDOeHTQqT3HQ80WJoYm+aebpFh40Ih4dT2\nXPmhc7hfTxnmwzob5S5WCJ/Ck6JdxRdrb1qR/kPJGKhLCpNyL7CMDn2unX6w\n42ZW5La0BrBiN7w3WrG9Asev+EXn+vBa9SblgUOWNyKgNSuAwimCglPY0DAq\n+I2FdnBTsNAXrA27lXHvgxAn5ka/ZsZxJ2bJ22eysPvjoBIAlVKlG0Rp4ijc\nxSKufw/DhhZpVLsy04BdDoOvW8Y3rFmKS2pLpdFBkbQQwqk4UATCMN5FE+wI\nKDEw8dEa4Fl5M3BelNPtYbBtU3zfY2QU9BB8eHFDnL4n49IokAM9e0ienIDA\nrBIetw6I1nMXPjLjz3Caj79tGfYupjkYmr+B4XaXH/ehjEhffm6ZOXTmhlbx\nnfb0\r\n=Jy+o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZjJh+n3B+XEmre1ZTkGGroXvH+NZBn3mujh1xtF7aNAiEAzwsMmwSb1WxjCw7Wghq1qZKuwchPSykSAmKDTE9hxOE="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.7_1554556279504_0.581188901633688"},"_hasShrinkwrap":true},"1.8.8":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.8.8","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"34697784ae0ecc4bdd91edb4cbd9e7b99eac26da","_id":"sfpowerkit@1.8.8","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-Zg4c8zj7kg6b3EDVCB7/eDOaeovmlZtNyRD2a5Zhs1YG+dOQWOOlumMt1EItFTVGYmtijAAXrSwytdvM/37nXg==","shasum":"a2ecbdad87509dceb9f8d4b26f625eec79c60d1e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.8.8.tgz","fileCount":53,"unpackedSize":601708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuVf3CRA9TVsSAnZWagAApXkQAJ6GUDMtxa+kXzQodFvd\nT6I/qqGOMtI7uc0bvvzJndAqbuArFYqQl29SCr/atMk3BK6fhGTdx8dwj4sX\n+6dVjAnGJhk0ddXQQX5PMv1Sh4/cBErL9g5/j5T0Us38GNVzrpfR26y10gg2\n9TTakJhl3IYR6XOvOyW42e04TE/xZ8S3hKAhflV8MmcRMqWoh5SIdbFkj0x2\n7nkeB1y8Q/+YSk9SAgVKUrnN7S0bwyb4W+usUqgXVu3+dgpzFhgCEu9nhqoW\nFNvBcdB2NRRA6QCnwJD5q7fIby/4MLl443yT2Rj/bYSKAQFEIY5+aMi3+nFl\nFTtqdkPNHs62lcycAbC5Vv84V2J2fQ+NfbFtgj3LBTMlhyr6MwsGzZD93ahF\n0G4gdGtpBW8SPTwZKcr3dP8frJTF0HMXUS46xPPJUtihNV/N7z1grjZ1JYeD\nAXjfIjBvzlp71qj4NXU6Rn4glooxSQ9sh78gvSnfW/pB9gxPDK4YYadhJUq3\nYJletQtDkMkpgRPAK2ewFJE/F97JC/dQWCA7DQDcM/Xj/gV09DPbWrIksdNq\nZOFQP+kO2u0Ud/ObxTC+JZGGWBaY8KMd/vIAhNluluQhCU5W/WJOh7Z6j3+K\ne+/yz8a7SVTY2solVkWXHIF32xQfYSNzSvMspIKWL4xFDkwkrrMqYqxbe/vZ\nxETd\r\n=3XdW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXyMXQhVkCILnl966z4kCmOP/SD2Fe7u5fU0ZEdXwswgIhAKpW6nZiVgkvmUQ7qoyJDQKcPQrBWRU2sEh1Cu6aIus9"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.8.8_1555650550468_0.176252708924868"},"_hasShrinkwrap":true},"1.9.0":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.0","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"fc17afede49bccf48b0fe3650c5a01045577b152","_id":"sfpowerkit@1.9.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-GPcJk1GrK8a2N+onJzzT745RDW/AQSEiDDVlug+n3VcNLf1OhEsjhUofNn+qR0FuYry6gltAzElHSzC7nEECIA==","shasum":"8adf3e5c2e7b75c59167c24c340f73972496237e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.0.tgz","fileCount":53,"unpackedSize":604374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvIhWCRA9TVsSAnZWagAAQdQQAKCEqIyqYq1Rr70hDLO3\nA1p3mbFvY1QM6wOj8UX017dQXuQEBt8X01tzwf+UQu7dmZ6VVUJSbI2Z08Lh\nopXRAgWQDMlP7nloCiayBDxqY+t2KkEOsKYHTldDVa0j5DOwqf/qeNS0BlLZ\n+pSRS8F+QNzOyXs0nBch6/3CM/6Dk+STjGZ+ZijxrVYUXaprVfnf1Jl4IhTZ\n5xvIOHAJYpCAW8wc45Pxza0Gyl+iOHu39C9ClyJuAICFLRQub/ksXtjOp8n/\nSa11cvVCZR9Yn/x83IYCCBW1LOMKiHKA1B/Wwq6BPfU/7j/wICWYspaGuqyw\n9w9SzkePMq7zJmb7ldyTjRQ9aKqdAAVGepd4rIJAvEgInnDg9FKhvxTORI0b\npX9N7VXLW8wvT6MRarNrR8v9BYrrM1B+KCjyEzkiM14MBUssVYNdeJtdTAwp\n5VJUp7b5MmSoKzL63M6RX0cFygXaySDe0VI+qOnHK8MBxhVK2nvgVO0fHris\nBmEBSC67Ytz/Tc/dVC6LvBhauCyDYRxcp/UZi0GVqjeH+bHufQVoa/sYFt/J\nj26tpM7sbxjOECCcR5p3nmJxgpYTbUK8aQtshi8aBEchG7BnnNimP+JatkdA\nGM3vBL6VE34uX24YmW1OnZYFev9SPJJJOeWob/7o58fThrPO133LWGaj/9TA\nRkZm\r\n=oR0B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxUlwhlp548lWsj6ByBVdUIb7HNbcj6UkwcmXHkH+TjwIgZH1K5RuGURaE/DQdYkPXJ7OR/2tiPJYqwyVmDsCefWM="}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.0_1555859541381_0.7589192602610255"},"_hasShrinkwrap":true},"1.9.1":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.1","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"82bfc49b25633a4f1c19ee2444dd8640fec06a05","_id":"sfpowerkit@1.9.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"dist":{"integrity":"sha512-omYTvaCcR1UtUENSwZDLVoz5bR0UJzT8Amnm0A1eCyz53mScufnTQiAFUpIJeEhhsEZFoQceGXil4K9RSsZ7zg==","shasum":"c668c9b997df8737a4565b7eb85b05902e60818c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.1.tgz","fileCount":53,"unpackedSize":604421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvbBJCRA9TVsSAnZWagAA6V0P/ArU1gMnnEI/DgM3YjR0\nifNOg7B3ea5h/dYDakjAgISHZ0CJaxyJtN/cS7RsJIlycuY9Rw9WTooS6hJ9\nAq4v4emsE2difxqzE8rV+bfs5BnomH5X5bVbno7dCdLDA3Z7QXGg2nY6IhRp\nHlH7umqlh0kCCHKS543NuXDJAeWmKN7z+8xyp5lwwCwE4uQBqSHmY5FGSQeh\ng1ECZmJG+NO3PZ88nqoDMaLba+1RB2nswW3+9Syyxi/0ooj26UXwkqp9xrtm\nb4pP39DbKu24K2hf7hdD9J3XilrkIep/haeFsLGJyypogiAbJPsFh2OfmU6l\ntRcC3GQJaBFZ/+p+jbEJ59xK8C8lzOoqZrYF11QBYXwH7ifi58HoOT/Rpht2\nq5I1zLOqRH1k+jR/ade/mPOoTgofI/Ogrc2yLUJZZPTkYFkn78eXYbnsWk7Z\nJTo3Wt8PVV19HVJCqd6JcdSErUPPCKfVqNQpR8/YcSYTrBG6LgyHg7f9rZt3\ngy6bKBpddKsmE+Keos+fvOL8mOIhKfxtI4rdl3x0qbvRLA+83x7vuhIJCjwn\n9cdLxKei6MuhkGUchL5U0DRSjeGLK47dEgJXBDsgv7nvCaksdUCykgzkAVII\n7CWAQ1pjok2oZd8GGylgEvsYWh1eHiRmMoAAPIQtcE+wV1zKGc3dgdBWqfAe\nnebq\r\n=sXpo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh2u+jK0LyZK60o0uhiQ042RZ/MMpzAzDFURaxQQvC/AIhAJSdKqTwR+d32JXMeFuFt3+YxbncbHfFUHuk/ysKccYG"}]},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.1_1555935304143_0.5475847063636414"},"_hasShrinkwrap":true},"1.9.2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.2","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"3464751f61f5ffc3e5832c4d3826967308144ff1","_id":"sfpowerkit@1.9.2","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Ff5VEDGVMWgquVMq530fOul8AyGqpY5k61prWtWvFeHqglzZIotrHLpbTpn/4J7IGJiIlLZyXNLrQMqxde6JLQ==","shasum":"dfeaf9918d515198e6297446a02d9ab53936f21e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.2.tgz","fileCount":53,"unpackedSize":591433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyD6CCRA9TVsSAnZWagAAZqgP/3tItL8KP95wHcEVTgtX\nM3g0tAFvtwc4qUEBNQ7QgfzgZsrwscotPDfJfhEcoo4Rld/jEWQEF6YbTxBk\nL4VbEUFNjpUbOf7s+m+c637nC44A2kf0Q8Ro3at3RJC7SQtCY/tTCEW9pgas\n8nt9aqXyvaV7J9kFRpqhMi8SM6g6VDcM1OelqsPBX0Pax4kvaDXY+cy0ntyR\nOWT4Jp09kQFTmldQ3kGPL0iGBflmPSoYD8mrlnmQdxDTbmRajydqVlQvRV3x\nrUt3xbMbtnK1me3aPQB0wFINzAK+E4SsDITioP1NDMn00b6Jf+e1li/vhYLO\nbBGZqThE3LrYsQ6sqFmogoD2JVwMrIotp2DaMGkN1ImDrVsqDFmqzWVqDTwy\ncf2PfiEvVGv0pqEcoVLmsq7Wjtu+ew3Y83OuRaNA5HkhS2C5ku12c8uEuTIC\nbYDw0A1VVUcQcCmvIh7edfNhihV5S1J0s4CieWHMk3SpEpPqH9GKwVBCduHV\nJEDPGe1q98moPDsw6VbJAZpCOQhPRNh6B8uRRbw/YSL5G89c5zyXVpWpyKEB\nNzfKqb+rxyYm0UYuypXDt4rQjrxLZyxM2yp/pvK+BeSbtVWog1UZkLuhduyp\np3g0nzcsNRPAErJoZ3VhbzZD7MXC9OXB/fOwJTYND7/1PNKYvBEbj1A6qS25\newLG\r\n=6cQo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvCSgyos7f+fAoYtr4Nlj+PCsDJgcJnG6KERdK3g+qSwIgfqAtDbNT/iIapp1AoEq27TmFrvInGgLlRr0yUCZVOyg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.2_1556627073232_0.3971430035464778"},"_hasShrinkwrap":true},"1.9.3":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.3","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"5b0825199bf49d81c05973ce47f0fab9f82c3d97","_id":"sfpowerkit@1.9.3","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-B6pMQ3209C8FpMU7veIonPzN4VKJ46uxP3plfL/huzxFbFGR2jSPxHfDRCwkOyMArK4IYkeyEdP+j9/K6EFjGA==","shasum":"a5ebf0a775eb0ed00ffcc54e653e7473143a3801","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.3.tgz","fileCount":54,"unpackedSize":592506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczaE/CRA9TVsSAnZWagAAcF0P/jZu0pvjYnckWIdhPLAf\n2ryZOi1y3nNmedejm9hbx1ZqSuVZidr7ChemGBURt3M/v9VvUPF0lYIUE5PS\n5utwltlEMZBDh5rNdChUYq4HflbXUx37XspYoQvplKrfBpuTzc6+QfXwylxu\nUhOj0svYoe5gC419Yv9xpcQHA1EwLbSpPoT/908oWQU399HGW3pojhRhe6Vi\n20Eh6yL2xhiWJcF5hUpZxCxBiyINVqr8s+RnrZFHtSmvNO0oKMDkUFsmJqma\nCI8JvnXYfqvhnStEbWnr2PwNnd69dBECQPoRISh0KrHUNTZXV6nbeo9DMHIP\nTskVJ4tbrj5vMpNiP8VAZlnZfR4Y/koZOiVvEFDXMCl4wz2okvzWh/rmmJ/q\nwP1ryUxYWlVa6k/06NcqFyf1xD6Jt8FBPeNa7txkTBbN5aTvyQ/t3ol89N7Z\nZfXWBSrg81Z1y++Mv0Gu8GMewz2psPjsmfu31RgVtdlYx44U8Wpp49vuSF6f\nVwDX5NSmzV+Yxt6bPZXRR0PQkUmSlCtE1GQ7n60kDhquJN6kPd3ZGhOY14xy\nvHnyLttmgZ0YMwW1z+FsAqcyDgIzjTKTXmd4XdSj4RMGnr5rpjHyeDl1+vjc\nCwlstWiIYVwXECyMSU0Pb65pmKr1De25y5KzlsoECFvfFVmnNLAQTEDwu+gL\n6Vwh\r\n=RxLx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmvrY7PibuCceLZQntFJLfnv2e/mhsS+NGUIUv/KpYlAIgJhrkcT0jUcFolSmKTV2WHZB7evIeFE3yQAc10S3q+HE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.3_1556980030358_0.27406968380468943"},"_hasShrinkwrap":true},"1.9.4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.4","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"b43ba56e5dfc9ee98a7616443cfd06cdac9c7e83","_id":"sfpowerkit@1.9.4","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-j5/0yeYKryK3CEU6546l/EltKgUUUQYbLXOgvH48Jo2Km+dvSTPaiPXkZ19aUlsLVrBSjHW/+txYwOQTq4Bxkg==","shasum":"9eb0db3b9db8d8d4f0b520a3a7183bfc2bad5499","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.4.tgz","fileCount":54,"unpackedSize":592508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczaUYCRA9TVsSAnZWagAA7PcP/jtZPtNX8C4VC8YO10Fl\nX0CYf8j08PoeVLAPcHyxaXu4ZanUfOVBjJxp+S2YPYrqgnYmWBRB/5sVDuBK\n4sI2wOqQ11m8ky8ktn6gm7SEPLEAZc+/wq0dkuQXVetnGaypbkaYgxeCJFbD\n3d6F0kwCaNXUVuEqkkFnmC3+E8gDj05MaJyAaH3vxU+Q85vm+g2tHFyGW+4T\nk/lO7Tn9J9RH5a+9WQu5GAL/sXfJVCXijvUy2/2nETGswHSVR2TKnzG8BmYb\nAp1F5IXg4uLbq614/Xh3nDkg17l5xOduBEhMCVTeAB46Swswo71+ldp+xjfA\n5IXxeLgLrvLiSoXyH6OHQQYyam77mZ8o6hV/7N0vzqJg/HM9jpL1E9udc1S4\nL+lZTQ8yS5ZMOk+gvGoOm0hXCrkQl1ei2Ic4nya4EqBIKPnMvnNE80c02FoP\nz4SHad66EeMQsFQ3wwAGWWKfggemKA0p82opxUdfvEFXgPzGQs/eFz/evaTx\nLPnpoJFPb2Ro/TUiiYTqtBKXHl4wD26grw76t94m9BssywyjhoGf3KBzxbCp\nKqlIRi5L/nqKxThgulCkN7XLd/cDcBG1RIg0aPCOH+pO6zNzouw19UGBW4h4\nCk3QI3bthD2Mjv2bWB9uCwaNGbM57/c4gVfonCmPtfrY/v3aWnEsAsg8DdwA\n8BJ0\r\n=5PM7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGw5D0ZoYiZWmkHwDcISi1Y84g475tr6wUzHHChIM5/GAiBx+A25qQa9WTrXJ/F/33dTg0KGPtlDla//JCwQNlGrQA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.4_1556981015432_0.23242049535765452"},"_hasShrinkwrap":true},"1.9.5":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.5","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"7ffcb7f3212754714af446f89678c50205746ea1","_id":"sfpowerkit@1.9.5","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-jR0UUekQpitPu43Ax2kdK+iKn+pQZRg1GHKZI6CxMQBKnYMfBDgCDIrmZV26EoLM5E+6WZmW14SH70xteI49zw==","shasum":"254e57205f3a0e118de4bae1d1ea1fc26f0eaaf6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.5.tgz","fileCount":54,"unpackedSize":592508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcza+BCRA9TVsSAnZWagAAR8wP/R/Bw/tdGR3pBPpNYPb0\n6+cqGzAub+mST8feOn0eWEdVR8RUTNQU42c/O9ZEy8HRDa4Tk0M1VBVMPNlh\nLY5g2RvdtvT7qLAYoqW6RsOkJZAahIjg3xbA/anCHdqRHhFF3atKjBhxjWx2\n/mv/74f4iiWN4xO4ATNr+u3Sg+fN9hstX+7W4xAALXyigHH8QVjMVi7I61v2\nAl0VbZAoHIEYpb55xr9AlqYYZ/zMz1mF9wRM0AZMar+kBj4iW2wvFDMVYRNH\nrYVmorXXyuSFh1pJrsyFYMpZJllxsMD2uiKcdoJcK/fvwTENLGqBTZPZ9/t9\nIW1KO4iAhhSCgFFj2jsyChCaguCLtuWm8rcKFzh2tM3MA9put0FoEU7Ajd9E\nKHxPTCx5lOAoQSoZWUfRzeOcnc/E/yoT64NKnrkR+/eTsnxLP1PBBz/Hjlvm\naB5jW85vHyVgxvKnGHxkmyatQWLTKe4r6/bo/BskNyLnX9VmZxzWv3qWglmH\nNWUHoBukO2t8VFW5eqksbTknakJSy4mkVUsVx6TdLfKDmVI0IR3Cr7tX162Z\nn8thQSl+F1+9AjbbrvQuy0VlOOJ/Lic2pp6aYtF3i9xb51Uxf3gjeuwY8e9B\ne1TZt6/kZFez2cG9XYrr3eOXivjKHaOKLXKp/L4nKS3Dfd+M+JNZeNAbl5SF\nc1F1\r\n=HKzU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbYxlatmMESUVcxiNBOVQ9IQuBxAeh5WrCC8Tt4dV7bAiEAwAezOmhIWcKkqZR2mlNkbKo68uBXPOuEnd/fUTOLHZg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.5_1556983681181_0.9112230589342867"},"_hasShrinkwrap":true},"1.9.6":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.6","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"1c773a5096ea92b16514f92577162c380ca0d07c","_id":"sfpowerkit@1.9.6","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GZXQ4a0A9O+mEdWil4CX9Hl1SwTHkdQGQPdrsnlB7NfpINWYNnkP+ROe4l+uym+kKWVfPf/bio2eC0qqbwn1dQ==","shasum":"4581ec9fd4d3ca036a2b5daf8e2411502b3c25da","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.6.tgz","fileCount":54,"unpackedSize":592508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcza/YCRA9TVsSAnZWagAA140QAIj3BCm0oJ9uYOC8jTfM\nMYeRj7t7Rbp7Y9v3SFj257HidAGakPw+gVszdRQTgkeRihuDm03YEl/u+kcy\nwXbyyds2jElH0IIHI0f7jGFZVVFehDX7lAwkJGxevXEy0u4zhKZtOOCsn+0x\ns2JlfglxMCQXENFzu/+c5OdpE9ZyyZ3hfc3ImZmEfIWUtrwFo2L2Z87320XH\nYRLwF6E0h7IlC+BdGwRtpPf0r8DxrCvnk1fFNcuQkAWEz/W4b2YOIHuv6ej3\nMID0PI87NQXQp3V19uqj5TO53rp/IeRRe5c3j2+3/z+SmvIUFixspOwSVjV1\naWtbYUxuE+2+nt23rFUN9SngpqVRKuoQZihFm+QiM+n5WvCJtFlF+yDfDorq\n9cFlk3FU7qmtLoi8E0JTL7ehD3LQVhbEWWQeV8k2fXZFS7Rt4RR2B9HptvTD\nlQuq+WJuo0zK06KWugW3ThPGxm1PpsOZZf3qTUErOY+wA2qJDL1ir7OQiKNx\nrHW9Umgy6p5DXidE3u6/SIKdohFQ9ij07TUe+gxfNiAQ7/5icVTxf9vRew3t\n16VYVcWqf6gfHcTMJSkmfKntM5KkIn6n6ircNCtyPjdaQ+1FXVjcpzhfZzSE\n8zFHgYcCGqnKHUxxMiZbts2YXES6KLxt409RgBr3yCwhRtjZccm3Uflinz2k\nlaoo\r\n=7uJI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCCwc6QN+Y3yxUic9XZWM5OgN6WG7oVseNh7pHMNYJBAiBQJDW04wFS3jp/N+H8m4SepIlDo4DvkOQ5zQlffxp98Q=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.6_1556983767760_0.4756109966955602"},"_hasShrinkwrap":true},"1.9.7":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.7","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"a552dd3e0416084391037d249dd7040b80f62ad9","_id":"sfpowerkit@1.9.7","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ixPS0wfn0Uo8i91w3lc0A4/T99uOxUhsS8zS8Amu8a4KkyegDAFAqyWjYUxx84Av56fUTCErFG0l1DpC1hsHgg==","shasum":"1f022c7b7303250896b98322f28260ba7681c3e5","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.7.tgz","fileCount":54,"unpackedSize":592508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczbApCRA9TVsSAnZWagAAwW4P/jcuI5yEw1NZPj5rE8xE\nM13Rzf9o0G3Jl5NsWp+GuqoRbsRPWif1UQfJ0RC6Brpf4KcsSlGcMwKTNHwx\nCnYR4wD/rbfItiYNDcq7cXSCr8acx4PDPc3e1sLYDkaE56tHdi5xOBHaXigr\nJkXAFsTcZAvbN6jPCxWwKxO2nzW+Et/idTQCF1tl5APxYtZT4YD+xXfrauU1\ncElKdoerqpVgp90JsP0GQ8ky7VyPeOS1BRhHv45MZIgbmxJH37t6elWckCVY\nIuV3MR58znH/rG9u2wlArlvfBbB3WnIuFDWyjb8vpEFkqLw7O2VokpTvS203\nOOTGWTmzx0WD2QVlij4Ojl8uDh9PCewmdFbIjd/vnyOi5nAT49/JwBA8T+zi\n9g6K4HlA9YJ0dMBgYvOKytowvAKTIkPvff0mPTiBqXtuDTSWnqk1QzII8zyK\ncTqp+2woEkx8wQEZoa6/q0Dqnt/+sqIOzI7uc+0Vgb78TVEeqg+72AW3TklK\njVRUUv2OlMoeyVgd+wGXqqhI74C6QLkUjq7CwYA2bruGJ4UtFtIFzVXcrXyb\np3LReZrwbztuLFgfxZyppAFPcD5HgiqeWuzZf6hZN86oxZNBbwF4xBfoPTKg\nCHVAD+nI6sJn2QT698r3iuHuP9mcbTI13i/Wcx69A4AypJWb+dzMV1RFqqXd\nh+b5\r\n=02OL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClMQpXODOSLXoBGjU2ceD2pJbxWIxnpANrOLEeqReAEAIgdrk1f/uiFbMbVvNSb6GPVRB5fQzHT2OKEmVmVu1cYp8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.7_1556983848891_0.15474384180709433"},"_hasShrinkwrap":true},"1.9.8":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.8","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"ff9a8c1068dc375ab8d14812cc03696869ae24f7","_id":"sfpowerkit@1.9.8","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-hOtI7XdSiwgR2wZskyWJ3zESu3KZNCBRcqNHfPqfnbsCcdZy89G/HqwUOb+PGNE8Kq81uNVHAzM5XtFx0vB4VQ==","shasum":"a2a0cae9b19247f8c60f3f16aeb81e974f478044","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.8.tgz","fileCount":54,"unpackedSize":592508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczbEICRA9TVsSAnZWagAAg34QAJyze22Eb/LVdohDOXRh\nYsgcUjxjneDt1+DyJ/TDwvH3GBnQFWt/gLoN2wmMRGzuG6R1I44E90yke6az\niq2BAdIqiPxm++1UCw8cRafeBGU+dP+CtX3+U7AcsO7Gh87/8Kmrlt15ZBz4\nXQ3iehGzw2rqtyySnapMysL0yC9NoxW4wD3YYyByGxqupQq5MkgCjdNP9AWF\nWHpcnLB4m+fA2hXb6fV9iiTFuS/6E38IAqYDsB0Esj4fYaKpslCRQQO2lZ14\n7JvRNMkI4ECPA2V6LhSDvr7twFPB1fqNMakfUlaaRN2z/HVzWXUtXQt6V4Ta\n5MPKx0twWYQo7Ve5vYNpNlhCUc1jHRY9iirJOz1ob//AdPagz/cQOdLC01fm\nAD+38PedacRyMBf7W2A4PACntP56zShm9hIen8Gfx+fuYMu+KSeZ5id2dcol\nSiJygnVLnd2xBKrrLnCzllUNNx/u7AzphFe9m7DInQnIVXAiF28Ar6MphMrq\no3CC4qevcXzyXsUUIIFi11FupjXKotm4jlyCtf02BiRdGxCsQ4HIeEF8B03W\n6ubErSv4cke5tdGqLjUG91k4k8wzArChgSb0XMf0cIBDGTh1BwkbP9ze1StH\nyWW3jc0OZlQQOSjipP+XjoG1xKvUb6bgxrA9oXTecgw4NunLFNLdvAzboh9x\nhflN\r\n=Z5CL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICi6smBb1A2c7U4DDFaxVlXK6n/kLs9Rmd98980ItRkiAiBGf7zRd9uApQ6Qp0a20MQjhaG3xuDF+VSxMzKVa+iVxw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.8_1556984071287_0.29680190985013444"},"_hasShrinkwrap":true},"1.9.10":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.10","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"31565459072ef8f339d29cd63e8c5783012d6bd8","_id":"sfpowerkit@1.9.10","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-CyVQIgRjSGChbahwDgQYzSjQBKw24mSOSbvpAMzGvCUbRdouWOITvjuggzAHDwTbGivffMU1+25oxF1VhVB8Mw==","shasum":"7620ca486f20438880b99004e35e733a4f06eb63","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.10.tgz","fileCount":62,"unpackedSize":629751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7LDJCRA9TVsSAnZWagAATW8P/0FttXKtCVe9yXYik0hH\nwY8+VrDwdjq6PzwvdJbpWHwid4c9TZiYBcU5Tf8pSYBvb2ASdLT+J+Fa1sZo\nCNLjzAJ5NELAyfrCOlyJAlhuIFCQCZ9oUsU6Khg0Hsw1NEV8Ew87NBdR7GsK\nh3VhfEQquIDNzuRJLmCvEC9iy9d9vBYNJtNO13bUhq8zZQi6361dQlylbb1k\n+70xJUwR8zKw69LbSYNIOGel5oeQaD4PhDnSW+i3485qOJm/pgO+pskmOiyN\nJfMVDFpZQ4Afam3iwJx3JQss4BtfkfkmV2Q86WQQ+NG0CzH2aj9zH9/tE285\nnYxjmxKV2QqN4oGcAUCBr9h52/oTB/wTUuM768qzIeY8oF8ThMfI/mjyqLSl\nQFcVJB5sUzmfXFtN00kavduRY0jpxiejJeDErPp0QxITcLMOQ9oVphigBkJH\nrhfoD2YTAVuzCiB1OyyHNENtbRBozHzo26hLc/xKcZaycota316jasLFclrM\nUrdWOA9HKD3/GTvPjY8rh17jQOjSEaL3gRUXEPPEngLrQ91a8OrNnfU/mDou\nDUMCbJS8fUPvB0gI4GAWS9aHG6Jd26roYohYSq8aFfKlu21L4qPVDuTSsi8O\nrtUAtYNECXJZt56kenubO5r8WdcJlMhVDr39K5bxTQVgcEqD/UE558t92vbW\n7DIe\r\n=z5Cq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKxxBjibmGpvtn2iXabBKGMUlfAiEj+HZrlsCckt5v0AiEA9Ink2b6Wrvf3PpuKLKU6KRDpBwNeMQsVxaUtA31C5N4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.10_1559015624548_0.6077087283051212"},"_hasShrinkwrap":true},"1.9.11":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.11","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"cb53fa58aecfa793142b4b77f42eb09b738b1686","_id":"sfpowerkit@1.9.11","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-/hpSAFX0mYDUu5S1U4IqgtzvRYXwmT5v+0iBKW248kEPUrcty2vbKQGIIcKmo3ndz6jPBf38Y+JhVK7ByZshSw==","shasum":"79da57815b20d3bc82a8fac2860809f593510904","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.11.tgz","fileCount":70,"unpackedSize":662743,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7StxCRA9TVsSAnZWagAAIvoP+gO5ODgOrM50Fje6imFn\nC4t1bTxb2Pr585sNghqX1ZRUcuo71fZQvljtwf+DtKyWZvQAmu+g008psIJX\nSXK69CkJWzk9BcEQFHkIHtgKEBLv4Ns4yeRHlUlrjSXJJsHgrgeJNY6J0reS\nA8nBrV0/br2pUVcqG5h+wuk2Q/uQz6nsw7axloVO7VX4E27OmDT3iQeqODA7\nS6mtP2Bzt3zfLy7L2WSq6JDy6HOjm9G6xXy5DBdJeJ1EFHvzEbO1VvxJ7JcU\ncAu1sr92G0K070VqqziMjr50CzNbK05NNeMKtr6WNcfZ+uI5GkfpcKgydndG\nvFhmlRzTqdiSc4DTIKgtpzqcrD4XNGHG+iFpzBKDJp0B/F/uusa0vfCj44Ft\n6UjFDNUmp9oMEt8cTh7+za6AOiFkZDmyWXVnTAMRbAomYIRryCJodrWyXpVH\nOWfhETK4BBQjAOxrVghmnAUuvCMt9vsOGBSo2CVkdBERaVlH7PP6D2qdmgEg\nYjXQjoQUsi3sZo8tGj3/lqLJHL5dtGpEk5cg/H2PzoFZluxnFmBGhv3qHRL/\nnWwakyV9m0QSlZ2FAuogvl1hTAQJFc5Xs+yQ/cpYXeUjLVWEoMvyyWqy+Rcw\nbtGCVqdyU2IdJOZF9ZsQPxcSJBCpa0+yERKicsr8PYGZmN5Dqeak6UXzGlMT\nz0fh\r\n=ME7h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSw+i38/lPmVTbh7bCl+INtrpvO5g2ZxaHV1f4HGxjcgIhAJpcHgg+hbozEZreagCfPjaVQAvpuVviwzafwGAOh/SK"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.11_1559047024625_0.8473293102121382"},"_hasShrinkwrap":true},"1.9.12":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.12","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"cee1bef6a815041b939004517160066cdd1f7d5b","_id":"sfpowerkit@1.9.12","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-hRgMyPRzfWWehDOem3eYxplRIKYJLQO9czKeOjJ4wopDxeAjDISAP/EG4VUgd0WJowVEmo4xoEgKIlzMivl56g==","shasum":"50b4ca02528af2ac231bae5c2c913b2f63319606","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.12.tgz","fileCount":78,"unpackedSize":694597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7pSbCRA9TVsSAnZWagAAtrUQAJVVT+Vb+Sih7dPC4R6h\nroD2F7DKZ92ezjZdvyySGmfQeRUnSz08uvQIOHJPH9AnDSFPdB92de/cgO2d\nqHEEFFw51I5hxkjyLy84aN0YM1gkL6c4hKML5Jdk6iKrOlXoO/TTvREqZkaH\nNI4LeZ9a2XLiew1FoowInPT/7zMzX2xFidCDSIbyZrXSkf6mXPtJcRbxZ1e/\n4gTcvYRVrOqSkbi18+cLA9QqL/CvxeM1/MVqagTHith9UxGnymM8Rfz2grLi\nwKB+SQBOjvGnAhXAlfyviXdt0ITQH8iCRq+G1AdcTslcNyJV4hXZK5niyGH0\nQ5jk5FRl+BFe2P1HYYeLbQncmwLPSsZmCt+6K/aAj/kjw0sKM+Gyi5c3CxED\nsfUE1bIYx52zmhsCbTDUbChX0hSj5d6Au4nWAkGcCyyFmUierINjl5plmG+h\n/5Lwh9It4okHTa3+3Vbgofeci41a70nzB5iq1GZRGNHerGuDXORH2um/uM9f\nLForsUJjQN8AwTD/MHwb96v4ZddQHzboadr0+gHbJaYYBdP55g6YZxO4i36D\njL/+dCepY66qZfl+Z+Alay1Q0FLdCsJQqerrFo960RgxYmfJ3/tGx+jtyiT7\nhd0BjE47bfYlkYMO8QsvHtPhzygGFnmE0axhixl5liCRG+W28/dHYXBaJ2UG\nX8Fq\r\n=zPjh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzhmhLuWgee1jeiJVU9IQzYiYWOJ+PVNMhWq4CNXtTYQIhAMepeRhUTexHFr++F4rgLQjj+zuJwL1Gq6uGCyDfI11t"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.12_1559139482922_0.7795581110053522"},"_hasShrinkwrap":true},"1.9.13":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.13","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"708a5e4b3da62544a9946c71bce385785474f6b7","_id":"sfpowerkit@1.9.13","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-4DRbjpgaxj0mph4sLAXxyi8gGlOpCxZKLK2j5bvdhr/ph/jYf+fFzF/EqKTXdX4GE2CEkyAoQTVubVV3q2Fb0A==","shasum":"c785fd133ab6e8eee6f33d4e668d02b036b09e5e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.13.tgz","fileCount":78,"unpackedSize":694597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7peACRA9TVsSAnZWagAAKw0P/RWuqLzs/l7/DsPYYa7h\nSJhzI+frEe6P0eHf73nwanpKw+FSTMJ9ZhH1W8UU0dAlvlFOk9nVB1mFr4tA\noB59wZh/76XkiN9bNJvcZpkDCpaiAiPGjM/4pMLQ+ZeTDWZ9DK2zo/Rn6GoH\nL1PMpwFzD4mH9O88MJ0bAo31IFlEoWghcBv112T1s+zFFvp5qGQCxIAvgrst\nqKE2GBK5iMYhps3phZZmxuhJVRFd+Q8jIaCWky0V3YwTLxOWN/meNuY9VTx/\n3DcOBM4PiNRhhuW7hlB6kY7JN+Jgso9wqUX7DBcKgtZNDEQZV+L9wNNB+5BJ\nsV3ntig3duc4jsddMdtXUNi008yYa9e9koSCYnbLmj9VyTvkNGlvNsIRzyWt\nmu6KymxLnJmJInFYplFV7Ram7iOaZpHRCIapLfnB5VayEVsUipfKtCAxhoZ8\nJfRZllbmB59/8lvTvn/AR2ONAu4bHGVs5RVdS/Ai0P5CA99CR88FGiN4uZMK\nYsYuSCoh8efsBsfKg4mMUKy+q2Y6oOyWu7qiU3DUAf6Z/9YiujIkLl7PqUlb\nwM9Wp891iIoCQEMD1SErCJnjmuWUnAllv/LrKyDJ90jxlI9yc7o0pZpAEAZN\nebpq3R5WCbeIkCuH7zkdE/FCf2KrlOcaWQfgWxjoy4upV/ujE+P6eSIGcNPA\navSN\r\n=ulHS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGc/MWe4ifqXn7TcUBUktVn9C7dUjBZUMtlPHpxQB403AiEAk5wkryHiUP/VDqHpWjQrOndtlxzPXTq14efClmMwDLA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.13_1559140216088_0.981295760021168"},"_hasShrinkwrap":true},"1.9.14":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.14","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"bb8d5205373fa0fa7aea9556980a21b95318ee77","_id":"sfpowerkit@1.9.14","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-l7TC5DfBcV3x4cSbnhApEFsOwNAxjxPBRyc48ES9tS4lCZUiof2ObqNnVfP+mCBfzeneNh9Is7Q1KFm/hPgaBg==","shasum":"58f8d813fa059bdaa4685d11f739037569e6145d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.14.tgz","fileCount":78,"unpackedSize":694615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc70jzCRA9TVsSAnZWagAApTwP/1a1gyHHUhctWzEh5lKr\n+hWSWw7um/DcyOCAAt1SZPcWztxfw79HBzi0vkAP+oe9SOCdi2dE0yzDYc/m\n2kNbbPCF1gNWtm2Z7/sZiY9tPgbVvxiBamYvvz8O3U686IgLv2npsKP06jCM\ngRMtkDpl46Qu64+Gw48LIRgCN2aswlsBLOefhn66Sp+jLsImS59scg2bdvzS\nTYsm0YkTfNBUcy9GvCULj7zEzx/nV7Te7odlrSbjOW/sA7iOHzFP29ildOh0\nYeUNHoogJhZWOTaGIbUtCokXZKTFQQ+2tfw3xbC/3+svoG/w8u24L+LRnVcF\nm15+wlCNNLYUof24iw9hO2QfCM8FDcgCOQpmylkuE//TzAxHGenwcUaJOYJF\nEb0YX/vKydf421ZBL8OdR0nQNs2s5ZBtQZ3l1kzdxUthqekYSUelNxVLBtPm\nwX5VXUeOLlbIIywoRoZ3UHWNoBdyqibRXomd2hx2j01A3UY0M3kVC5tcjFOw\nN5W2BYPG8kCSM+TSFH7CLAdF/NeSk8bjNdp2OwgZy9/YRE122rEyT3uSIpoX\nSt9lGsECJcPwCrNXTy0dBy96yKEU3gMen83tMJJiuH/9I6FOOIpAZZInYOui\neqeglIFqTv2OZAYYs++dII7GZmsDkzQWwo00I6b0tVUULpT/p5PEmmiQdqOW\nDc4s\r\n=9Gdd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhK5ysOYMeAWmIF74L8PA10tRFeOKf+/xQgJ17YiEUqAiBBV4orI6NAqVqneXc7UAoDbRZcLXzCoV0KDi3ghxexVQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.14_1559185650641_0.8598918563594085"},"_hasShrinkwrap":true},"1.9.15":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.15","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"65cea8f79ee40a62dfcd98a258069425540a03f1","_id":"sfpowerkit@1.9.15","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-W5NOr9WzHyxS6LDcKvKrexdYP3oWPy4VoXqQucVI679mXn6NyFRNDQFn1PZj7kM3N96dPR2Bp3xYHy/WMCtS3w==","shasum":"82fde73891510188ec9e67f49a9ef589cd0e094a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.15.tgz","fileCount":87,"unpackedSize":683830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8l0TCRA9TVsSAnZWagAALRwP/jH6cF3IqH+Jsd9PTdQn\nx/OumffVkVmXk82q4PayXRvG8gQiNQxNO0sqF2294AmDs71dwMJ6SA/xKRTr\nvsrMpjKgAogkQIiC7ClvylvPYRHmRU4j1IUlIsMsBnYEUHofbYI1rioJN5NZ\nFQPG9MY5CYoqx0ue3Kme6ULCxgQX2AegqGWEY424m/s/GYuTdMp38mI6TrQ5\n5A2zmhsgnT6Q341CHuUIxo5fkugWoReEfEmXofGsjbclceiCV+nMdCr5D9xB\n1sHHqP98wXQnC5lK89223gg+alnxWzwYMgqZLbG7g9aI/+T7I+QYu+HsIKP/\n4UZbPl2WEgzTQh5UhD8kbbcOQrgb2t8KaEWgNGF/YxwgFqb+baqwICUM2Dhc\nrjEpdGVXFZIm1URFIub/i9+DwIzgGzY1rip50+foMFrqjOW8bW0xHNtf/war\nPy321F0aATvEQsX8DS0nvKAeKZPNFQUmZC4RtNscKzUgrFNqC0BCyAYz97DJ\n7LK2a0peEJqdqKxgI3MLSLFqrW3pMN7iVTW/q/MZ33Auzq5uLUgZgl/czl6H\nHU3NPfKy76VBBBSSxzaMjJERgaC3WQK8qiokBvrLp+WAvwZezSRTf7OMDS6K\nBDaeJ9RquGgv9djUviVTDvf+BO0MCPybc89WqAY47+iM5gbsFqnCyCeDceJk\n4yVe\r\n=pSSs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUDQU1yc/gDwhQ8kzftegHL2YREaLyRwNzPpAMDBoA/wIgFOwvZiWblKKkYFimRMbGtx/ZXhQ31Eak5vghJyOnr8A="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.15_1559387410847_0.4736532176043471"},"_hasShrinkwrap":true},"1.9.16":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.16","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"4cdf81239eb42a04aafaa3628a50fb4e0fc8f8ff","_id":"sfpowerkit@1.9.16","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-MLRO0TqunQs1u4NwgNgGbcdq/TXH8Kf6Fr5MDaNFlnNDRmCqMlKuCIwrv9R3A5f+53EfaCsXxfdh/x8aWQLifg==","shasum":"751167794e77909e01d9191c6fbf1058d1c590a8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.16.tgz","fileCount":93,"unpackedSize":674603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8mdLCRA9TVsSAnZWagAAtUsP/0Tcrp5IRrHIDd4rxeMG\nr84mFYVYXQIv9Z73JfZ9U/l5TOxcgtYtq6WAdAOrzeMdWfZTP2NznsI3BCyx\nag0rv7DmFPolQm4YKPR+1LKSx2V/OO9cyvAGWz8cNM1Fmt6AEGSHypnUxreR\nFAw3C14zK3Svo5Lovsm2hk1oFKmrX4IPczqDPGTVtVqjb9IcLww3fNJsGlUQ\nASOd5dbcIiuSobzc7NZuSbZ2ssxFNJV4qP36CrMgOQNukNKl2wgdZZ7NF1EB\nHkzbg+9RR9mpJ5lIf8RN9aRe+0a/B9EaUy7g2yy7pKjOS+jOaRNgBe1qsRot\nwSySyEZRZ5Gq6KCGQ054mBRmeeJJBhK6vtjkdbK4j2EHpNa5T0Aq7wVgzn9b\nKrBc5JZPS+VjgIX/lReVVJ44IbZuk6cMwsXquVeB5l5QITRYJo1uYZBDQJVU\nObnkPO3HCLSnFxW3ZXrvogRIwqQ9y2UWfl/G9/ov6UAkOAM6XgTbBmVuNJ/s\nFDzuAEjT0Wkzeci+3KgHjl4ClD5vnBScRqU/KFEFSCy8NhZy1v8owDRBPfZn\na0PwanfkdN7mKfEcV3swXswO04ZMJls63e+uVup2u7/ScU7rISZeSjaCPj0p\nGtlgS8UjdSh0181McvMQ5bXNM4NofKin+hFDvneyDDrqnOl09KQcVgxvb9Pp\nW6Ga\r\n=as5P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGuszHgnkKu8g7vBcZLMMJFKPIqJC9liUGhM/J9QpL5AiA2vTflXWzinE+9zxFNhBVSm1fU4DHJyIKexWq7dp1/HQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.16_1559390026122_0.6398393108697364"},"_hasShrinkwrap":true},"1.9.17":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.17","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"2ed0d92db756a6f81b02194bf399cac3d019c0b3","_id":"sfpowerkit@1.9.17","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-jazttxLztGxVZSTLD1TsDlQCqhAuhNiylCOFz4H/Vuyu0nPbprKw3G9Cr0lEQcrUKucA6CJFv9hFr59u4swOyA==","shasum":"ba94a73392ed021ab146d8f41be11971f2aa28c6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.17.tgz","fileCount":97,"unpackedSize":679932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9oK6CRA9TVsSAnZWagAAUeQP+wS7IaGqPdzbFz/x8vw7\nf/ywCSM7ONdtBLvSDRAnUqTvxpay9HWOKQyHEnXqEmT9CzWKGIx3xLITsxQf\nAWHgkhOqP08beSK6X7x9pjCfYSX+dN3AojEQW8XjicjDoKOOcXs3C0XFdY1f\npY8AARPdWxdb5k7j+a5HLrbaiOOq7CzhNavhtyP5qE+kP3ebFWwnsTkuQ23o\nMeN5rvvW3Av/J5WSuDy06Q8hUhu7K4ClEk/arSk8A+TL80TZcZ4dKNbwUyb3\nBJMRw3NbFHU5aSMm1X7kB/d2+7FRFwjcs3jUkqmzkkUlpL/qRLd80pAl+HCh\nf0tKZhGMl2ED0i3ZDdM0Ci0Jh1l4YlQIuLzgzIDxeCPzO4mBwAm2t4rfzgsY\n1YB4w0MiYykt0lCDSfQ1iQh4xMxW/4S3AYxPJNUMKKPZzSJeCkPfJQylxyVG\nY/6B8Jhm9YaybaAzjfjux0QQn0O33D2N+aeTjw3RGbZJm9Rszwy7RzUTrbIQ\nqd8xidq6weLvQib5PE0yV1QulIPPGEPBNXbcYpCHT46WEHiYpcYpqc9T4dS6\nV9vquhm16oso2nxBNank6YuE5AKKvCTGgULWpCN1qU6DNXgeX+lJ/Xem4bUF\nuNxSiIBLr9AqampO7lMCI3ajHH8oof7q+d7muA2h9H3EQjjzA1LHj/dtZLPK\nu1Hr\r\n=tsv8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiOYmLTfIZmmfR1QIz7ff4UKzozVkZRcX1UmD6qq80zgIhAPdn/paLZiTVyNGuDrvAkCUq4BP7qJNFL43yt9aXSbrn"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.17_1559659193794_0.40934622199522575"},"_hasShrinkwrap":true},"1.9.18":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.18","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"a458780fe0c9bffe9087cbe08556da60105e5e66","_id":"sfpowerkit@1.9.18","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ulOR6gA/Wm6wqCQ+dw2UO+eBKjKuzYbslOQNl2leL+ne5SZTbmi30iAXqUVjMr0AiXU+vx5nojgvJL4IX3Ks0g==","shasum":"f448f8d400cab68cdada3fdba0662a8e0d36b255","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.18.tgz","fileCount":97,"unpackedSize":682011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9xmOCRA9TVsSAnZWagAAWXQP+gID8nFeeIhqcxzoezp5\nYtGxjrbASUDMk4GyTZxbbioGV7i7N70UmbYc/NpxsisuQP9EV3nmLvAD4vcM\nKhfoVuuNwJf7pK7BwMUZX4VwRa3BWHEAXrwKjSHr8BmkjQiXKKTLq2ThPk1M\nEUj2kVw/lb3ZPmh0p7hMQyStO2ayjhMndCq2g1seo3XuG0AoCLkLhUIUq+g3\n3pyCrZzh40M+5/PLlUy5sBAqpqSXdO5nILcFwR8FQlMhoP1QCandcxXVISWB\n5omnuZoSVAkGAS5pAusmBjMP/w9TXJ/YT8uI4fY8uSldwSyubotK9zNZQB27\nYWAUSxAC37Izk2phg/aApnFBrp8XicXMwihMm3AWt+dxx8A0IUHW3eNPdYVh\n4aRuuItCEqtsPHAfAsCU0jJxE23G/tHn9/88BWT/J2D6weFB7j7B/Auuj+Ka\nJF5lZdws060/08Y0wIn6xk/9kl+BsYTaKwCQPxTdCtNEVlHvfbECp6ETZrK6\nn424eEiGU8jO1pl5u95AVt8dD8dgx+x4DdddDx8IOJonZYPg8J2y4Bj2IwTs\nU2WIKpYc53Q6Ej3QPEWGCjKpHjCPHo0u95kOl46eHZkErOIycKZakNJPHBjl\nmb5DbD5EkR/OG+vl8fTgwobLGFSxghdkqiwHYDOL+29ClwtSU9Kehx5qJ+IN\nguIw\r\n=Iq+d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsKeCU/0Owt5WV6MbZRcnz8n9kOX4pCjgcoWrUd/iIdQIgG7BnJ9ukKN58a32OgERmeoyvNMqtm0t8ubky1NXT8m4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.18_1559697805674_0.7223041598771176"},"_hasShrinkwrap":true},"1.9.19":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.19","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"64c3f318afe57f7ad21c87de77f91ccbb44b47d8","_id":"sfpowerkit@1.9.19","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Y4/A6HQrnfA0NOrh3AnA2wK2WZtxtrFQouXze/L5ahWHcLEFCPGYCv57Hwmxiq8hBoYCRI1btr8M9l+/LxnMWg==","shasum":"58c3bb3f3ad7b921ecdf4ad4b8a66c76fde8cdaf","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.19.tgz","fileCount":101,"unpackedSize":690493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc92wbCRA9TVsSAnZWagAANzcP/1ksqxz6tOQfMGNYzu+I\n3nefheuwTLxKqUBDrNhpcVE+C/Y9dgDnJyvGWgmq2dGNf7eeh/LAAgP9eDHp\n18E6GbVgejsPn5TPI7XTkd5LnNTyn9+cmHfDJlILMbCVnSyNdZ8VNEm5kkiw\n+k5x7Bx207gR1LCnKFuXgB065QQ1yU64kQ6pFxuOsUZFVtWA7NW1G6khZ+7B\npy1Y9XwjvIDNimZSR2RdjpGZKS4QB6cLaEPHk9sICcShJe7S3OgLlRqXPZrs\nrJ7PrxqSMDKfSPmdoNf96M5T6+bxwxWD58QFEEp6FnUEBkGrNtm958gfdq1W\nqibVZd/k9+E565azqI6SgKCDEpPGP6G7uJLwtEIsgSl95Bxvz442fZWU08/z\nSq/qhvB1eWVBH9oyrXwsUaI7c5/agjwJE7BjfNI84sSB6qglmhCaB99bwQW1\nZwuI9gtma5P1IBQ+pPgBoC0HDCTPR/bZhU0C6Tow4eKXS//0tq6kKbRwP+d3\n6geaRzB6Tqh/+nMgw4y1hfsOatrS6Kh8l8zb/VOcmB9F3Y1Vd3KxXn1eFzli\n3mqKcDvnZOvzuigr9Uyx/OtsdU1KQvaCc+by0KQCznJnguwSoScsh2uNgfT7\nPU9mAX69Nznr6AgbZn2VEikzvVbYg2imDUv/m+3NtUVZDX1fx1e3PUeuPBlu\nIN0C\r\n=EN6m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJ0FQnba75cGwwJeRZzXJ408TGMN163uGtsMXbGwAVCAiEAigsrlahb4x8Ewd5LLtqacpEMa6Xk3fpRArgLB7sijS4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.19_1559718938421_0.2770071774250973"},"_hasShrinkwrap":true},"1.9.20":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines","version":"1.9.20","author":{"name":"Azlam Abdulsalam @azlamsalam"},"bugs":{"url":"https://github.com/azlamsalam/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/azlamsalam/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/azlamsalam/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"95ecec30341d1dfe24f21d81d617be49ecc931e3","_id":"sfpowerkit@1.9.20","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-M/1VWeagsqo8/+GmfXZj4Uosp3zS50JGpenUuMOOTh9+woTTxfQh0qHOKeZGndl3HGyxZwCcW7nNgDGwqmDRdA==","shasum":"a3a2e6571f0764bda1f485789ed4e1cb70676af2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.20.tgz","fileCount":101,"unpackedSize":690719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc93D6CRA9TVsSAnZWagAACQAP/jlUfRB1i/BG3Xgd653v\nQPx3BXrc9lKODfQLszpIqEdfBQanAW19Mir9nMpDKSznYpZAiwy8sC2V358C\nK2GWivm2gE8yeWQNmUzF1ZoxqW52RAgku0/v3nDU/0AByU8RvwqIvDkIf+qT\nvjIy50e1FBjVWPX46T7w0KcyhlDaqyK82CVyB+2LYzTot07GBv4Zb7Ua6s56\nuVIZI+l+Yz8umSrsfcw93YWx7WQ8RVEi6paHgsFez5QDS7X+e+FTN1/YUtw1\nwrkGVP8KmSdzjEAM0TPHiqs9WmMcNNVYRVYzvrKNaANNcQApcd+yF9mk9iAj\ngd7/Wl5H8zonkQtN+F6P3uFtlenOZgsnncxuvjDpHnZ0B7xZltMKvmqicvNL\neTVFvQ2/pXfjc7fikXA12TU/ccJRtWwFb/HBI/a4ehgmOe+gEP/uyVCqWTdw\ncjcEEMnO5+nBDqPeNHpXwQ0ByRiplgY/ilRPtiDgP9QwL/9qpesK8ctualA3\nR40QkD6Ryb5fUBxbDk5krOGsMy9PEIHfHHgiRYcNG56vU8PxVuWxWtrqUWLY\nqQfTj6YTnqDg5n0iJehDk/ka2o+ypbzCiCeawSxwrENCGLvBdmgQXvwW3PXx\nVkvcX7HoipruQ8LblzkVkQYo4GPaSoVpL8gkkZy2pImqNIgYWiBtTSHqSJ4q\n6ZOY\r\n=WvbV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFYAF8uspo9ToM0essnu9maB3m24ejW5lXvjtd105OswIgZtZjQ5u1IejWLSG9FTiaOR98NP+WuDrBIzRaReETKn4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.20_1559720185965_0.5178464289910363"},"_hasShrinkwrap":true},"1.9.21":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.21","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:custommetadata":{"description":"Import CustomMetadata from Excel"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"df62011b01b09d88eb7529d4e8b4715a54178a76","_id":"sfpowerkit@1.9.21","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GinOTtG547TrmQIqDZJjhB4modnhVAVnwd5lyfy2pUZG2xmXeqYiqlxEm/19owL/IHnEtzsXRzx9apG26zqSIw==","shasum":"913f8eb0456d3db90a6adfe9cee558fb38997d9d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.21.tgz","fileCount":101,"unpackedSize":690696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAix3CRA9TVsSAnZWagAAibkP/3+UVhh7NYJO0uZmIvW2\nF1EEm8Bd7ai/8MlGUuI2ZCHbG2YuzzE6iNAuA9h1hfA1vz+YdNcA/zmi5z6n\nytbetAvLkOTiBI0RBAoYrfyyKi8jtg+h9R07mT2O/sruC7hxISc+hM0W0UFs\nsW1bSFLf8f6SQwPYaOhMyfIs09SPnOa6BqqbXhhlOcpDgdJO6lIs0BFTGlbT\nvJXQiTV2fwdjX05NsAcvdetXtm3n74sDN5U+nemZOZYMX3peQXIdiFN9ewDp\nQuqtPjp8Ffiq/0zWMwIAoTDcR84ACDgr1JNeh/+omQpDO5ErPN4WSuHgea2a\n0eD3/SG50Xx9ykz5gObNkqilWhXUiLtZvDqt1l0mFGhvJsTMeyfgvTITOB3N\nJA+h1pxxDu7veIcQvCldcn+uNo3uCOPiII6hBxTiYfg5sVNV2axTmaGRIeyM\nj3FGB2azNrz1nS/UJrYpwPkFZw792Lm8W97svd0u8QnDFhsmUWjLPeawmzSn\no3X67VwPwBJ2NAsQoLmvGP5n1rBOikyJbNsnnI0KpR7KilXcnuDjcreZykgN\nxadC/a+POVWF4FQ5PT2DnL0C6eHweX1mF1QDYkzZHjkiP99UlNFFS+qaJeb8\n/9O6mcTC7qz5/kgdPDVLBF4QJ9/aG5NiNUBGk5YnDHtpmtmbJ1VNo/0p6vWm\n69hL\r\n=MUcv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNf93NaKq1OGMgZpdaRaH/KVC1bBXv/mmqpU29m4FD2AiEApDobL+pqVrTy60uqaikhqdXorvjEQWaPSyEF8KMyjGM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.21_1560423542810_0.30712316331266787"},"_hasShrinkwrap":true},"1.9.22":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.22","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"b993e98fb57d03529a3830529a7d808677a747fb","_id":"sfpowerkit@1.9.22","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-jiiso0W2ZFrSO/IqJXxOYRI77LfwDhH83+4K6/KZXitAcoYaX3CYrhuYLZD9qYq8k/L+NHmzElJkHk5IrJWsrQ==","shasum":"a7f76ce9f8dc6522632d8428ef6f680c615c1da4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.22.tgz","fileCount":105,"unpackedSize":700472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdA0C8CRA9TVsSAnZWagAAJHsQAIn4fSngI165ETPdykYs\nnX8NB0LhpaXFqydNaFnuXBeTKaczF16JAl3ryESMeMMoGnukTS6QYIl0HLM7\ny/RDT7OrF55Rhe1bIRKiOa8rPlGNbDapLTTP6ozNR8hRIyx7uB7Zii07DLk+\nBb0wZTqRj5fA9btuIjpVqRmlAoq6cUa81+0PEtt7Fosc4kpGZu3dq5RX6ToT\ntZrYe49k8Cj8e2lzUXDfNcr6ZfdsltcbO+Y8MjISOEMaMagVmQeVHG8LnlFl\nI1dIPhOFtZjh2PphA7MCW93FMN+laVtWJgp2ZCWWqpYSlkefXfLiMPnSeO6w\nvolN90EONOiQ0Wpf6Zw+r+pIIdR/SiqgVYFBWy7SgppWu8SIfo517YuP4v8Q\nUGOSghrZss2ayTYloD+h9Pfnm3m2+FsTBoQaquhqc0NN0sY2h8MJlI5zo/nr\n7JSQG21rmk4I6X2u37VoMgdZh+pQPW0RVdHPjmgR9nljQESDzZKezc65x42h\ncukHeiJ6EqSuqxqIz10MBBbpcwUPlCNu1sgSLF9SnhoItpffrRnYOmI/lodE\nUfYzNakOCNfsE55XavVkkZVB8B5vm7PeUUXhW+3ZFx5pyVvzIJ9b3QYBE0yv\n32uKK1cgO4+t7GWLy/U6ZsxKs1EaZoCTx/VhcvFcJgdAyZBcJxWVou1fGv+l\neJUS\r\n=AoHG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFUT5m3xn3oc86Wti89x5azTVGJVwQXQizLvcYeXUZL6AiBD6z191CyM3SAuDXAYLIOE1yTWCj+TR921NdpRIuOSBA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.22_1560494267973_0.9360789470984874"},"_hasShrinkwrap":true},"1.9.23":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.23","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"14aeeaa841c9e572fa5f12ba8d192f34082ce9a0","_id":"sfpowerkit@1.9.23","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-0pWGBt+jwkt15vQwPHbC7uw5y4gC3Z+lgvaRRYKiWabuQis3MWu3SOEFk5jbKWNpd327YT18qoPgb2vWftm57A==","shasum":"84ff059a31609459c859e4a4f636f51c5d356f86","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.23.tgz","fileCount":105,"unpackedSize":698377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBvfRCRA9TVsSAnZWagAAGzwP/1cpH47gNyKBjhVZvejU\nnEbtgZQUsq0CQQbpaEEpbhVL+av0DxQ2lKs4GwKt545QPbH8BHVG9KYFkjFY\n/taI3yJv+2ojNZsnK+YqG2aFttLZ6VQ7yny6hbd6rgLCIDdlapbelsD6c9cO\n2zEn2bIHB5FpUQBfXD1Yb8BGobRyUUGyodjmqY5OSlpq6mbqEfYYsxdVb5kM\nezmaJrdvnIaFy0maDl5J23AkqR2uXTlgkuXNjcJI+FmehyRzBNoUn/Sosc7H\ntQlZm78jnX1jY4mFYkgx8iTrotph8SjQL0NYFH3+lNv5dSWn8nlQ2MxV6QGQ\neLi0DNfOVIR9Q5fWvmloMeAGJHTjJT8VBnFYomXC09ambS2/H5vFOqGvoEsP\nlGzx2lJ0/wBlitWSEz9V135l/Opyg2u7wV/YMxXznu1phXcNpqQ8S8X5UcgZ\nOdG53rpuo3nE40r8dcJYpOM2cG4rHYmxl5mVcYxcrIdQKXpkV1yyiKGKZv8h\nYFcKPEu7GchbexODTHDw8PIoxLgjP1hjR7ZpEEJr4XttRMtZhhUyo+HHhtey\n0yTzrKdLk/uw2foCdCdsKl/txr40IcyN9tNG+vBKXyoYjoZkj4lF+9r5DSIO\naQ75FwuS0lb+RVpJ5FFvii0+/VOxP1d3Zmex6CJCkHIimvSDFvW2UmJ1l6Lg\nKCZa\r\n=pdSB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqfs3h2hXKw1ph2v5lNyB7UXmoJQWZgY3+b6NsfYGkeAiEA+JD4/Ap1yTRrL2gG1UGqrP/RTDYDMdkHpcZmqnye3Wg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.23_1560737745112_0.6200868726429514"},"_hasShrinkwrap":true},"1.9.24":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.24","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"a12d6f8878c0fa940a836a31b05461dd43227cdd","_id":"sfpowerkit@1.9.24","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ygyVUoSsiQk296Qqv/Tog5sucFvImh+ilNK2Wpsau47BkPF2KM55xo3cn6G6rxzMRDRuuhrSus52+8sy5w2ZHA==","shasum":"14e9171b65dc47b3cd59c6bea90a13e111423ecb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.24.tgz","fileCount":109,"unpackedSize":706857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCdCCCRA9TVsSAnZWagAAjbQP/RG9v5IiPb0kFRtC7de0\n2F055/+4NyUvAO0saoIxAxRpHSDkE/0lPG+G6yNhFexcwrkxOxSo/r/8dPH6\nEln9f0sdesMl2y6jKmMHyE2rk+4BH/pSmzoZIncETBTH/tTAWwBUy+3K4piF\nBwYJ5b6NkWG0aknCNj5gwFaB3EIoamnhaON8MLFjWG3p7feya8C33MkkVtnv\nu5Sjz9pTL6FpeBZOivS1i0KNtuSUL3AFutZ+a29++23g/ZOOarCXoNGek/10\nx+xhcRrYmIirbX6boM6bizd+PkqIl74pCsY4yYat05CxzcvwBAqZwp6O063v\nyCHWTITgTW3vEsO+1Egm1kkJVdzaB9YvRCiYImxi0D0k6plihFfHJYs/KUr8\n6mVOOCG13Cw1ekdwwyzUCXW+NzG5OdChfdkfpZYmZ63piW9bXyZGX10+eErV\nc/RsVzeuwOSir3kGfq52nf3yPjWCVSQB+OT4TTHQiHx97Aj6fOC3Hri4C8qI\nHkZQ6f5O46jQ17obBgL4wiwUEhL8dTNGesh+STgmO2vxPIxpiSJTCsdO1Zzv\npX8KOm+tjPSNoxRA1lfLySIvMEjVtmDthV8rsjEd7rCYWfkORVJITLXOyFGM\nKkyFa8YpkFv8bN0FehYrsc7M2g9Ichm/fPLgCvkGd9ruMtaqLUDWA1ai6kJI\n67ny\r\n=GXyU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1RsnEQViU4hYUlj7iyooWyFS9Wify3u6aKKAnsUHPrAiAN1I/aS6XTHXxrLZ6Ezre0mTlALVhQ6okCfonZbk1+5Q=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.24_1560924289630_0.8835544604868595"},"_hasShrinkwrap":true},"1.9.25":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.25","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"62feae1d1324608691ce2e68929451e54dd691e9","_id":"sfpowerkit@1.9.25","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ok0S7XZ3T/yohC3xUvtVM6Uy7iHRPhtQFfFnA9s7cgWoTW0gho9pT7qbNur25OCW9AoNjkdZnVIUCDPk1l290w==","shasum":"b0a73ebf621d1cfd72c5bcdb25b7bfcd40f476bf","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.25.tgz","fileCount":109,"unpackedSize":736748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjOGCRA9TVsSAnZWagAAW6EQAJnFRVzQ5RKFqzyNXC94\nMfxxII9/W4UH4/KApjohIUCZi7w8+/Oemst3fi/Vi4lFpEJZAzYw1Ut6fQiL\n2EoWIFq4pp8OG4v+slJQxQUGmXfXb31OOUUt7sBcsRbEWn3l373fN9rg+azW\n/RVVzFydC9lqmdrhETMbPjxo2mhnCSNaa30tuuCIySdjxu7H8vH4dye+0/8T\nHMZYzrl9Ra9NHIkybzVlGspUgLnlq+AbFCUC25KDFwG0tQhjPzQnJAPirExR\n6IZ0ytxtc3TPJo8nkHM7IcNM6SkP1xq3FLjUJMd4WSxENf4DXKjjLqCLGdt2\netkAco2CsJlBQsM6uPzrAI88qOsnWvcJ99Qng3Xkx2wHUFyuwnptqedg9XQE\nI/mPHxkqT4KhT8KTLLbpu+Yi+5KTQ2/lPScAQ2aEnesqO1JxM+ZUR8+WS0kK\nWJuk2lB63Qhnmblok03g1ENO2MtQ5tDy0XQgWY1usOkFzqv8ZFiCZ64nzDvh\nMc73h+bXTKxQCnnObEGZPEE/9RxkaPsLyo/E3+K670Y1hWcEWCLyGpNn5xzc\ncY4P2k09BACiLoqHTh6ZcttDRYg5sHiGXLDp6ZDvsa6I/2oVKNt3GGb4YekN\nwZuqkeuNBQReiq7pMr0SVqXYwAJ99AV9sDDzR10N0IaaFrTwj730ikwotKl+\n8A8A\r\n=UbDy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnWZ0T7IGRGYrciX5Z3QIgJPgW5evqv4MT8OaI9WrbqgIgO8YNHFtHmiy5rkL7B5b6bfjIDwqSHjOl+Yu9u6+C7uY="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.25_1560949637316_0.8969836393527131"},"_hasShrinkwrap":true},"1.9.26":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.26","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"0ac114ed70e533dd32434512e0f7f502d55d61c4","_id":"sfpowerkit@1.9.26","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-wiLIBtExKvwKpJPvXGZp+YTu0Miua32EQRfiEchJLIca36mJK7tNske6jzeJbchaDVaWE1JtaKpZqjC1YqfXLA==","shasum":"4b23fe31a01b5e4d62e1c031956d0a9669b98e84","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.26.tgz","fileCount":109,"unpackedSize":736715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdELfdCRA9TVsSAnZWagAAO/kP/i0Ph+4Hvt/B2IKnZAj4\nHG3015zrgNFco9cNnv/6jOzFeMODJjXf20icKur6rBQJ0/+zH7gjanXCyUBe\ncIvindSTPGUAe7quMKsceBciZfRbEINuHJrP9K3FijKBLUW9O+aGSv0x7NNE\nN+QG24OXjMOy1FtFkakb1Z2rqU/Ls47Ndt71x2BCNhOBQTUzClP6jV9XmcLB\npPWWzaWWG0jfhhgLUxiofNZ2JVJhb1363wXOUixTivuT5F/493c0IZct1+mA\nQJH6DcJ4SHp5qDcpfGbqhZQRx7O+LtLztbwkiuhIAjCQcOsOT14Kxendchep\n5WP1uKxVembTL/jYWutk1JW8QeOfQ6aAITz6RXZRtAsrhrtYM2nhy/u0dUdZ\nVMHQD6vYNIf4lOImRVgNLxdjtMwqaD785WKN6lDGtaEDPwqkm9763VL0Z/jR\n+ybvw9qMJsx0m1tkWIpVcc1MZCnoD+DVxBUsWS4JwRGS9Rq/lXxufCMMhq/M\nm72P8qMhAVwJ/jRLEg+UJ5OwmwV5KiMgGFQD2p+AuD+1vf3roi5DPL47LJ0s\n4q6YFXDS5cb46yWEvTavp4Fc1QN7Ykj179EJ/xUM9dSI1lvwFztLVAfqSyjI\nJPj3AzWBqJ+foLfF7Do+jUnuc1I3w6v5d8cgY47+djAUSlIVAJpRdDhIuZH2\nxiSP\r\n=f4h5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2laQEk5w/aIKAFlGK2wStwqCNok0YeZpHx8RdypPiwAiASUOk3ci0GrwhEi5gwj8bAOxAdWi1/gwZb8ct1ryUQmg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.26_1561376732656_0.9322842970825957"},"_hasShrinkwrap":true},"1.9.27":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.27","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"b79fcf3363b2a021cae28f9d6416e20d107757e4","_id":"sfpowerkit@1.9.27","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-DjrS9Kk1VlgyzlCUKD3zO+Li9SJIt+dw3pTVj0IT84Wq5iCqA+Pbt60ZeUVmo+qpecxvd4P1pfC2dyhUZ6VGtQ==","shasum":"b4c6408569a96712a11330ae22eb39ecee4dd010","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.27.tgz","fileCount":109,"unpackedSize":737602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFF6lCRA9TVsSAnZWagAA7CwQAJmdIncF4J4T/s0yMb7i\nF7pSxWZlCzK7PwOLjivdpPuyGG4siucCx7r68JjTb+W3N4xVMqV2hegMAzzJ\nHe6P9zH5WY7c4yNuK19ruhqOktvj7KwpZnMEKM0fOeyH+I0WSB5QzFfBBXK7\noqLYj3aXzY9vy3bfI2mwhMaVHqORoJljQy5ahJpsqyT9eZCGsfBSTu+fLGX+\nt3BMEVfqsqiyC3z20WSx6U2qcJimsjwVclTp4PLhbyJcuC3Oz6QkQ1f2KT4q\n/8Xi2fFcq+0FJd/ODQyBSrwQAjpeKK+VTCa09sE4HvQEmRv6sPwexQwwqkPp\nRwdkHTKLNObc2RVrX6462y4KXGEnxNyogmSwaVMovZgbTgfZAWSkysKBz8gX\nx98+TXLTWjwscJ+tvRO13KiMkhJSmVTR//ypg499Yl3388Jy33Ju84upDKlq\nk9fp25RsonP8jD4X6WrDtCbHg/ezV91TyBCD7ONvFhk7PAbJCMJq65gtaj+J\nD0zWuSa8CGNos1OgEt5HfqfHZhlTRwIwqQ+UwGbpXYnLrzIXnOjdyZkRs/k9\nspLhEg51y5heopHz7/o+lkrzgsSlBk7y6lJuTO6ZJ3OERd4I0IxEJmN2UcYn\nI5RMdoDT99Iu+p8XChOA+hexT35T/MshMCRc58csfzM2oVPWLPxX7nET7qN/\n2/hG\r\n=I3Tq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAXhoUlgtuDam6Diy0wlB2Gw+MFkeFeuEdHYhOQW2tmwIgB//Tzl16tVBtriQ8dQUnyFyNJjMzIW1cJ6Q3gZ575Rc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.27_1561616036654_0.4383698068830202"},"_hasShrinkwrap":true},"1.9.28":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.28","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"c1dc2bb04f24d29ec85f7b0aa0b0c8a8ea90e378","_id":"sfpowerkit@1.9.28","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-uL34LLOUx36Wde9b+mgfJbtIUqZLb+uhbQlHExkbX9k5O1cAT93QI70kagHyp2mbaumhq+j3tqdCoazicsG60g==","shasum":"a3011bf788fef40eb1d55daec3cc13e566850788","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.28.tgz","fileCount":117,"unpackedSize":752624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGUSNCRA9TVsSAnZWagAA8+MP/iIm4wJC8Dbsd4ePexbF\nVggO76XGVu4HKDCQceyuCAXnOFx7m+OydVITJa/D2K/Cu6How45aR4LT169p\nevTB/aBZIhsWFQW41Wt4sxiUclrEULOB0dLoQpbiaqz82uyKRXU/s8GrnC5o\n8L/P05MBP/WLiy5zlfA5Xf934CF5kJUJwT4CySHS5AkoFTbFITju6jFwvY1Q\nnXbq0Z4PByPVuoALbKgrE20/adIpd2FD0p0RIsrF8qfuemt6YJCdNbn+qfTG\n7TBe72iDNP0XWaXxA+nNSR/hH7ikMjXZCSc2Xob+mUJ8tfs8uHAA09BB38UH\nwfD5lbbPmt5UAeN1tTlJTEfXkNePJrcqmFBpnXGDukpnPguZJs96q26gplQP\nomRu095deDo2hk4A69Q7JPJrzNR3hzH9OFfzav56I+aGaxSwferR0oT1S7mu\nJbTq/KENe5TPu4niIXQUUK/K1ruQvUoNrVdJoF9ON67geD3d1QaEyJhRH9pm\n+ErDVZ6fsDEPe2keBW4AY+mAgf9viYscN1OWnJiwoeTIgEP2x7MtutDLeEMl\nZkYk3tbLU+ItkVKy+FZpQgT4sPlgYHxXIVRf4MjRIpkUVCRrSP6taM0cwtSp\nhGBiqSo+BFFlHPusvlkRpyLb36EhW9qLaeDYD07z3dmTMddGVZ43fV6AfAjJ\nafzW\r\n=pkxg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQdgSamB1nQ4wO6Q21tTZzLORl/PxZblSWHXSDuYJzGAiBhgRzeEIOcZc3sS18W2iD1RVmnb6aKFEZ6nuLBp1+/3w=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.28_1561937036924_0.1727083525452473"},"_hasShrinkwrap":true},"1.9.29":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.29","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"fb6c6e35a0d6bf9806e35232ec4992eeab53bbda","_id":"sfpowerkit@1.9.29","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Al60ydSCoGAfUtacruBLI1XG0MK//Ykzs3+vQy0nwBjlBDNC3o3aS4OsKZMSkTpTS08B5qUK+MyEs+famqlhLQ==","shasum":"89ae72d0b29694a4501863abb9cda36edf56e21b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.29.tgz","fileCount":121,"unpackedSize":768249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIfJECRA9TVsSAnZWagAAvtQP/RDufrFLcQYvA31zcrQu\nlStdzDcR/EKIkL0yd0y4as2BUARobTVAI/4dC+Fi4FES0ryvhA2SzfBqguw+\npnr86p+JGEKs3rkwOz7pHFBchvtTIDhRRYI5L1ioXS94cqlpRDgesDwsDtnM\ns0/C/a6VRQDvCzGMKEAE6tvtNDWkcNO0giwPIKdmm1XAwMU1XJF6hd2HHgWk\nwpkvGNni7Gnaw4Du69YAe9ZP0/Y0M/sm1q4ZBVQ9CYX9p80DHYHpjkeE+F+f\nI1tg+bEzJhsEwrcwmrhV+EDP5NEwBBEXLPli3xMs4xMvufe0f5637xmfgMF3\nCb8CAImuuqWBPDWE7HOrDbkM6mPepKcX9ooA1STDZFTdx5gsa0KoZBQGwWOR\nUXs8Axq+2wwaBEEakfJDP62kbspHCxVB+3KhYa/46tgvsFtISZ7KiX6VbeCr\n+eS0kEBkYx3kXzUTrE8DT8WwJlqhQA28t/oIwbSYpXRXTJCdvDzVFYYjKfq7\nNEjdY4/FJsRydJz/68K4kaCnOhOboWR4RN8uDR1WH0VwTqAFSdKDz7JmyzZ5\nZiIy6hBZXX1KgTh8egjhYK2zTOOqIA6PwBCFXPqof1tkvNrfzXuQR1glAuWM\neIADEqgeVMOJKWcXBm6Ei4/qrX3/l3Yri0JCgBy7Wud7ynLOUJllLchDPzqE\n45bN\r\n=odT+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+4As/IlBeb6RVo8rrpxhpZnatzRN4EY45zHRTSW7gsAiEAss8b09xyLForT+MJt4AtZkg8vlAE6Ut4dUtQk0temmA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.29_1562505794498_0.7267132038716966"},"_hasShrinkwrap":true},"1.9.30":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.30","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"de5b395372afed8e9b303c678c613c2bf8e2feea","_id":"sfpowerkit@1.9.30","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-cNEKNOpcsoBzUCwOgAZqUL0xRIhVTbexGVSB1NRdNoQoRZZAat8NeYvxSWqs0Qniun+FsG3qQtnxxxxaJ46ztg==","shasum":"ef580a27e5045ef284eafb1195e50e914c6332a9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.30.tgz","fileCount":125,"unpackedSize":778747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIfNoCRA9TVsSAnZWagAAUf0P/jwXkC6owpnDJUcmlsGC\nod9h2mreS/P63ICmQv8mWIebgOLcCi55sJ92yT7m7dlOrqUE9Zn4YwZJiPOI\nO6jLPRjdaP6MEngtxL2qxYaETRPFBouKYghU5x6uIcY4TPvrSMMRhAsufduO\n193Qp/jvgCQSzfhiEkaKEsHUBntsc5tpXcBHSLWJYSHFZ0r3dv+zMuEqaI7S\nt7c6gcFe22Vn11lHBlvoCL73xR2q/d/N+Tt/dn5Tk/CTyFToci7uMqm/YmKH\nvUhJ6PAz8XonXB95g3TJ76YqbdB3RJVagF0JwQ3nqcz3jLcwZHARkDwXS5CV\n/C+8EG6i1mhvOOMCptd2/1dfG48blITvdAsak0pvplPCzn4qIEGHvl87P8s6\nha++6VReRobIbJ7EBhvpMgDnwyUw/eRp3uieGFusu8ep/P5IPCA49bTQpJiu\n0Z7nDjN1hTo8PGDs9PIDVAd95If5rPoywNukQSaHOW6adkUM9SFC0vbo909e\ni5umuw0+5yVxttLrwLCXtt/lvLcOXnBWxAa0Om0656gSTzvDglMUU2YHqgy9\njQ7LCBE3xdlZZNES/qTOUOcGux3pbqkJq/oL11hMw/zNTfC4KwmZtZSIsI+c\n2LqxEMA/PR7szQfD9/n4PbOifVApmYdkRoUzXXy0CwL3p2B56yRXLHUYqEos\n/800\r\n=XKXH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGwLJzNk7gCIRo8Z7Q39vu5Es6W85LYTf9CARYYPBe3gIhAIyDPbSSK2OBWBWmAPpV3s3B9cp/jpG/qAUFTRhTeeGK"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.30_1562506087811_0.04266536235488427"},"_hasShrinkwrap":true},"1.9.31":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.9.31","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"1db12e6f6dc38a4904b185b8ffb0f382881d5701","_id":"sfpowerkit@1.9.31","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-gN/Q0KoqDKcQkt169u36vkANvW4Y1erSZo2P+8CtevDNNabW2cOBheJzMJRxHJ9MCDOqnkQgUL49VCM13ocIpA==","shasum":"6e0115add6200d47eb1c4cdb5f4cdeb3341a136d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.9.31.tgz","fileCount":125,"unpackedSize":779487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIqobCRA9TVsSAnZWagAAWMoP/36aoa79OemPlFNj/1qj\nOI95s3qygPU57VHpwhpYvPEFEolXOB05B7GSoZrHR1lL5yuY+Ze8hjgPmIkU\nlH023aiE25z8nL8nD4+6XjkcAByXa3EUnSlAsg9sdaY0/bufSzg7Y2Opl2vd\n0dhSjxXvZlG1S5BSDiQCT2HkmRbr2m2u0xdh/Ju8JTBWU/2GQJxYidR7/v75\nX2olLfVcn5LGyj6Bkk59QABHLtzntKzjiLhSKD7jaoOOYgrE/Vb/Wps0AIaT\nNB3uptkRqBwFzuKvXcBwXWluEUzyfxPTqogmKBzTHcTDpevH+fGvSnMzdFtG\ngjW6gqXpKCVGuW3V8HWiSxvcArRy6pKVUKqSOA9EAtqFlX6+A8L5CugPaQeM\nllCXcSH1KjX5rW4fHlUDVHiWO8VfN3U/YEkNuN25X41IAXLdhTr5APyI+AHk\n6vof5VDHIkgpUK2W+ttbSQM4EMeVOorCVP57Vqb1pno/SYd4PudMykQN1M2Z\nY98gjVnY2OiFG0ybCi2uNtUBqldfz8xmYhb4vozkK7EcxPgS5mClRkIPnAWW\nqvx5tFrHZsHKMkd2RwUgdGkOKF4yzxo2f04lq03a8qFdjhyGrJ855LHfZpV2\nT80jrdqVVwpU9ysdU3SO8mdau6kiiq3NWxkJP0irpuCrwXhMu6TSn4dwhZ+Q\nWT4M\r\n=Z4hN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSgCzkMRAOnyCZ4vMSuMtqTXbcUByWyiXZl7yU4l7QgAIgKt81N6qUf21K1J2EXHcWpPop1ZHXwldcq3N4qQrEcYk="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.9.31_1562552858250_0.6160762280804286"},"_hasShrinkwrap":true},"1.10.2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"38b3789f78f659aa67ab8232eb8b159025ece3c2","_id":"sfpowerkit@1.10.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-8FKGVFVCvmrSgyE1b2ja+fNddFvW8DIOuSLI4IfWTe86E0HVHnN4ekfvqP6//dreXLDuCK1JQsLvQ24Uvuefcw==","shasum":"1ff382d1496b30af1ce2384c233c454014e44b23","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.2.tgz","fileCount":135,"unpackedSize":832424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdItSDCRA9TVsSAnZWagAAikMQAJT3TPLgSpwC0eHn93U4\nl0MTPBtCcM0kFTXPuCb0a5qEiZHm5pMIjKP1+KIMJRZ2q+Gw+wDOLU4NaLRx\nBfqTszKB8JcMdRXDksMThFKF4Bg9yAFjanUeyf9BlNFddT9ESKFuLO+JCxIB\nsY1Q6045HctpN38Wbyi0AUQosUb44WwZoTEA5kConC8+IhVC1Ah2LTV1TRFE\n7XUpUj7rfreXY7IZO4G+9fpxmbZgllBcuO6USqUIHlObL9Jl2EphQeRLU7W6\ntSK+qNQBVJzzEu5ib0lWg1WcHJbOqtbtMCCEXPXhTlnZjzjbsjmOWWxUUCOg\nGC43SPShrJBlbMHdRRZqhUdwuMj9b4fZ/6VKSUdtllNXvzNCnOYFIDvWS+v7\nqYH2dEUzN2Y8LWFAa+YER5vU70n8uDnaR8Aec7CPORvNfuixXEXeR/pRS/Y4\np0C7qlytCXuShka0TzOB6yqjENczcJUwGv1Ewws2DGMrLLBFo9lytiwevjw2\nEuLjlWe5oDOBkm8+sCIBs9kcCgDnTS5odRpSkQ1URzorBB2pFtFIdPOXQri4\nAgSbF14oq0EuF60qFfCOyIRYyF684bm7N4eciJIgAf0oNIQKFHM7Awnsl1O3\ny6E40RSesycV3N/RxVx6Uj4/TBlCr7Lc2Ov4/EswbFIk7WpyzLnFRzd2+vz3\nWnsu\r\n=ivv1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhAjYYxY1VT7NR+adqiG0qpsEYIBlvxiUPSlWFH86XRwIhALIhe4UjlR0hqjWAC6h4Bdg/5kxMRQPi0n7OEY5le64n"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.2_1562563714656_0.28698944359548473"},"_hasShrinkwrap":true},"1.10.3":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.3","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"c6b435b23be636426b4981124de9381212293f26","_id":"sfpowerkit@1.10.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-5kawSxztZXgNdQYPQrVSWS/lZ5l3Nf9yDfMXViNyHFL4N1N6RqAMU+eJTvpHfrgLxEjeVHygRmEkTYbL1Lf2QA==","shasum":"415bffe62b7caaa36b2e88a9be2a3275ba0d3f49","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.3.tgz","fileCount":135,"unpackedSize":833441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJeSMCRA9TVsSAnZWagAAmuAP+wY72y6XybsY+YYXVhki\n9LTr6+iuftk8HSzWpgZjTOGIadkg291vSK7LaL+SbDn1KLvA/UHWIK/wBJc2\nfj3kS85tPEQnYf+prORWoJgz3E5rurQREJj5E6buqpVEGlTe+4+ZkHAdf1wL\nbx5SoLC/iuCJuKfrYq0KfDvpjFioO7AeuO+0kLFN+raIgq5X9PDGlHH7cqfw\nfoLqVpTKuxAR8Kddfvvi6s/ukzA8xJHcwhoH4IVIebID9rzlecp1KvvkcgCl\nTlIr9s8RissNOjP+7nwhIvr5g4keY80oG1G6AiLu2yUQZqxHEwLT0YoiyZc6\nf5n3hjJbPT2QjQcQtnA1Up+oyG9CwN2qcOfTPNbBvuTfapDtb9ahdJn4J2Xk\nOU+aZ+3OAgmWyOK3r55mbvy6pO3DpVgP8EM7wL5ItqShusBBZCYXGR96CqzU\nMOJeWwBdfpOem3xWolBoW4DNA6OrYsrhMDdVIinh5G+wsDs9n3TV4xQ/Suit\ngzyEKzpWe0oytSiY+ZFWyiMUdwdjeJj02InIDqBHS/oiHCC15Km/tCwnmppO\nSdh1+4Opm/JsGS8SqDIEPfQJZoJw4PmExDK1cdI+bFaSg80MmHK2HvHSykex\naojqQy93CBzdD9wkv6Lcdcy0pn4CBpkhhtG5EtyKvy+zAqLG4EHXsgASRESH\ns1cV\r\n=LDlW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB54mdn4UndPo7Kwm6QnZ3H8vUytDmUiEZ2SYEkp+2xcAiAVc0OoEwawy19ddtWhOSvh0ZAf6SqYkb+KV5+2I8hFqQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.3_1562764427727_0.27349989349897963"},"_hasShrinkwrap":true},"1.10.4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.4","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","xml2js":"^0.4.19","unzipper":"0.9.11","archiver":"3.0.0"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"c0531df0fd6bd73920c913c822f9495130c3b006","_id":"sfpowerkit@1.10.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-cJLqUgdPeso5LEYP7TtjPe3jVs9bRKxvQ9AQtnRHUNBu9yrDfwAhGwCHSFECyu2YURAjWwXR/ZOF0kRMr8KuPw==","shasum":"65421d3e7f616c9ddc2bac753ce02b9fa74accb0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.4.tgz","fileCount":135,"unpackedSize":834378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJsmQCRA9TVsSAnZWagAAvrMP/00Ais00aFGreLTye7w+\n8eS+u/8pbvwKKwenlatPAxUg45GvWwqxJuuADt3oH5lvFYTKbwgu2FdPtf24\nFpjFwDsS6Nc/KSJkwS7gAspBuObGoJfocqtPTymxW5YeXiP/5nv02ozVuw+W\nTJHZBjCaGzQ+/J77esc+AlxAOuQq4LlTRAgtCG+3F1/d7l9gXmao5cSMJzyF\nXPk/+AqtMI3u82/eY/XP6QSSdIHbch1pmdq3fir4VhBBaMKrLTAI727LGUIs\nUIi6EqMc/VTWV5XQrP4GeaEIWHwr3LNc3RXrSElE1eLKhsR6ZYVsR7OALHVy\nmzJVk4CbOsjlfA3TAM6APucqcEsWRtWyIXSGw0RbVR6XbIVwqj+STX0mXpfR\nGwt9VwkP12hj8EvP8M7qvvwV3hqMhQPXA2IMCs4Ikmzh7n+4SXvkKoQzSpgg\nimuc2kHcV0oLpzGl6PoSBLnvzie5IlhoeC+whcWgDCOpGQJAetRZk1sE3MaI\n0sZREQmXUn1vhm2inGoWEqAufRDWh1yzFTYxq59b9Tv19R7qBjtJIgn+BFub\nQhutGsmoBO0Se9OQu+AJ4LoZIr1E7wV5YTjQPH1wDBbpJY+pumgU+bvnyazA\nbIENfSwAMpPGpd4D2Ply8u6Yorwfwk0y83Whlw6O00Dq3VKuNWtP5m3zdE7e\nlefF\r\n=+3SG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiuW3Su4v9K6JmwyKvML2B9Pd9kd3tFB/gFQ0jaS0orwIgRxmDcZDwMkv5qF/DW9eX3e2VmCEzDrwanv0CYG59fTU="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.4_1562823055714_0.31160809319095706"},"_hasShrinkwrap":true},"1.10.5":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.5","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"2aae7fb6b61d4796075ac6a7df9b79b052d6c318","_id":"sfpowerkit@1.10.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Nw6bbG7+2MMFi9HJNH9IMkhrwW1oRlcApnE5pQYfWp9m+ME9XfF88gNmQKm6mbtiErxQn7UqC43G93iO3uoA+A==","shasum":"ddbb818012b58f741d6e6c58bb7655f87fa9f985","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.5.tgz","fileCount":135,"unpackedSize":834624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJy30CRA9TVsSAnZWagAAtwQP/2LrUqhxUre9l2nFX6NP\niJDsNNGlNu3uk8UKU1toHOuWMSdbzFH1HdvP9IPiKzPGfOHeNhgqOXe9FL/o\noq38zodVQOld9ovK6b41LtHidMUjIEF7WTD2flzbHgD7U6hXD4mMKqvL7Z8R\n46xX7ktgM84PTlONi81JJLjXhQBO5BH+gqum31j7R2E4bqPCAuLX1lmfanP8\nzDdRBwks4tac4uFEoxTvNc5wqRy38yRAt9rUSZ15vH0WGtOh0PN6MbRBBnaI\nWJ+9ULySI3vNwalt4YCrUU2vNg1QrHnilBmvbpnDZfyaRxvbyrMojWqy3qSE\nv0G1ovIcN3Ibh8bLLJVxGDwc2vxTwYGXT0MmP5yqAXp36RwnXs482oVHj7YO\nLqOsvyT7MgG+Lgn5ngSI2vHU1qAm+lPMJOZOHcrJgqQRzrwXHiyL9ypZPfsJ\niGywu79B+zJJun+TMylT3XDZatUaw7Zpao9hTp2vH3Rm9s0WnJGWNB4auIGn\njZmg08rI5b0znnTHNwxuMTSl4byYBjxwb4X0UpIJo0uiblGZLPP8VTvi668u\ng/hsoBjyFiDgYCH/Tyothbod3B85NC5KZXzGraT4oL0pwlnW2Q9dtaqT5Var\nm5xV9t1yqk92+j81ECibuakgj0H0iYUJNnzxoiFPm5Gjp7o5hcO2gVGOPi7S\n9als\r\n=LS4r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJnyDX5AdMUhfWvDHU85VnVW0d0kvoFlz0smWvPCQzewIhAObsZJ6VDdubzFF4llg4wtrs5P2roHwBCJOj57Ern2v+"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.5_1562848755100_0.7998383372148843"},"_hasShrinkwrap":true},"1.10.6":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.6","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"098624f36066da277d0991da49086651d95a6136","_id":"sfpowerkit@1.10.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-yMsuwbgsPh7MnKANMMj0Rct8YQjhHlN5cdWYiPFja1ITqlnenNLx2HsA0BDmBI6/EiUbU5Ap8UKS66ZYVF6Swg==","shasum":"312c4fe45a9cacbe4ac13207c35a807d4f0ee83f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.6.tgz","fileCount":146,"unpackedSize":862426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMbYUCRA9TVsSAnZWagAAiBAP+wU38TcK/Ngvrmpd12VW\nudpSXR/TnnabsmBxxHfExl/xiiuy7JtzxPws2Y2UjLx6ZyIOk5gFuS2sYktD\nQ/XwgheMuoeG6KOef5PLef/ZZD1l//ztvMOx6lWRwop+vMWJ/5wSXlJVGAmr\nNn+4CEGcbzAsPvfTfAmInERRYLPazVKZHNJrAtcG5jTYD0Att6bCqEiiJ74D\nA+7ksGvXjARwQQpYG9jnOP6XcHgIH9Bk3EM6YiQp+MdhY3WVPkbfZMzBLmEU\nDCr6lP34YIH4Or48nFLzFDnY+xHk6FhCtxC+Pqo1K7hNNm8XfNnz88w24vPz\n47zsdH0HRx6KKvmKfgI29lGCns7v0FmJ9GUN1rQTzoVmaWCOIv+kVPEAJnxL\nyQgUKprhHvOSaiWmethSw/W7NYlkK1yjm1BHUupJ82tfPjwjYfj7if5a0uyZ\n2vG5Qvt+wr0TQgDdua4XzkoWK5TEOlaltHKsMmFBHwyBsfpRJQfCOts2qqrV\nUPYmquXgMVAk+7Ltf2mzPoo4Zn7rCVfIznYCCDvThP8UvDgjPTIfF8uqLF4D\nq75vTJqjHovQBBt4hmT/U6G4RR0NYnCgUgcsJjt9ZSVCCuhYeAhAO7fXiOcs\nBlLph9iItbYFv/+yZbH5RV89W0MHUzeucGYU8Qkw0jTtuD37iEXOApdl9SCk\npI8L\r\n=h0G6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/1uF2tgTSqKhbX30jIIAOoyxUpVeUWRRcwALEW0uY+gIhALamJf5x83hx2XzB+KJp9PialcSG7r8fWLvoIUm8wCXx"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.6_1563538963089_0.7671418521432678"},"_hasShrinkwrap":true},"1.10.7":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.7","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"436b32f26fbb609be721616a6388f3e41771c985","_id":"sfpowerkit@1.10.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-qRyZpHP+R9IeH1sohvNH/UEPAPCJESg/gYzzqAqq7bW1oOowkxBLfvtpnwLbEwcnpZXhW0LplLpzaKM5ewjz0g==","shasum":"065748a2605448c21bcc193e4496c941ff533fc3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.7.tgz","fileCount":150,"unpackedSize":875660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMlpsCRA9TVsSAnZWagAAK4sP/iT50WVvdDW5ZAfriLtq\n0bJz2cUVQ+A/wsiXRSDQ96n7WcAtsoGVKdRwUJZsp+izq7J++np6T6HNvcUC\nmibTE3l5NkXvjZ8UdJ3tYep6mYpc8VnKvNxhHPqdcbFwQpaLcx6Bkqgz1wNA\nnKckEUfVZTVu8g561GEmZv+FhiZkdHGbPch3JiGFgg4VthZgmmxr1DUE44BI\nxE54m2JzbivnDvUezD+hMUcNrEhDuDRpCgmn9n1TCwVHYozlvrD6xI9LjG/I\nL9s7JqmM+odWVHNiwehCAI9ZbzrgOm2vPxpTjfW8jNG/ng+eGeaLXbCddGSy\nbWTpdjhgwur7ggoo24t25oyFAK4eqFpDcxkHU8uz6s/5vHpJUaxkK6wdK28G\ndrQiTVnymKDt89BDLAdFfXPtDkkIDMRsSOQ+hCPtQ/jXVz4Lwm4QcajEvJOS\nemBY6RiVK2XGP6yz9EOswxdmcn+TQtFfowOZzGGuxl28KJEhsQF5QBzoYIX1\ncsIjqVR+/8sMV2Sq6gRIPy+kHjPbVsxv+db5KfXYR3HwaeY9lpdB9DoWlj+h\nYvift7+2+XYEff30uGHB24eQuL587dpvYUD11bgX2hxWN0NqbOYH69fqqxon\nBoTkZ8OsMWs8xjf2ZSp+YjG+XHd5Gi0YQtOqFAWcPsMmVFLbNbiSpd5q/05g\nZrBT\r\n=eJTh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ48nlUubiCp63CuoIOE6Hafee51qp5ONQe8pDIav4jAIhAJANF+wWl8mR5u1A2bJtIDp8ohK/4jdmFYv3llR29MIT"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.7_1563581034870_0.9691303917337926"},"_hasShrinkwrap":true},"1.10.8":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.10.8","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"3acef87905b11a3746944304aa771c9d1b123dad","_id":"sfpowerkit@1.10.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-YZNze2XXzZTekomFKW2R5z/MEiXf67HFAnXY/987Km6pHcC0bOdR0PJ89joq4HTqZ6azpbbtWePRVm4Yk7vhzw==","shasum":"1bb6da8a88f99a30a5fb66eb1d328c855bba4643","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.10.8.tgz","fileCount":150,"unpackedSize":876343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMsxgCRA9TVsSAnZWagAAgLcQAJv0WqiQEN/gIz1zlaYR\n4l5VCAI5paQua0Z/zpK4LX530+/u6VOtSye5wNbrrVDRNwWuBLIaa7lAamYd\n9pvYfVQr7qxWzOnGGv6/o2mqQAlV6cQnHSN1IkI7SAwFwtaZC9ygu5ZS/YC2\nl2pTmVicoe0sLEJz/XMf0Ov0l86X4Nc0mTTtuFW/OYmdEnTgfvlyqT+MtlHw\n5bUwWb5qbe4ZnrWcleLNSMDdW9Lje1aAGT0m5kVnGUve809OPQV/fhKyrhri\nVq8ZXxNydBmrIKdHoLf7AC6m0mEB7CTHpHBcGwtGv3JZn5V5NrlsyD3e+Pkr\nIaraf0CL4CXCU09GI4+fSSb2/P6KFPiQrlH7MFSSta++hhEOZ4lOHAwNu3nR\nNtxGTe9/9OHIiLVht1XSrPCjFhcqDayINJUXjm5ytNKZd8wBnH3THtAF0QD+\nju5YAemVJdvNCMTHByMUJesn9x9px61jiQGljvwRJuF38EY6LItyMR2j6hKv\n8pjuktlJgNZqZbURW8BdDhggEm6S/iS+rN8vfCV0m80DN+2G2ib+LiQ2osJh\nHBtVtM+pPVJQT0HJiRUoMOx3EED9ZBJKnl5yiipseOoRpx8DEdQ2UU2Mv3LS\n2DnNaeiN54xADEjYc1Amv56pL8/rVdTAFB8neAg0S0OAjmWRJdNoxoG0LC+U\nZRcU\r\n=1xoE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHUrXcIDWsWmEM2JfvYOtoNLt3Oip+yRItZk71T3sNuAiA9pdviyd2MwnrNqzYaCtHtBFDumbORcc9LjNgBkcNpow=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.10.8_1563610207815_0.5939066891976905"},"_hasShrinkwrap":true},"1.11.1":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.11.1","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"97f0c97adfabeab998ee3c9b09f936409ae7ecba","_id":"sfpowerkit@1.11.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-iCM2O+rqfubKAodUAL7wtCVGgKwkZGdqVhJqvPBe52dYS2dSV9ldUjD9XE/uu4xyRpHPaN7BuYMthP6GUv8YGw==","shasum":"864f6ccadccda90448128691f5ab486848f43380","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.11.1.tgz","fileCount":150,"unpackedSize":876343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNP7zCRA9TVsSAnZWagAAhiQQAIgqct9xK2YxcURPtKuh\nwVYUdvoovTgDAU9tSCqdPnAsKe5kucemlDtPKCKFBzXiuZ8/HZtiBOamA1pg\n7VYh1eJZXyzdZ9E4azVBMXvZL+EGM1t2s29amEwEwa7QIuRc7pU9R9mFcuWv\nb1bl73K/u1szFUFwq6byzu+pGICLLEHmdVysbohIbfssPq2K7/ovUni6YaoK\nIrwyhKueJe8sCAZNbcR89RqK+bTNDa4cWKKyU2/9h2XnppZ7tnVdBROSpec0\nX29P2VscRTtzwPZo34zr6e8nvh3A24U13+AZH7rzuzBnj8hzivgzhyQIxMti\nBWQNIpZNPXVtEH8J5NYdhvPy8h449wRhCwWIWXCB70nOGpe4COTG3/lvEX41\ndyPAGJ+zrWRl7AFzQpMpvmTJEsj+vwT9+36TTrdg6pAcHElCOHkESp71Em5c\nV0bt99OsgcQjiSqMakb9mPus9Yjj+ynxwc7oc442e9mPndaS+Z6IH0ndO7eX\nsPufKQVoYjJUEVacCfNAyVHqP5FFCUimMxCSlCyYOSj7DQxMJbpDJIlsEzSw\nsdABb+R5ekzNDLHyqKIuSx+Y5nKGllWXHB42YdXw5K6SfvnZr4JnuGqYckFI\n8M/eQilfsnqxFYxXrJtvGCSe3QFKSBS1tOiK9rBOfY7qxB9mBymAKBvTGvye\n7uqn\r\n=+KBm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwINBpZWPzSF5q8X+i9S4ibhtZ+aZPhjZKvw1X22diLwIgbUcZ7HOalfbO/aneiHp+MovY5clV68VMZkVCvSMrmwU="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.11.1_1563754226782_0.8790603176081977"},"_hasShrinkwrap":true},"1.11.4-0":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.11.4-0","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"e78f68b58f70adb4791b0bddb6ae8e2394132e67","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx  sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx  sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx  sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p Core -d src/core/main/default/objects/\n  Scanning for fields of type picklist\n  Found 30 fields of type picklist\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_picklist.resource-meta.xml\n  Patch Core_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx  sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.11.4-0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-WueotH56jxFpC4nw/RFInS3BTsPpPOZAPfMoU0R29V9ToLTkmSQ4g1cWaLHth44YT75hF2TbK0trpd/8RNBuhA==","shasum":"2d8714c4d93e92ecde6a85aff464b9bcade513b8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.11.4-0.tgz","fileCount":150,"unpackedSize":877553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOo5nCRA9TVsSAnZWagAAeaYP/jSFgFC2Wil59NOqgiE1\nE64FnFxW/oX50ho4QMulKl8/vXJyaEpvCBfv32YGBh1dRQkMk0RD1/PPyKyH\n59aDGieOsm7o1yBPOyWYdgSTPR1KjEi6P9jnS9xX/qFwxHoKCpiGIe1vS54W\nwFYQ5Ffi5OWoVOz/b9cs/H2rqXWQ7cYn3djZzoKuPKcvVtuXDtE1shUKpt8s\nRuvGCmS8JEz+oIAxYHj0TSEpDf4WrfkHNjMdir51nGxNp+iBJxI9iK+aaZ5v\nTFoA3TDcN/WbLgamceUuo0C6mDZSYh/WpTCGi0Ejo8z5NeGUphkQAz5M7x+q\nnjIUlmY2BLJxNO+j3eq/vhDorLhPNXhCRpkdhjefvm9JjengERSXtGEcB/lj\nB8ZDZKHVAq1ORcR46dxjc4VVD7bQeniHHUD3BXqMfs5Ht0e3DNxLwkqHk2BK\ncN6/a8rxQOFEiLbO3Q8xwM95S30Dq6tgjAcAtK5weqO0HKiuvcxX3GbdqCbt\nafyNuRpe6sPFhuxGukuGbHIt6Eox129cEBYBhE3Hpt7jJc7aZaTmrxlMYHWh\nt5QkgyaykyjMwQpw8chwELfVB54d0e81/+MKwX35VuDdc/i9qXlMR/sfL5O/\n2TQctORV2WzEE+NMIic1OoH0GS99vRNOABYqbChWXPSJaCNQIWSMi/O1EAFd\nBY5q\r\n=4Ot5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5U5BSCE3ItBcTHMidGrQtKY3UiY/k84QbZnphrGA5egIhAN6UYaE9Om+jQADKeIjO+/Dphu3IjFECvW4Gj5MJWk1E"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.11.4-0_1564118631159_0.07787419153868647"},"_hasShrinkwrap":true},"1.11.4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.11.4","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"dfdcf239d9821c94c840f5c700d4e73446c1ea52","_id":"sfpowerkit@1.11.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-xM+Y7Qud3zcdVBhexgEmYXYbkK0NUTadiatx2dPhWe8goMmbT8xitHcRL4Hxw9ymdHrNF1eGVK0GehNFMlleAw==","shasum":"5dd5b4772202f38929e880c86c1cdcdf039c7ab8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.11.4.tgz","fileCount":150,"unpackedSize":877547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOpSZCRA9TVsSAnZWagAAQIwQAJ+VtnmAruS2QKG7P6rD\nyEoWxLccpMaI8FKDFuk+1pzooFV8Mwha8e3rdKrA6vD7ewTp5sHm/Gdn3FMD\ndn+HS5sUpAKPGIlJf0pFQ6DNnbSJEEddJ4siHWYHx/c6K3hs7T9NADUAW0bR\n6Dqr92nBfMGncuQ8jAYgO4qm1kqMh5+hG6I1lkAr0/YJZyy9uoKfnm3ub90X\nTjoo/PtRpwNbFgOKvnmdFJSI54Mot0foYjO58Bu4xK2ZBhvhJQ0ZXC67+rnk\nM6bA0DknsNbU59r8Nl+CDNpJkv+IEAJI/eBwhF3rmPLWoQAWC/guHRJ3/dVd\nOmZUj61wF7eK5USrPNE8P173lr72mVHHRY2wCEPb+8GfpeilddFL8oiBVdri\n+UFtr6PxLgpFvbzDdxVPbRRZHKbtEEqDQUPofUVhZ+/7X+qsGlmTHIbvdsn+\n+4eeepTXuPIe5z/lz/9Rj/Yhkymf6VVrDuVaslDodiSveEuc1PiRXuntKU3u\n60lMjgflbo1pdtbCJ7O6ci6sd2TB1CrYHmwSfSOPnxbIAgiltEMnlccsbfY4\nQHzXgaPkewEuVOahZMg+3xNf94iMyGF/piPlZq4Y47QXfn9vi1i7Xo4GCPpA\nlnAqwGS82JuHzzFNt4hl3QrwLSkSe+QhUPXwZVoSqQI3pXJn4GnDHZY/DPxI\nMxuC\r\n=ZOMz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoQ4qt7+rAtrXgY8lTpW4io4e99QCva6F7d3hXD8auqAiBT9lfGg28XAj+ItJuDUm+vh87ggO0AVh3mk4baUqA6tg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.11.4_1564120216451_0.7702680406597937"},"_hasShrinkwrap":true},"1.12.0-1":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.12.0-1","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"342d471bd173b95ba507ab3879cb3bcb270dfe15","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx  sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx  sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx  sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p Core -d src/core/main/default/objects/\n  Scanning for fields of type picklist\n  Found 30 fields of type picklist\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_picklist.resource-meta.xml\n  Patch Core_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx  sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.12.0-1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-NPLgtdJubAuj9Vw3/w0BL+KaOemJkp0j8bbF5shHh8ZBkjFFX/9Rn/jcGsIDQRfHzZTT1F2br6VrrTjxHJKeRw==","shasum":"2f624d058899d067ea6b77d3c7e2e6fe2aef5216","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.12.0-1.tgz","fileCount":150,"unpackedSize":877553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOpceCRA9TVsSAnZWagAAcbAQAKJxDQ71IFkpsECGDP1e\ni5MFYSmKh8+2mtiKA/pywqL73J+MJTb9ARdJrhoWrGBG8pY+cQvhq7m2uly2\nrgpJPJ/wzysvKexqLXyLONufgCY4YGwBJLrRp5krkGW79I5HYlqVmJOdZuGR\nEBLdUoerbIRRwLvyl1EcIAQOsiQE71YtnxnvRNHyg1YVWrDDGrrKoBsM4Sn1\n87ej2vp1fEH3GGRsf5GwidDxim+Ng6fDWIKQRKv4yx9M3NRuHZp7rcUEQMES\nVXTguR3m1DXCFm2qzrCNWUNJ8SP5MvHN5gXzKyIAao0kCU4DtqamdBcdpGFp\nXNA1SgpO/VSiegJ6Mvb+p+8F2v8BmMyylczjfVz3RIzo4kgBlNZn8CRXk31f\nPK9c7DZJQuS5dvw0EdjbRE68XuWzfbY269FeLvFNHlqitVvaLztzrBFWZwQk\na4rLONaJID2EKMkQNzSwGHcPJvsSJCYo04HORgEmUapG3FEh1iJnKHS8fE1R\nkl/HoF7VRxjabiXPM/CppXPSzR7QV/X1q8vpi8QHgQLpUVSs4Bq5xKI0rSeW\nfb5SOXfvI/wmVzSgnrGPgEdTXhYzn3DuJQgIvKkCHs545UUd2280rivLYKYD\nasdiYKbaCVi5B7E0tMAlxG7iKwHX4AsWukZtaakIlBO0yvxkNNQCDtX75oWg\nn4yu\r\n=v98V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWmXJtfsEWy8NtmtIxcjTqVl/wn1pzB8wkSUjlLd2VZwIhANVTuw4+tm8g1V/1S+kf4knQTCcNHBcXEGPFh8eLaVgv"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.12.0-1_1564120861772_0.11869386639516777"},"_hasShrinkwrap":true},"1.12.0-2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.12.0-2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"101df9ca4fdff7b672bd1829d49caa66fc5b2fcf","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p Core -d src/core/main/default/objects/\n  Scanning for fields of type picklist\n  Found 30 fields of type picklist\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_picklist.resource-meta.xml\n  Patch Core_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.12.0-2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-dT986dBFUhfkGzuT38KTC/9eLk/O7ZNBJ8DTpTXFlU8MS3Giqk2t1IBseKNYd+vvFMuXWBlfPfCUnjX3WyBxqA==","shasum":"169a8639720ae83dc20dda2c07e7f42da2cbe8a4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.12.0-2.tgz","fileCount":150,"unpackedSize":877515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOvHmCRA9TVsSAnZWagAAqpwP/1XpBkU6x4UuXE/9FXXt\n0MbmtCNuPhUsCUv1JdOPMXRQAESNCKPhkFZifQvCmRJWYmRQr9cwdx+ytLRZ\naEFgcd+UuGADDGyZknWTXBLC+a5V59K4kJK1bFuYtVTzjC0cfvJbGKSgFz5r\nxJbaeoL5ik6/yCpBZ8GxPZ0Ueuw90ejYzwt368YdpJO/uoi/DYMbCXmmRAk3\nh+JrbalcYB0lG798Or1CORFGa2zVufbLNeW1gbCf4BrzaoXi+fIE/i2fXpsT\nargakE01YYnuS2lKNgerSx9JtiJ0ElggviEUQJpAVPkt+GFAnOm2aWeQglPa\n8nNrU4VdUEB3luIrDPlqMkh5zM0hfr6K3/nrQUAhZNamT4NcJvdwb5/ZESj+\n6ml9lCBLeKwn52F3DSfw7pWrqN6lAgXogJzQyR3C7lVBrqWnU9w6p32a58xq\nCclYIV39YM9Cwr70YDizCcnxZdgMFJYt7mcbe0cakPa8cy6+wQVPV9fmjbvI\nCv/IDrIs4N4dIWBabUl25dh60RxnXwPcrxHvWS221aKRrN3FUlIJT9LPu1Xz\nbgM9ztfPHzzFc2D57+pBGs5H8ZtYuaK4l7jlosT+Vc+Vm0wApu5fOdGkFgvx\nGz0CD/dKPN8em0Mwv0fH96xCtPQQzkQ+gvZkJKHueqb+1o7eeEy+4mo8k36+\ninQ6\r\n=2EZl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYJd5xX8HZ6i1pISIxRpCoLzKIjXOicPg6mj+ZikiL2AiEA8CAdax9ZWv+i7a3fKzbfvJZQ0WmVv/lKy4/OTQWkoYU="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.12.0-2_1564144101339_0.7790980053726655"},"_hasShrinkwrap":true},"1.12.0":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.12.0","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"83e3f92cdfdaaade8bc7e36a505948469082d30f","_id":"sfpowerkit@1.12.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ilpzIWJmRGj0BENNkfizIS9M8gu+8+Q4sEoMoUrMhS1ltdf2GQEfrzqD78wRf0k1v8fhEJXU3BIyCO6+xeJ9og==","shasum":"980aeb6ef9403c3f29f463af062edcc0d48e112c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.12.0.tgz","fileCount":150,"unpackedSize":877509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOvjGCRA9TVsSAnZWagAA5L8QAIn9L9vrBC6vaPQbdVSx\nuQDdrWP43UKBHfKyla8TBKvQw8bhOCbSiGnjn0V0s87nXFiaBz9igRiuz0FQ\nAB5GDRCL9LKxPmqe3o40d6wGVJ4TTeIYW6Ud2l1kPqsNU5ZWop6DbejPcMn4\neitgmGrd1XBnOR284N2E9/6grxCFokh615pwH8EqCqrjbl2M1Owzo1pjWgJR\n4T7rzx9HPnHEizRlJ7DI2PF7YyGcCXJPq83GHbZJA/NpVfBRXfBUHneIRaHc\nMrdEF5DDg4VbnQZFp1pe37XdVwhSk8qp7CGx3epBb0GZ2GvSMqq9GRUFLxC6\nNxOIZBW6mWGjMIQ6NNYd8BhgxbKOJ51j3dRSbQcVOvVVYiMVFccXxV02mQOg\nAAjgtfCpdoMthmG1YtsTHScbT/HjXIEg873sJsY+ApTnsQqKIarNFZBZJzgv\nh+S7EfAgG675/Dxd/tlwVWjukkO1JC35sn0w1c1idRMHy/UYsrKPRcXjyGIu\ntQ7uh3hIA9WG4YaFfyFaxR1ysVbvOfXa0C2DhiGNsqBjFI89z8nAjAkF8Qvn\ntNYSzD29AafSGqbKhd/VLjOpWe6MeDUOu1pr+HCPtKD4wnWs8L5E/DKmhpwB\nF3h30HuCc3RMdt6lX32w1iEH8OjoB5n6hXULshXXBmGvIFk50rK16JaUYLsa\n/Z7s\r\n=8xGo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPtqu2naQfq0xzSoi6SEcxBU5wTc1/tMmcAMBbKKPXvAIgM1ikPyh0juQ/+cnhC0JTmDWdY0eJ9+ibP7VPAaAETd0="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.12.0_1564145861260_0.7892570204291434"},"_hasShrinkwrap":true},"1.12.2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.12.2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"580352220e9a4236cd9c1d067db3f39a8c8aa59b","_id":"sfpowerkit@1.12.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Yo9DspKKZWYJy1LFVF5ZQ1tYaT0yExXM5Cxohl/mZIplh5hQANU4FaileirSHIzfGMEQ55JLWWTAkLwC5GRLrw==","shasum":"687910720c69bf11b9cc9cf96cbe4a02fc72c7d7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.12.2.tgz","fileCount":150,"unpackedSize":877509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOvv9CRA9TVsSAnZWagAAtuYP/i6SVcnD43RB0cTKE9J3\nHaQBI35IFOEcXbrYKWdqJiIE8dAH9Pp3yZQ8BEqsphqQJ4NrOvRVBSbN8yqu\nhENeM1sEWJl3tnZMNUmA08WZKgj+0OH9OKpDs4sfWe6+XTYiKrVikVaGYBQq\nEWnRrn391bNXyPkVXzBK2d7+HD/LdSDfB7Lwybal3uPNEnGCuARc4EJ2vVZ9\ng1w294Kz2ki7qOr0an86JJdYT4QnS04NtDHAKEhZXwbOzPvsU6/c3boShSY2\noIolKAisDSMzf5j0+od+exusMBMJV9tHduWWBBQGuyg7WuULg/mX7HHQfb/g\nXjhU6OD+kl2rtg247ElNJNRH9wWZSZrLXBImMV9QJBIgi/An0Ph/II1Y1lBY\n39SzxtAbNU5y9tZcjySb1K4c67ZCZ+mjV5rP+K4J4vElIFU3+OYiVeuUHm83\n1E9srqxbYbUOT1mLH+/G+CkJL4QCV/t+bEFwo7/pC+nB7f8tKfHpJ1hgQKvE\nvEaxQ2a6khVDd3VxgkRSiAGkbPBv5/1Kn5OfsQwZim+GzK9vE9tlWp41omGQ\n/h7Op1VxzsR+pKI3HASy5g+ymAEG5tFursRuTf5aDX5bAlY+FSNNETnG5CBR\npSAW4c2aFz+mVqtj+fQ+jyZph+fFHZdM68rXzmXqFdaIipN/03WS6m4iwNPt\n86/7\r\n=VSRB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEBk1bVQbdknlUZuW6KiddniKmJsTcYZrM8XVvxxly+HAiEA+slDMdpEmf0p+kXsIlUPkql5xabRKxcogalpwgU+X74="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.12.2_1564146684784_0.5943805717244366"},"_hasShrinkwrap":true},"1.13.0-2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.0-2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"f4b569f2f84579559f33432c5609b810b35cd9d0","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p Core -d src/core/main/default/objects/\n  Scanning for fields of type picklist\n  Found 30 fields of type picklist\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_picklist.resource-meta.xml\n  Patch Core_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.13.0-2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-7WJAWF6BDIuQRb6VWUMRgPs9lMvr1XWCHVpWlpiSDBBv3jhogR07ykN7TeRlUv16TKn3Wn3b5c1rQIKcZQeMug==","shasum":"c35aa9d41a90944a83ce1f7616351c3390cba833","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.0-2.tgz","fileCount":150,"unpackedSize":877515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOvynCRA9TVsSAnZWagAAVTMP/iwepIah04pW3j0TvpKx\npysOeTqt1Kql5B0S9mVzlEGI+7IUkwjnccc7aoZupbaz2GvcmjJgof8ghgY8\n2iXAX20sIObvD8wM/5HNuj6yTCp1TCOEVp3XT7HikPwz+sJ9WtHqm1M01YdV\n4jPfkKexN5lCcbeyRxGOqqh6knCbg0PWzeGyk6OXbihPTeikUK2HA2FNldX/\nw9ePHIjkAOUIjUvInGVzHoLjcVndOC21JyBkv0q3ZJx07cyknZrYfRhpRsD/\nbh2JbadA3DxIT2EcXI/7w39t4p9gHdJ858devfsbAYx0tsjrGpEbocV5tH6Y\n7foRnBdBzA5IG7jf3GzUO88VMSno26vVtFZJdITBZiYLGes7sW3ZMmZErBc8\nRk5lKwI+xJpYkAO1tm0ph5hz+9H8+a2ah+d0Lrp236Ga6qKbO21sSJdzyiLF\n7X5PEU1qpcr6EUUhnSJr1Qw22FK0BWtLEK2HWqNmGvxkrNfsqE0IAwj+sKNa\nu+ZivZ3/08F/P8ercICf5nMeYniv+FmzO8DvpmhyDtvSql7dC4Y4UNz4jb4x\n4KyCL/US1vBNZQKeL+O6C05Av3yjwz8J5LppJ82ElpXv0YNCyezbmZZgcXYx\nsglh67BgL5DyCwKrqrssy6ltNC0nF0yvfS6PrYI73BYnJCrxI/0CeOZklrI3\nolQm\r\n=uEUs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUf+Go0BeetECJefbFO//JZVpUkYvPkn9L/26lwSPBHAiAQ0C+Dq9nQTWBMez2tMyBt29JEzUKORgffg/r/a0ltMA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.0-2_1564146854852_0.8476263803924833"},"_hasShrinkwrap":true},"1.13.0-3":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.0-3","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"9f637b997fa9ee0c334334f9c8bd328d7abf8a51","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p Core -d src/core/main/default/objects/\n  Scanning for fields of type picklist\n  Found 30 fields of type picklist\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_picklist.resource-meta.xml\n  Patch Core_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.13.0-3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Mmdnzc8A3U69dF6XyLC1/xgIoS8LqfBTBKwtQIf30W+VCCA00uieSO0DACMA0fru2b6Dbu7dDt+8jGZprWK84w==","shasum":"f3e730bd808daf31a984dd8b25dfefe368e3c6a9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.0-3.tgz","fileCount":153,"unpackedSize":879832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPE76CRA9TVsSAnZWagAAH48P/39z04kJoxzrcXBleQ5F\nA/UPFBS+iILMsvRDezTccrWpBFE1SOVjUDokvHb1z3SOU30U2yYjfs/NPfoC\nUfE7MdGaMTt5MOweAVstvBsM7745wvcBkJNh6N9Grd7+pvnW5Tx8qUxmBSmH\nSbgR1yCRTBdX+Qa+Cr2rnzesKOIDonLN8o3rPQRgUFid8lr48L3GN2r73e/c\nh2XnqUi7lWs8BZUyYFIZmxej7Vzf32qR52osnSquel1fMw3aBdNNC2MF5TL0\nnK538eEpRLtNGbgGbobvw1ZiWklwuXXmRmTXvR9Eosj0Sz751QR4HhnV3aSO\nmAbJtuhf/UozNiN770sKMTLyZbpHylOCrfBoShNrLLaImUzX6zpTS9Sb8iJJ\nXNORQUKDc5GSB0H+cKF69ok5w2zHfw/slX5dU7PpRfR2R1VCZZWb/SvmXr5+\nO9e4Y7GcKTKbVFhGuJiB3lwed9Hh2yLmkAoHSk6Mh5lw07HXiASk5PKY9UWF\nh//PWa/cZtesvlYIGBq4nv3lpiF1vHT1OXbV2N0ij6hSXrjf7ggVvc3eg5Tj\nB8bhbvoG+8xICk1uquVEzBl39Upcib+qFIBQuEIRZHo5cD8ooldXO8OVTfBl\nISCREOqpE6bmhuqUpysdtFkjDzI1E/n3XNSML+d4Blm44pua8PePGiEPqlco\nDIbZ\r\n=h+YV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzAQLlgQHWjdG2VP2rBSbofxTyNAxKEhPfRc5p8/d4SwIgW4g5DiKUqIUPb34/oj6sSge2oe0JNv60Znw/OeaEub8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.0-3_1564233465631_0.5694393165586018"},"_hasShrinkwrap":true},"1.13.0-4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.0-4","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"6ac5286227804c4cd61d7d3a24b0878508e3de72","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and create a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:picklist:generatepatch -p Core -d src/core/main/default/objects/\n  Scanning for fields of type picklist\n  Found 30 fields of type picklist\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_picklist.resource-meta.xml\n  Patch Core_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.13.0-4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-zLCcU1hOi0ZE5/370ijTwUdOq/YxMZT6omEXuxlyW8fSu2seQL2VU/R2rFGuged/ZmFISQvaWYOJYsbYWlz44g==","shasum":"bad4a6bb427b98d38364862b2361d41b31e59cdc","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.0-4.tgz","fileCount":153,"unpackedSize":881483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPQpOCRA9TVsSAnZWagAAL8oP/1k4yu01spNobLZcsEfw\nFQUqcOhCL2Fykq8FtS8i2p66aV0DURGpvW5npsAhzcTcE9jts/bN0QqrvGCn\ni0s3v+L2fq33c1d+awyERq6di7iiEO1o65WqAa8arVs9See3WcmxgyVEkIPH\nciY7vAEvE0V2wiPBBdnp0iO2Vh2O6GsNcjfcPfBs/Ij16NRWpMFt417nEnYV\nVVblEUsqW0VD+DHaDiAxFC2HW9O0uiQLFrLMsDYVchcn8OaIUJyC94mYbrH4\nkztU+cAucFCWE/v73Y4OzbjzSrCv8r0ugacnPELUsagC+TCLNarfZknAkeKw\n0/uuZ4qphG0fi8IAzetM7fjPGpTHFuo1WnmoS0yRHfQfBU4EEif+mg2Vyfxl\nPBP27g5nes0MyfHOl5EwJEDyJjoQD5ojnyQ5VVGUtmywsgXNkUc+FxkeuKOc\nfBMZ8e36LtWB+jXLPBwAP0kVcHkB4k39pXKpyoYd3PeoEwHGgiBtToBTKBiY\nptlBccZyAdYFDLP0aJlzFOgOW0v2w3yXK07MWcykYe8F1hZKcOqpcDtwLv9E\nwtZ8TWxRtVaeEi+uzgV3veyR6OAI4eUUWkuutxaJuoZFTbdekjoKf2LhUNaV\nAT9B9jkv84LQEh+60zBAIv3BxQqUyeBHdpsgbrU9xMen8rKaZnNhVa++QmJj\nDfmW\r\n=xory\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz1POSpuPLwt2dp/bbl+vu9CY+jT+XNfZoFyglukHl0wIgaZZ+Dfb3QLnPom29aZgKSZtDykFOdOA4xD+AkVe0dKA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.0-4_1564281422053_0.031176109357390347"},"_hasShrinkwrap":true},"1.13.0-5":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.0-5","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"8e40340ad4db3b33f93bdbabdefc2b4dc5327c6f","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and generate a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package as well as issue with utilizing standard value set as the controlling picklist field. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                               Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.13.0-5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-yJfdSDu7iShWcUTiZY+pG7C1ptrOrl0ZONpdNVFXd53nfw0MhKjfa5t+dko5J48XSmDSCzrMefC5Gkp3w3vKMg==","shasum":"b1eff078ac0cbf3b19d0e5d28b399bbf36992c9e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.0-5.tgz","fileCount":153,"unpackedSize":893838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPpmYCRA9TVsSAnZWagAAkrUP/2qprsD4xAzHgxoFBtit\nAga9hRxXAtOXtanP35IRVzW2xf3AbejxjolOg0OcuJnq8xMaMJrRJOxBc8zA\nK0tNp8EBIDM3SU7ABeI259yn5vTHVxPFG1BcDNyKqFUc7iNls+M3HYywynR8\nVcTqk5xXEkrhFeDXKQYWuvbVIZp+CDvrbcNvChRxiwJBD9SlMS/aK58enuUa\nGUS5bK50knsVc+PJbdKHSud1AVA31M70KS7962x2/WM070k4KTfkCffGbEgG\nSfwpFtURlvG+twLOebuf09Qaja39YKTc7aaBwVVYkHuAkub0ssChPtn0tSa9\nlq9LtODcdOoxnz0fe31xz5lYj+6lwO8FKGbosv2UFoUFNp9JHrM7swnANU23\nmT01GJ/p2E+Dqx0pHasiDPYlxBK1OZLaTfgJRBDPiyKi4mkx2yO6KSZ4ZWWj\nfO7NEV4nRFhVj+jqS9xpVgHeXJ6H3dgFNHc406SyqeoAhvjaXu8LGN1tPhPP\n6KCx4Zu8yVbTUTZMEcfPdSxqOJWeHnH5rKt5BRC5JHDXQ3/5XYIrSR0YWA2E\n2+LE2xMe2pbnLUbVjmpPtGnO1v7bb0UD2E/r/laPe46xWkG8VphBCdqVmZfs\nlKj1Mu2AI/J547+h/1wqOeCRkeLQRbnwZ3v/nLyy4hYN94i0J1+LXOJ483ds\nOp6b\r\n=AZf6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD21ilBffkkZmKnjYU9DkMRX4AVzMpD3c2UyrzM3FxDpwIgEDGly9L9Ooe5Hh1EXaLzgkrWVjIFXYBi77PTSHS0YHs="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.0-5_1564383639256_0.1175405175078319"},"_hasShrinkwrap":true},"1.13.0-6":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.0-6","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"15bd234927db7bf1d901a1a75f32247700e6bc90","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and generate a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package as well as issue with utilizing standard value set as the controlling picklist field. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                               Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.13.0-6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-xe1Z43hRnokFkL0Wp7iZvA9bxM6LueYm+9M+qg3kmKxsHk/I2OPJICjiDRij9Yrt0UKWztiBCyO0Ifhk+AG70Q==","shasum":"b7d3b388fdcf3ed4d5b101c167a921b1fdb45066","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.0-6.tgz","fileCount":153,"unpackedSize":893496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP9UkCRA9TVsSAnZWagAAOHEP+wVLBo5Cow4sJKMYFm/M\nzomr+/xq+StVdUKDN/WldgInsVWoLOSCxmXUfLGstyYtd05mg72ECPdNKxST\niBdixi3qRmgCcN51ChhRFnZ0GpWAnYR3ZcQGfkWpnbTYc2cvPenIXF62KZcD\nttL9FYjX9WL3yh1c7qpbUqQnKbWiGeOorN1QQkXc1pH65PBnQIn2j385ZHlt\nNQoYOUssxdSpjSb0cc6IxBkA+UVg6Ow74qIMQuZuaFRlYiOrNJsKy3cnRSUx\n947btWURYkx+uO8B3ag4HtSPYZZ2I0vsVfdgBJcSJebl67M9XJHjmYxo3PCl\nZoTFo+nLcvKHYBtoe0wwWCe0Ml8sujGNTGowGmk/a7loPMUH6QVu3zz32MxO\nHBx26bXeZu6GhKKWOISjqkUwfGxTBI+HJ0hNh/MDn8rxkXZ7y9jWDp41iYCa\nG29iDkDPah3e8zzOL9ZfNGH+jEX7L/ZRX+A1t8yCJ1Z3x64YTkI47aY/kIet\nVIoPT0E4HDsGXw4iTi0k3XYxpfN0JBl4F5Ch0iFGWPjMFJrVoKZ1Z4DXbvD3\nrWyHNyLBxSugtipqDmKoBoxQD07Fm5qRuvAcDTigckl4uRudFuvPtg88kRWw\nIjmm3GNU7YlfYf0KjtxLOrfEgSNFYa6y7htJysFo/reaMdb0wQkEi6XwV82A\nJkpJ\r\n=eKht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWT+cjEu1HlMwcY/S1eCR+mquxdAuiA1amZUZugBm60AIhAIi6ewUkqHekpYTQmnBl8PZXTJ/aeNYDKaI6uL+ovAwk"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.0-6_1564464419767_0.9819464430804379"},"_hasShrinkwrap":true},"1.13.0":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.0","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"53d5cb84e930c90fa3de820846031eeea7fe9582","_id":"sfpowerkit@1.13.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GXZNqa0WGFLov6PGpUvMckiEZVgK4zHMvM5orpV/7j2UROh2p0//kxF+z2OWYUx9Zz4/w+5yjpT8+0XilUXx0w==","shasum":"c94a222b9640fc47e8fe6f2f240c4c510429ef6f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.0.tgz","fileCount":153,"unpackedSize":893490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP+unCRA9TVsSAnZWagAA6kUP/R9Yt70s+cs3LDXSyby5\nNx9kv3bbJLQ0J65U0/bOlrHlrM3oYd7f0HtvDhD/wo5eSCJkr+/vlNlUsm+g\naFSjjJzWCr1S7BpAx1wAEUFK528+cAR70H1z0fS8gspoOeqysdC2z7aUM8gu\n7nbVJBIacQQpohc/LNo2fLaqgSjjILEeXz3hA1ds7zfBrFoyMQL+Fd18bRH5\n+I4lsyia6AKK9WbOZLbqANyqpb5Rmpv604suZtADasq8s7mjJWGzhVkkNAHA\nOQd+UhEldJt7DXI3ufignJoss+hrUh16WImPerPqzUMNjBA2Gfb0vel7qGCG\n6SoRMsjuX9rwBXmVmAw4n7zVTxf7sWrUGdB+fjZE1aGdkYh3dNqkpIoQmikl\nbvHIZfOW/0mdUQXByfIYwaBcUrzv86AklJOaMcRQUxITraNjoIkN8qA5rtXF\nOiyshJLi+Y3/0hENFnz0uum9U96Trvkp4OLX14vnL1Hbb4fLEWageQNQwCL5\nKm0RsmBZvZbFLeJ8y4ViUsp6utmFDPjcq7QibCVnDpE3c2x+G6amV/CFeXfn\niESMgsebcIBoTYPJWufpaSKr3FV/7UHspBctDB7BZnpiDXP+Cz9qoBuOkzLZ\naoXdrPTWyYQ9O6SrdFDk/wFCd7XpgEDBOZJtUAXI9jegFOWPs6icmLhn1+Rk\nmvxY\r\n=GFvY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrxWjwbvhCh5IENQzioR/6mGjHElVQ3Uc2ytS6Vk1PsAiADTDkLQFEmH4ySd8qGxjeZw1FooQHOCrAIq5KyINd6ag=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.0_1564470182940_0.03029709451428153"},"_hasShrinkwrap":true},"1.14.0-2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"ac925e44eec102524967f02665ddd370ca04d542","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 for metadata api deployment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:apextestsuite:convert  -n <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and generate a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package as well as issue with utilizing standard value set as the controlling picklist field. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                               Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n ","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-iORYoRbpUE7Fg+P8l83KcWkQ4KXbG3tSil6Z1jj7UXAyNpJLvByFMHbXEvUlMGX3C4ZBetbuOcPh62BkCMZJxw==","shasum":"a21dfe64303c0b1b0d8a7bec41f2710b431a93ac","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-2.tgz","fileCount":153,"unpackedSize":893496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP+zJCRA9TVsSAnZWagAA6ZQP/AzKALWlcOkHgY5pp9Su\nQnU2jeifVOtPVrGT6LJdBMKqxJDEAT5UryrnCj/BA0/V7DJ8RzXrb2WtPVb3\nLMj+16UFUg+/Ha9vbuJbEXN7OmEjQ/wlnefu3HgBigz3fNXmQLC0sKK6Ke/B\nYuZexCcpie1O+eRPt0/gxBw+LsbGj7ZMY/BcEqHSz7cltXdBJyRLz4RfnAUv\nJ8sGUnsYOLb4EzESYrRQ8HzscT/c6pehaR7lYh1Ah1oPMxxWNPvmXVRqUpOv\nHENaSzPsv4x3NRXpoAlL1lXxPyTyl1MUkPUtP2/q7UN38NjE7z5r9h/psxzu\nKsLgyOMxddc2bij4PxGjf+cPXP76+2rJW7gmR2hZXlBrftfhTB62DwMovj9D\nWFZmqWERNr6XjI8mgC+ZybvZHvqFjzHi2IUdrAUkAhrth56AZslx/RFOB1ut\nZezJ2yzLv6WZ4YaqNTpNWCANAbBzOEXOjwaKkVN5TFhy6CXzVFqcdYBTYrm2\nODaNr8b3MFtkdrvgXc86BrV+JPoRyLw5TwVF02AfkX2RAF9mUyk+gepfJFev\njHMXeSwA+Cs7mo5zzboaeG1HBcDw5eak+VpHEUUpwYtHQ1koNZT9DekrPh2z\nd3ANhtw2ZqtzYCvPlsM2H4jLZ5WjDhAwwmxwPcQhfaClqpe4WeEP6wzVhwro\nFl5y\r\n=7P1d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhCicmP6xb0VHiHVs8fllz4gqRKgS85sLxG/tCBCI3EQIgRh3ZWsc0qTOCnS67SrbFDPdVYmfdazTNs4SG61JD4Vc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-2_1564470472939_0.00658781867704783"},"_hasShrinkwrap":true},"1.13.1":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.1","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"5fbfb5dcf588f9201edec4a5154c3bb15fd1a7b8","_id":"sfpowerkit@1.13.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-EjCo1DXOU55e9HvZ3c9t3NinMnmDLsaiuIwLxlNtaZLBbSEHZMcd1kQA17gd68LKcR4ZunI5TVvfq2Yk4PhB8Q==","shasum":"0ee1b29779dee60b9635f29931ebe9ea23d8eeef","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.1.tgz","fileCount":153,"unpackedSize":893983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQCy+CRA9TVsSAnZWagAAQAgP/0vfFUEwHjlRl01ctuew\nZoFT3uuQsJNXe3Cf0FV17AVIZwQVJ+f5Sse4DjaVIU5M0Tsm5tpE4Qf1wUWy\n8Nv91BrKJ+W8QCw1sKS33Hl1kS9Lxbhq1gVSlwyZ/k3FiPPLbLb3C+a5lKsW\n8aPIV/Y5BnG2jIM3qiekr4p9nM16cVRosmnv7Wn4KqChqSHY2xwllUjobvwz\nQYNGBXD1i0A6ZiEwV/Is0TaetjYzCphLNW/y/dStmKDMNRVF95t3SZCCVWGx\n210YCSPO9qJIFginARBWAD598Dcbv88jtIOUgRu0N1OqcYl5vkEQpeZZEWVj\nC2ZLfbTPwwo/+kINA+1sb2U/3502/U5ojmwTNmsorMMaF6mRDwxM5VuPSOUG\nBSnj3SHS58yc9MiMRdxJ91kedFMxIuvsM/0ULywyHtdK7M8NoBPOIv8OvFBG\nteOqUhVUkVWyBvmJLUsoSPYvqsHTGb8eLt2vHR5wE3Owwr0nkUp12AmxRqwn\neQhz7iJeTlfi7/hpbFEcqAwogL3k0rv72AygEJtGsSHa2HAzCrl6f3gUXriT\ne/jvtEX2wLa9XWDUtADxctV3W4yDlSQXy9REe5XLFjJ6oS9jBaRUWfPLvOaj\nIxfT8FcRXf2sIZ/t66k3QCUMUBiuUPto1qYmgH4m+aojLC8wFm87eB1tRGFT\nN3H1\r\n=sEfP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFWAV274IQ13VqyHWOZVbI8vAWP9dCtxvVns7PPM9YmQIgbIBUC2Ys7nB/fS8AF1jZuKdMazIQoD8aSvs+aLCnzwM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.1_1564486845533_0.9408153177856624"},"_hasShrinkwrap":true},"1.14.0-3":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-3","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"b0605a77bd4e8f19d0f73f65fe9ada9e38dc6912","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\n\n## `sfpowerkit:org:duplicaterule:deactivate`\n\nDeactivates a duplicate rule in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:duplicaterule:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and generate a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package as well as issue with utilizing standard value set as the controlling picklist field. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                               Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n \n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-JwyIYRYG2kmWu2wyYB2wGD/fCSW5F7CkeMZPuC3Gpb5qBJ9F2xrPbqFZ2LJkBLvli1fUiZWBkjMCAXxWI75Pmw==","shasum":"d4d062fc6fadf7d48bf0145e7ebc09431842c44d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-3.tgz","fileCount":153,"unpackedSize":893514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQQHkCRA9TVsSAnZWagAALQMP/1YPeeLgJr0jhfVOW0T7\nQEZUUHKJT/GL1rj8BPGyGvxYA+ZNUsvoVjsSHo8SebUZtUPLhKK4Ol8uWVdV\nKacEIhG05n/1rOpcMbOzS08FsKs0XZKgM5GztPiPhkUfp894nTF7arW5qTXr\nKxkarD1gs8ZZjb3R9cjV47uUc6N/4rnDXwKHAk16HHGV4ggpsLn2ulonMwdt\ntsJ9IIps/R9eMjoFccj3Fn6jt6MIKZASLd0aIM0n20LDK01G1zzLtwi09i9s\nT3Fyd7jSEHEdBe8TP7OmX6Vm3cfCRAf/RodWfjt/krEXF6R98M6h+kj5Dm8J\nhZ/BZiKsbWKkxyFKaU2k1uGjzrmSRgFn6s+oIYPodC61KrrFBiQyFEChTzBL\n+uKJOXb0ZbkwhG8cx9vjiTPSaMWT+C5+MDy2ZuST3rQVS/FveieG2b9mm8l3\nGOgz9n/c4Rzu2jwz93uXEho0HWYZLS3tYu2XqRG5TpxoLHBgWZOg01Mh7Xmc\nGYeKnfI4eR3Cnbqp/mDvvYD6fk42eNlRtkeNLh0s36+x/EHPGF6RrWG3vCxQ\nomkM5eYyzxAMtlshf3kzL+2US5DD6yGzSRmTCRMw3f5vHWwOlmzMxCwItyT8\nu3hAKaqoO/EIiqKduyA4kSsBNKXmITO5/92Yw3s5uz3VCE/wRoShqZCkYmZY\nEcu6\r\n=9lAb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBikf1VtJ9oOZ0aA4cI6w0pLDdFP1hTPpLPxixVZ4GWTAiEAylhly+fe3FaBK4pUv4Pualmg4QaPdU32oGkoeloNHwA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-3_1564541412029_0.24909208287419138"},"_hasShrinkwrap":true},"1.13.2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.13.2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"bc2ecb71c8ad4094b2827b953ef2f78c54fd62fb","_id":"sfpowerkit@1.13.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-PQSl4mZC8eaLhSEPzUllIzRWAi8oA9DkSGBken+Uc+hriFlIzcFQvvsspjKttVCxbrhHDx6YrkH/L2VNv17sfQ==","shasum":"9dc0c801c4ca202daa0888e12929c3aba6025e26","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.13.2.tgz","fileCount":153,"unpackedSize":894178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQVQMCRA9TVsSAnZWagAA2KwQAIBFFUQnMhx4BOLLjfx2\nbuDFudQ0o2C5OnkJiYpUVdirA71pInyiBsgWFhTXdhReT3SI5jF9YfaKkCcz\ntE6+zVHQsIOGoePkq4cPYvhnoUbrmb1ISdEUbyi33ITtfGKq5IFd7KBncj/I\nVKDSddLBZCsNwA923mSQTd7l1AgPW6rg6cPQ3HrGkxl0K93MB4zISIRr5tdM\ngGqXJLOcrJwxdfPUy0nBld05ryoSB9jY4uMjurlhGqzWrAZbXMwyMoYkVgz7\nRHb73bxYSC4C97s8Vyj7QpHavcWfQZUPJppQG8F7dKz1WDnx2SFWSGamPP8K\nD7/p2POGye5e9EI2XbojeL/W2kumWbfvi4VKBMjyBda06CGz9YUhen5u4bn0\nA5AxDQCJJzd0OUT8cs+DFO3rzhxW+il1701LYUzKmW9LgQzafSAbsfThrW59\nHRYsOr23SgD0tH+H17mG8yaAEmQPBwlAD8WmMpHhT75iCVrX/P/RZlumeI6K\naM4tNOtNAouWSDXqpjQ3pBjtNBTy/hmrd8rLA3VKjx6KLXl+edNju1cvVYm4\n1chAqBOwsV2FFO+GjUHx1NRaCp5UbiQTN5YdJawZ8W7onQW9FLnVKts7pHeb\nSnPPYtr/Ukt+ZXfzeMLxnWL7a12NcAzjccCk7MVx8aXVygqqpYzzkE75fgmE\n433Q\r\n=q7iY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEw3MSMThgfYlkf6hq9+S5HfZ9yEDoXaMbZgOkc9UQAAiEApiW62Px7dWY+GKl7CcnrBV2rKl5o7clULLNYMBH6EuA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.13.2_1564562443991_0.9385715210861207"},"_hasShrinkwrap":true},"1.14.0-4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-4","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"603283667b279def38302eeee25d5d608ebddebf","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/activate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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 from Standatd/ custom objects inside project and generate a static resource file with picklist fields, used to solve the picklist upgrade issue in dx unlock package as well as issue with utilizing standard value set as the controlling picklist field. Custom metadata picklist fields will be ignored. \n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                               Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n \n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-NZowAvzkRZoAoWD4fhQdIpCowfBuGO8bggds1ji22mkafhDbrUsTRshN1HejvqqHuzMG48549GNjGUBaAK09EA==","shasum":"36c3437ba6328d0e240024a3fab9bedbd4226060","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-4.tgz","fileCount":153,"unpackedSize":896204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQYHYCRA9TVsSAnZWagAAqvkP/jZMevBFegXqISwv+NPp\n/6j2CNdwQ3p/5kdIdzpQUuHE8scdPajG60jUpUqX9DGdYqb4PLlsOdG2x7Cv\nWfF9Q8nD8bH3pbwdQ6g/emd6DuE6q9+cJN/9kvze6KI6NAIkl9iMODPU0wm1\n0kBebEdvZH2McYWF7SAp3FEg92/Az+3htgdDEf07zmqrpa9EkkVP9wvgqspx\nAcT/Y5gQQsogguBVzXbj5la7nNuRHXHoFC3ex8nGFWOGIOP7RNn/ChtGnKXM\nVL8Ab93F8F4ua21t5yrfAgURM7hMEjVXK+gbMWqYZKMyuVG6+u897vV3yv4y\n/oNg1s641tgYIy2KfAJkqmER0o4qBHV/mHQQZ13rQ4fGEZg14r5CiH2McIsn\nX5UaYTOlr8WZR7lwWO2WUsft9NBLfkUDIoKhOY3n3xNWRdpVkwbHxzMWKsrq\nCjgBXjRHF9vqWrq9YuBL1x+/SRXzS00khQsCw1/7uYnnakwzEvIF1QHnjykE\njT2lyM8DgptzdH+zuSLcEeNL2dx0DCLagGGLwFqamMZ/36G8ryjebfnqMkc2\nrajo/v6m1UitNHFNcqZ7y21in4skYgtghWx8MxukbgLcrwev06NvZN9Fz5FT\nGoBYuhtXrZVqrlshoQlBZF/vbRQcKdGpHKmqiDBsdncgawO0RyKtqQuYu349\nWT6I\r\n=WLP/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJjBRcAHTaj4cZvMoecVx9wdAfOROY/i9tIe6+Bq3UcwIgDa9nst35PxDJDJFnqPHyhVPxNaef5Oaer0M7B9nUuns="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-4_1564574167649_0.915402561096353"},"_hasShrinkwrap":true},"1.14.0-5":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-5","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"5309efcc6e8c29069ebc0a5b024dea4facfb4847","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/activate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n1. Changes to piclist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n \n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-iRLFdK3y5JI75UDWVTjRv0KE0uUsPZC3U8xayK5OA2LHcsdZLEzv4Lt6pFIgZzNDKBKShVIdG5kDv5HiJuCEpw==","shasum":"e95c655d1271cc8d5705fcb10fb8a599e2d81f80","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-5.tgz","fileCount":153,"unpackedSize":896761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQYWrCRA9TVsSAnZWagAAhy8P/RbqXLWSC30YcQ2ZXRb4\n7DXmHUjP7j+OnC0iDEdBSby1hLKejK69jtIIl2WBGTY+BULG0htuT8KyuyR9\nqvSwbqQDqUTc6vAulArZhv2jlqan75OqGLGXQps92jQfSh3B6QgVG6GRbarK\nh4C44k1SQ3MPE3C/uy+7uHGwWYlvmvBRI2Q60uHF7HbIZ5WKAfuPcYCfOtwq\nO3zEX6FAT3oVplh4gVFwxp5tRA48LPKOiFMQcNopAfw0B7Z/P+Lhb1rhM9TU\nMkMnWT8ujdjIaLTshjtLb+lfZm+omwjdKKyp+pF9nmfafpgkvuonV1GZmcZo\n098ky1nw8jzlux+Otk+8McJjqAkyyXCyqvR8Qu+3is5SpyosGqlr/qrA0hIT\nMEQlm/UTpY0oQBMCiffy0VL0/30x6w47jbHEBdOlMdeF5mwNXm20+AmMYS7/\nZIvvkpmTvTTEN2eFuWCpiFLRJz83+NPHKP/yExtdjYnS2qydfTdTbdWaOGvV\n1J1+qTU6N8NZtpMNbu1SMgTpZY+DhGY/j+7hpfqHiACOJ7q5Qcp8uDG3Tz7w\n0bKoFm6bU5+OflAm989/aorFfNGI2185sHG3Od4RVM9hLp9pGdjEs+k14pmr\nCVNhOmjfZvyrfr2M9r8zDsCE0GKGrlMg1VbZ8d4+tVmZrs1WTfsuumXkLJhV\nwfzE\r\n=v37D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXJ3JEP/eN+kXHYWDCzzEwuFgTAoV4NrhcRfdgmKQoIgIgPbXVCwvjMFQO2AhrHV5W7WZ1dBLTgjZd8hfbNSb/zvs="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-5_1564575147199_0.41920845746793334"},"_hasShrinkwrap":true},"1.14.0-6":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-6","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"209c441e7bf469eb1b33b6249ad9cc69cd696a1c","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/activate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environmen\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\n\n## `sfpowerkit:package:valid`\n\nValidates a package to check whether it only contains valid metadata as per metadata coverage\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:valid [-n <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n \n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-41x8xMJcy0/uLgOGATGRQA512K5Bvr1MTtJkWIauKUG6y/PPDCgCz6YsGJP8TBFK1NNZ+ddJQgdx8kHkRqC/4w==","shasum":"3ee8efa113bc700213c9f51be7c800e80a9b0789","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-6.tgz","fileCount":153,"unpackedSize":896763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQYaUCRA9TVsSAnZWagAAuGoP/144Ji0uCovl003eA8hk\nyRJtWnOylwwZ0bUmzQMWwikFv1oL6IVyfGW+jjhUCxDm3BApih3F6iv/71Vo\ncR9+4ZFQ1+0Ga1M3VoiXssH/UovWGt+jitvVKH29RhsY3aWEtG52jy3JiaT2\nnZalnY8tGQ20OEGBj+pRXKLVWQNtT7lROUQUNgQ0XGnmyK1q81Zmg6fDvalb\n1HvWQHj6fJlyN6Z1T30m2GZtVm45uh1rJeh6nzeCIRX6Ib+TWhiS357i7jCy\nJfAzzxj429SPsMxXKOrEAB00yrhV+0D660d+9yHHX5MW3vPkzjqQRF/kTZdW\n8Q+vpX4cbTgG0ArVi/hBMcRo3WcgzbHC//oy0vUHukix9HUdZ/Ddpsq8YNQt\nZAaHh4b8+uilgEDjL8OHA0QfH1GtEkj290JlhITo1cTLo5lDL5c0wkN8Rupj\nITEyHRXal7zFooHmjtD+KNALcx7igqmhsh3byOA3cW6WSmUqhH+zAqa3eKLE\nU6vx0oJVtLcLXUQkiYwAo67jh65Nxm365Npqx6bcxZGGHI/m2VUgIjZyR2SB\nLKH44l8he9sgUJhvp0DZvSAaOMULUlOYun306iDLZB9F9sBwIcGI+09SXyXk\n+Zhx8kbo2t2Z9LQlX9JpabzjGr17N5vDveY6cAYAk7OfzwxNkzXU/gEJMAO2\naxNa\r\n=nckw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGrZtHteArbsYyuPfbM2QxrXxTHJZyYDYbmEMVlnrjegIhAPnwcCDyAJuR+qkVi0h2G04Fb0L3o/9KBX7QDwJxDAA3"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-6_1564575380184_0.955199887003592"},"_hasShrinkwrap":true},"1.14.0-7":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-7","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","mocha":"^6","nyc":"^13","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"gitHead":"57910fac293e9113d6603249a1345adfeebfb6aa","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/activate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n \n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-OD41RRjy786TUJXEDLBBx1yFgWOHconLjY/irVBpYIuYawXERE7jsq7B1EJyjuQCo8e2cxpjPvlOPfnD3s7zXg==","shasum":"bc45fa07d12bf4246ac8489583641bd5bc2f60ba","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-7.tgz","fileCount":153,"unpackedSize":897037,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQYhSCRA9TVsSAnZWagAANBgP/ivDhm+Udr3vlD/NCA1X\nhV6TIyEltpxAJ3/ohH+qfe+EKH/rVstSNpoSb2fYG37tcC4CAuv5EynfiF4f\nCeH34Yk4KfpKz22AosykrgGw/mEvnJG3MSLIRATxzNOWAsdJn2qZ0sAcmOfW\n370GktUHmJs2cOnImAurpkDw0vaZzOFu2Y8IlxegxbNaQrbno66uAdFHezO3\n+LkqtiuPpMm4BcNNm4nrpaBs5IikB4tcfUIaiRXd8K3NQMd+8p6TTpzOGUxS\n8mCFolSv+YKpGQK8ZsNLEFtCYwmgsLHoMpsicoQS2rj4glgsuCLOJ5ccDg/P\nbtC0Th38NuikTSzSy4in1A856osA9+l4g9uAqytCFTyyXSzzaYXbpchCsNzE\nUdURZgJfGYyUTSmOG53Kj3r+4XydLBiyRZb+r114luixmxYfWZH6uqW4HVrC\nBzYd2cxsa+xO3UFAub0FLqdgqAeLne4G0lXfwXr9Ndj2VVyyUoGfGcfni44Y\ny4mBMs4F0O4pVufycAbGezsRLA0LuAacF+bcJAfE/x7Gbtj5R9SNyyduxWn7\npkSXk36xHtmV4AQPL/ZSp3uSJJH6oBkmwCReNXVduo/+YZ0jaf6KBilFgJu5\nCEYDHfhZPF1KhAd2sTPdKiN7GQMU9SlZmRuPmNFpzebWJiWVI6Y+U5yDkjwN\nOr+G\r\n=UAaQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD82qePGlJlm4jV8Cgo1auMLKhZwO2mZhGYUZqtuOqjhAIhAPTKC0dNVJrC5BSwzs+StZ8q+jrBqnHEzizUjjPVzeNv"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-7_1564575826048_0.7329459807782241"},"_hasShrinkwrap":true},"1.14.0-8":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-8","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8a703a586412852406f6e07b26c6b6090fdb6c4f","readme":"sfpowerkit\n==========\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\n\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion \n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion \n  <string>] [--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/master/src/commands/sfpowerkit/org/connectedapp/create.ts)_\n\n\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 <string> -u <string>  [-r <url>] [--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/master/src/commands/sfpowerkit/org/connectedapp/retrieve.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/activate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/deactivate.ts)_\n\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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.ts)_\n\n\n## `sfpowerkit:org:trigger:deactivate`\n\nDeactivates a trigger in the target org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:trigger:deactivate -n <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/src/commands/sfpowerkit/org/trigger/activate.ts)_\n\n\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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel \n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.ts)_\n\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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v \n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## ` sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/refresh.ts)_\n\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 <string> \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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v \n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered  \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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\n\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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>] \n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname \n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default \n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>] \n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist \n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.                      \n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff \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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder  \n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n \n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-8","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-tFzAV0+zhpQyf133cAfA8B4yp9a1cmN2yH93nSpgj107Ap4qgTRRM/t2AfwdWzGRm+KYE3X+fKBl59mvxyjG/g==","shasum":"75ed70e604b46f9e1815d2cac1a75591bf14ba3c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-8.tgz","fileCount":153,"unpackedSize":905982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRQ6pCRA9TVsSAnZWagAAbxUQAJ1bZV5RJtXikgAzokpl\niu10QgLBUYB4rWKlv2fH02YQcGhyu21MTlwbwYUDxr/YpZQo9OaJ0kPHz719\nHkLCL4ZV+0VRilQ3ByunCAzfgRp/obsZ8h8lfOrp16KbYfeqCM7QPiR8RSeN\nveNhvxN9ylB7eoHRyJL9YjGEC59pgMuLCy1deR0r/8Y3xkNDXnadY/rjKDU8\nIpX35v5QSOCkUBBz9cAV2qedU30DaaQUl0JAxK9oG/40IwBHP11/LM5cLt0M\nOAKqFlEe8NlZ7fXJC7qNe/sBNWd5l1pAWlH3lh9qd5Ex/4k93V45qr6b85kw\nhl6eGv+senV8aQg+S/g56HXCjPHwG5NVts8Sx18uUWCJfMuysGTxbl39Vdes\nQ+8xd7BtISjPZ7/ryH/vsjhlZ6upxh1QSQbHgih1fJ1oo9JAJkUlRAX6Ws76\n79mKnU9/d+fdVT225nI8QgaUk1XM2lxbxmpbAS6cwtT6dFN6NWUjbmQ0tkZ9\nWk6usoXjjLtnOiBbJcNAy5p9UHDw8MXMrSOT5jrR2D45ZcbBY0clRIcax5by\nK3kDljHe5DVno0mspKJM8heWbaEQ6B8qHvJ2+4XJD4gXbhWXOvVNS7TxAkNk\ns6ktfpW8WgrLDmGkRA8BMzPxNdL/0KBvRaizADfCS1zbjSX3KwD4TaasFMlC\n5R1v\r\n=7usQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7hwZKKPOxpaLWo8wAG/ZIVtbq+pveajhdexzbGQ2gaAiEA4cQ3VitvjjmCwBgKOKuu9Xe9++fx+RvtTYS7B7iL9ks="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-8_1564806824622_0.0673447033109067"},"_hasShrinkwrap":true},"1.14.0-9":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-9","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"29620c958ad519c34be3fc513296949fed39dfe4","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-9","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-LPqKJgGLJeNJ+rD54Q62u33w3RFIaItMHfgtwFWgPI4V6j8FY+v8lbsrrqk2F/zG/B7iV2zUrJKgfONxk/E5Bw==","shasum":"d0d9fedbc853ba05b424d2cb4d729fc5230609b1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-9.tgz","fileCount":228,"unpackedSize":1177204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSMPaCRA9TVsSAnZWagAA2WAP/2c0tad23YYOXVdUw6B8\nRNm6WxRzU5HkKnv7z34IciFCUdzCcELch3w4z4d7zjuH6/NqsFdvSldu7SdM\n9msadRxNn/8M/jgh0OmXC1pjl8ETvYkszXNeGhSp/QPx/FuGfTcr9o7LC+ko\nCE88ypBfvMUuma74XmyjlOudoG0MoBC8eG8sc2E8I4GIxpj7yr/HZg26UADc\nECHVGeVawH/N6Ufo8TFWFJuKBA1OMtgQ9mTRONXPkBgjsDvQYWoUk2bTyiy7\nCXeSgTiNHSo2Edg08pLDIY2JEziW9gExkiGqm8rbDFzsSQmvAbp38GzUBCF1\nx8LARDtK3EmPCGKVVrqLJIafhBhayY+6M4t+/bpBbnDDEMr5Ovh/4rDi/q87\nWdkzy/hbjk/drvtvKg5MCIpViF+DJqSGy3DcklyiLJUfWcltBAqPkcJtZar8\ntHWUMm8UvSy0olFx8ScE6ZNO48vu+uhXKpqnu1yoGlFCPgjD5AAPR8H0UGV1\na36qV6ZENr6usJFW4Y5lXCxeZ4sSRo2JlGa7IoiWiOXUJRzUyK0E0/RLcdTz\nTa7+TUkNmWj4uB7Ld5IS5knTJtlp43jyorfky4FCuwX3jcu+jV605dfly5Pf\nNHW0+wvrjtftENmFaacpiFE6S8cZkiCU2Do5XCE9dd0oiEbbCoCurvbOZxwl\nwis+\r\n=cg7n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJfIz5+xge/8+Sbqh7yteS0MxvfAIzZbEPkQvt6H2cLAiAWmy+4R46CcZSVa7EuxYOYa6IO3FhYztNFsJhAURFqeQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-9_1565049817261_0.6043868297377646"},"_hasShrinkwrap":true},"1.14.0-10":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-10","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a53a164f160f1c22c30e06d577be9281b50d3cc9","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/matchingrule/activate.ts)_\n\n## `sfpowerkit:org:orgwideemail:create`\n\nCreate organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:create -e <email> -n <string>  [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -e, --address=emailaddress                      (required) Email Address\n  -n, --displayname=displayname                   (required) Display name of the org wide email\n  -p, --allprofile                                (Optional) Specify if the orgwide email is available for all profile\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:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox\n      Creating email test@example.com\n      Org wide email created with Id 0D20E00000003wtSAA\n      Run the folowing command to verify it\n      sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-qvoqbs1ofjd0@example.com\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/create.ts)_\n\n## `sfpowerkit:org:orgwideemail:verify`\n\nVerify organisation wide email address\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgwideemail:verify -i <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -i, --emailid=emailid                           (required) Org Wide Email Id\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:orgwideemail:verify -i 0D20E00000003wtSAA -u sandbox\n      Verify email 0D21l0000008QgYCAU\n      Org wide email address verified\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgwideemail\\verify.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgwideemail/verify.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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-10","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-nypuVNUBaCfEJT5IUEV+cnABzZbEjDa/a0Y+qHI5E4c6u8koO2z2+YxNo9Mu2cKPUnojahHGHQSDcR1qJv5nWg==","shasum":"46fab50c774cd421b909b60eba7909a9cef6cfae","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-10.tgz","fileCount":228,"unpackedSize":1170128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSPmYCRA9TVsSAnZWagAAJasP/3pReoImYuJYuTMMalE/\nFrMvGGby+JzZMXMJgggroYBUchqWcHnGVMQhI9RN75AHzFdHGXNdfWy75E6h\n9r2X/t3J2CWkfZpelVzjLhsHysOmcJH0SOZPMaNfwJkGlftb9hXPW2he6pIT\nd241ZukQvDyAbadO5V4d8R8yiS0jpzGncO3xZuQcMwiWdr5X75rp3sLBdqOH\ny93XQmB8QtX/yqNd8cPZpLIra9Qie08g0PUUbGFOiPRRvaK8stlXf7hWe/Kp\nBQnJuTtfglvEdMZVgMWDIfjcF1Is5G9rSg8m4ipnrcsvPrRfZcstW2pNsCec\nO4LByTUTedgxkdkdlt1GN9Cw1+nieGkLNZOR7blwf4GgFvys0CqGrRHlNGjz\n14LITfa1dJ1K6V6TklwxbANq1xuDsAp++JouH+6DltYPz+GNJp+HwXDSHZfk\nV35iMEXnqDZzNZwRJ6KDg9g8Aq/175CdeRZ8FHoIIRi44e8n2KIDeNaTkVFl\nhQXfO5BoAzg9FMM7/nXzKRLHjv4Wmt0QUt0PGo8sXO+7Bw3sGk5i6EVRAG13\nRv7kJQ0mDSqhKu6EsK+t+7ypWk68qv6dIlU6uo4TDbD2vPifEz/zHsD4hPyd\ngdIcALIhQMFUGZT8nolrp6/CK0SQ/3hlvnb3OWJ//WQIFRl3K8Hn8Yku8XwR\nwZNi\r\n=g4Kc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7GG1vOpCXm28BcjU5JAv0qf1wY4awmnGsDI/SNQnxbQIgQyx6+EY9W75DVsSIBBOocsNDvpHyyjpXgTwLu/SY650="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-10_1565063575668_0.8479138704740432"},"_hasShrinkwrap":true},"1.14.0-11":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-11","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"12e1ff19e1ad949e0115ef236ccdb8901f723ff4","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-11","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ixw6rx7oTpw7IPJHokLKUHD9YLvuNwOaR4PqLMIHcdyyYBKJcHcRuCwn7pkGIi88aWR68rwaZtZbM1+595zU6w==","shasum":"3a2ef4c0df9f7e9849583b7d9ed5f0969b9f5202","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-11.tgz","fileCount":228,"unpackedSize":1168237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSUnbCRA9TVsSAnZWagAAIJMP/jsJAh+iiCP4y5lV0EbM\nl/JUSX9kYWNdFxSBbIPDbNS6wV1Kbxhvl6KNGnajkwAIkD+nA3Vba6chW/Cg\no1d98dJU2d3yxkzNjzZ3ltoxoVSxigRdpqwM5BbX9JL4VznZCNcpYira5Gzl\nADvq2dSaphleY9nIpwq6a5VwSsFPX9wPiOkRqaLN1IKG+48bLFHxaJq6zhQX\nINUvAjPjgf3+xWi0m9gVDvBw85j/D0tEo0Mke1KL+8h97GPGcxESC5e5RiE/\nAAIB+99iLcKT6zSMt8GFJ4lh/eOs9JaEvMK9eLD8EK+NjCrjQjvZKV+o7uOe\nditLPcKfnMntThh6Fb8Osawm9KpHSaQ8zWb1MYwye8YvjIm1eAMB+BBFWtdR\nMU7QFSC390kOJx8LKzRG7C9SaIqv83BwIHQES2DNj1d9jfML+uv2rYhbIuj4\ndxRG+KjvXhik++OIapLGd5wBs8WfcPg6zoIjUCcK4sTdqtT5tgb4EMpFUdJ/\nYbBbDvUNiDz+dWDoR0AKa0woEmoaH15BgiKUpT+bNEbKsFAO3bzo+IgO1e+O\nuoKvhIPBpZMVCfVck525Rc840awaR8A+46MhPb1Hkpt6CfBBjUchR2PbSAJB\nsidzhgIqd2ODiV1hKAErZ77MQ7AvFj5m3N7h5JJWxL3T07tqX2KzOxEtBYlg\ncrVu\r\n=GLxC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERAAJxEca8jAScsS4r7K3NpIaRApydPUf0t2eotxS0zAiEA9fhF2+JKTr8cpO3NMyNkxwjiqg0fmBpMirxhm3xpVN4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-11_1565084122283_0.2387365658679379"},"_hasShrinkwrap":true},"1.14.0-12":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-12","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4ab6efeecfc2d0bbd1f6fb229fc28d055e9d876e","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-12","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-8hxCGH0XjeWtkBtgjWvn8S8JcXd1QLSEdvawrJxS3hteBqiKf8BUMW1I/eco30lr0xdjmN9b7lcPUqT6XO5Wbg==","shasum":"978ce896c2ec767666ead5c7ec2b2a28fa9d4a97","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-12.tgz","fileCount":228,"unpackedSize":1168740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSUsJCRA9TVsSAnZWagAAgQ8P/RSsFZ6vmNOCwHiJqBTk\n5j4o+S+PkpU30dlGqISjag4k3az7m4G5deiLt949SLt9PXKHCrmMIGbNmr2O\nW1WjrBc9P6MCOMZTs2mgZfuX7TOWndGSFeZATQu24AXt3/B/enV7llJ5pc8i\nNeBq+Hv2lcHTxeFuFxePzxwI4FdYeB9KyG9ZwzsgapwSVJlPRJqdUMfAOhRj\nmJVG4znJ5yW7X1ZCQWhrBBf/vzW9AE+qYD0c0uCtG3IFISn1/meELKXBuCf8\n/8OoztgsjPE5EVhf6ECr1FwpXr1OzNE9B9ReZCMs5fa9MdUDYU+4MthOhhJH\n+09GxEiS6F6tFQom5Kffcya/XV7crofuUvIvMekC72Woo4DChU9Plt6j3BzP\nodoIwL6RhtF0odysIxUU7JlaSOaNTcVmmQgGocPEdGRdW5FmoinMycHySomO\n8gjFWnz917tOImBsUX8u1obyXjWYfHIz+HrqGTgF7iNK4/N33KjV9lRRPPXt\nw8AyWrtYXP/ATjh7s40+ROIrifHNHyPy06VVjJU6KnIYZ0sHfWFvCRFXexrw\nnBm/QAmjftuwhTMOpyymqd+ygn8xz21ofo+IKJycY7HC2HSw0DQ/dkP6QjpN\n2s5DGchf+yeFej/J0ykqcFPm+AWrbAxmW2uACt3w7tkiEcU37+Kk7gCxyaYJ\nMsyh\r\n=TItj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC81Zn2fMz05XsnlMiV7lYX90wVqqIiFDz/MQHCIiXLCAIhAOzUwC1bLSWHMzbhQ9gmKDAdRDoB6XKHI579uvbUoDKg"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-12_1565084424559_0.500728470552295"},"_hasShrinkwrap":true},"1.14.0-13":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0-13","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"16e20478c1d05797f61bd236002cb51961407d51","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.14.0-13","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-5X4ZiW1CQKjdrMRq9gUGchbJJfhO/Mj9lRN7J2J5P9ZzQwscQdMKMWU9ZU7yG9r6gEfVVV4hAtwv5nDi2zFdRw==","shasum":"d37c99b0a34a7057dfb29bc157e2cd6d0368aa11","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0-13.tgz","fileCount":228,"unpackedSize":1169374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSjQXCRA9TVsSAnZWagAApUcQAINt8E+9nUW2Tv1oCLmO\ny+khAzS9IfwQ6zM4yFN2nU3GNFPPjxFQWtDDJWRrfqSIcFfX8q5ouGfOPCdb\nT4uag5EfU2MFd/w9OrPQX8LMPX4A0d2CFC5yRkgZxIbWnxKi5EhL4re/lWiL\nFeMzB4Up9yy0YaFYoeaOticCVe62Pdm+n3igjOIfUXjkrovmcXbgQ4QELtGL\nyMu2UoG3xjViE+qHdhL+IChD/4LN9zr5gAI/xNNSLWCquoCXlXorchZUzDNt\nqVlZ4AUJL8ISDg11SlJXrvZlMN5Uf3PB/Xa4Xmdmo79w81SBO7lXv5vVZ6NN\nIIMYw6PP4dMThGzdyrUHmpadOIQIv5AvujzYi2YNLL/0GBhbn31klnbOskKG\nlHbTNtJJ8auxVlQQNu2jPIL0a6Fz1/YZMFt0CsqAV7SijCEXf6zH5/EQAbjP\nRE3wL0/YQPgsDa5xP7NMOFPFECpZckPBovR2veJg8Z2ERUtvgWYpeTNoA/t8\nuGkMkI9hv9MpKRsoGcc01Z5Ua3aKHOHDKNMQxB/lka7INWfQbdP2u9irOKV2\n5XCP8YgWEF2fiSoeUDY+Io7UBkb0oTedhnQE6KJgVTYTNbrbIXTcKDZXzllN\ngYYhCLNVckJMbGYgpFb8hY+VAX5aekZfSHq0Lupbq/f1PDpkpPEtlEoNSR4e\n62xm\r\n=lqAF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKNiGaK0c5sTGuyswYgjKGyv30J7LMlmK03a3u9Vzb0wIgOURsQX54sHUOGre6+aKudl1sw2OZNWVOKwmU/qWTyXM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0-13_1565144086833_0.4257779492383795"},"_hasShrinkwrap":true},"1.14.0":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.0","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e81ca268694439ddb7f4a3fcc00a0b46cbc7d64e","_id":"sfpowerkit@1.14.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-w1QIGZL0DSI0W2YTgqJyOiRwcQp7kcyHhRy0OscR9x+Q1xN0ZuF9MTxkpSkniF/SqCeV9A0K9jzhwNUYje4Liw==","shasum":"8b50d5fd8f7a906387cdffbcc0c9bf46084ef5fe","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.0.tgz","fileCount":228,"unpackedSize":1169365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSjakCRA9TVsSAnZWagAAfK0P/1M6r9VI4jt7xLP++zkM\na0IfyHRuwrdqUvXfOhd+lpvFEDtICt7c/C+onbao5vwi7LABq+vzYRoa0SOk\nnApou7mt6qAGijbcq4V0jNRwF5cdMY5d6fp88MfzcumxW1hyyKDIqIOP8udr\ncVOY9gVI39zcM3v7RjPWyyJuHRxp6jvtt+R5v8affxQk+cKAZ6F/0fcBFKkS\ndj3VcryMWQx1ChVNmrMaBPFeiOpfZQrtXMdYxaWQhUDI7oXno5j938EyfrVV\noxkWyma2BQRlKanvRtaMkJZTo88QHrHAdkJ+L1iPWTmL+T52gWeNgf71eVGG\n0Pi6go3DEIXphyr/7ynEIHvFpW+Icb7gHf57VDvPQqzaNEFTO2gW0nVDqoPG\nctQ8am9gmaOxpEXMs6rNuQTRZVC5EUkbEc+rqUwMIrZ92ciIxOs6ggkUrH00\nbbzDhmEBoOf//BcI/kA6NsZQKral0EitLPDJqqTsDsS2diZ1G6Lro6e4nenV\nR57HdtipEP4NpkZ5R/ycSSsxmTtf+7xWfwqxldrfrwozj2rkvd1N5bbLYMFr\nAzMgGHfsWNfXCpKSxSQ5jCmEoMegeO6Z7Sx65qcSuuh5bNodElb/t7webn+O\nu6JOwCGpY17ylVdvN762Fb/1lGTKSz9jeDP721C1JbT9g27qaTmM80HGcddf\nMvkc\r\n=JN0J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpksW7CPJ5z9ND6VnJAfRSMBw+JX1l3q3qVWWyCtDybgIgY71mPL+A6f2hrJBpWvdjrIeFMEP+ywi/aC8FtH4EciE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.0_1565144739797_0.43978945532193925"},"_hasShrinkwrap":true},"1.15.0-1":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-1","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ecb34ae633357c18452b783d4b3129e7921e7037","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-1","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-08F1NlM9yjl0ld1X/fFGt221jjrg+bmos73BC51df/oBjzd0BAdkTKFD5T5oz3D4jtcyYM3mopi6L2E1quTl/Q==","shasum":"e8b0cea6f29401851fb4375a238530547db983c0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-1.tgz","fileCount":228,"unpackedSize":1169371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSmCRCRA9TVsSAnZWagAAwPsP/i3rs+5hL41A0dKr4CGa\nqrkhIWLyTCmUoK5Ft7dj8XB1B6GTTQahezPvZcDuCtN4p17hilTbdPzJa9za\nHEfeqU/WZ6KSKb7Als2RgIZ4OnCm5sVyzNKeuLhqZkHbRwDjrvYqOL05HOoH\nyaBkAojzoVNJ2rh+oo4NAZfXRDuTG71G+V+cAKqbEzZt9n3uDRLkfsiawvF4\nQ+JDSuhLRJN3LVlCY9AwsiwezMhPaoq6gxcXHdIgi/vfAglw2XzaQ+XVMB7E\nXgNloguf7xYqE5/cPwuqYD2mlWN6LJvKKF/L2Gxk5UriNkRNI0+QLS80PrEV\nEynn+n8eu00T/iy14pooNx6drxEDD6I4UuVkUILUB5thjaOHq5wmLqC1W5/6\nsXtamT2+3LpRyi/hBoImHo1ky60PowQudPI0dhONKHH/EJ0DImiFiZ3d74P0\nsPd1IRHR/3B4GAT/ilPuwlxGiFlqWkvw7vlMi0afGNuBO7Yq6KlySg3EZOGh\nmlSG7Uo/RIp5e2q/5/pPntDEGJfcCigPa58fZ7H+M0Uz749v7crxaJ5/72k4\nqR9nlyIdkVfRe1kkH2htWXZar1TrQmOBqIAJGKouyS2K1KrI8liI3SjFBmaL\nMTWasEZACcAUQDx0FR7y6Yj+6Z378WLvOz1TSm+gTzeIhZV3wzhYMfPCAjBY\nTrgW\r\n=lXUa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtMi5yPr/PKPxpecKQcZJ42jUiP6dRLhI58K42pU2EAQIhALvKMT+YTEGMLgwMyXz/fJ6LJKuzC9KK/pDfF4LPAJAN"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-1_1565155472536_0.8384409536051365"},"_hasShrinkwrap":true},"1.15.0-2":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-2","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"cbe86e888e842f9e78ae9ce6eaa6fa529ffd0859","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:project:diff`\n\nGenerate a subset of the project base on a diff file generated by a git diff --raw command. You can ommit the diff file and provide the revisionFrom and optionally revisionTo insted.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) the output dir where the files will be placed\n  -f, --difffile=difffile                         the diff file generate with the command [git diff --raw] you can skip this parameter and set the revisionfrom and optionally revisionto parameter\n  -e, --encoding=encoding                         [default:utf8] diff file encoding\n  -r, --revisionfrom=revisionfrom                 base revision to generate the diff. required if diff file ommited\n  -t, --revisionto=revisionto                     [default:head]target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-2","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-LzqtPfi2aEY9miII7Ls+fAcQlMd660hDslu7oV6JV41pzld6JPyVUxhaETM6QIVcj//rYv6obb36qtmAlaHucw==","shasum":"985664dd9ae0e548011982483fbe964c4cc59faa","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-2.tgz","fileCount":229,"unpackedSize":1191468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSm8NCRA9TVsSAnZWagAA8aoP/2jfcnIoEY9EZPA0oXL9\n+lAUvikpCW8sIUCDgHF7FXE5zV+G8iXhAKHow2aA0uwE6WnuKifb4uFm+CRC\n5m+kZ7pBd3lANKkxD0ykd0Ya80U62GpeXxbkRB6hu7gaIg5DRaloWTPM1V1p\nsnThq26wRBalavKUKaVdhSw9eUzYrLaZJ1rfrAy1t/BB4MRjjxsngnJmvrvq\no8RAdiKXiYeOul6lpWh+tA3HOe6L+xjK1WIDry3yKyIrwzT/ETCU+QBtiR/N\nKd61NrNsQS+TlqpR+XYf/qzRpmgXGRMBGA/udGt5Tz7IeGiMiX2kKRLcSxhH\njravpPWGi6Qt1XvVHXDB7XBrn5OHcgy36xOBwG+pYUNd8aiqAq6oB9c/xXVz\nVO76KYCsvzV0fXhwavnh4ivQ1qcQTlhN1eZOHfTn5qz/Ht7fgaK43l/4uTeI\nr1eBPjJPUK556xHle+bRhQVcGCS+8V+vgrqgurzw7jGNYFo0lQAQspVc+tJm\nVFsq1tpOo0iv2vd1PpFVtgnCWG3rqMsZFWdsGnHMB1x6E5IGQxYi1xykUXRO\n28j37VTxSVg3GvrR3sFXzUeCsDzHJAAh4Qrii+La1XzLcNL154BlFVqTtClw\nuZnQcj9bVezkIFfjSUZnc8SpN2VTEgVGtlIRdIWcce8qHn266gVOCdTGkci4\nyMhk\r\n=agTc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG67p6VIPmDueo7q6XuUJxq86CDor3/U250xK7S19D/lAiBKpBtg8niPwb9eHltwtjeDan9kIid5qCHkelUZo/qE2g=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-2_1565159181023_0.9826352109126544"},"_hasShrinkwrap":true},"1.14.1":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.14.1","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"181298af67bedb4bccfe5fe433e18774e202f22b","_id":"sfpowerkit@1.14.1","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-cXJc65Ozl6+zl6Rrb4Q2fvGI4HuskdLb7TrAP8w2dmq7KduQ7IwC0E/n4mpEI5wix9cD+5/jSYJBC6tPEVX6Ng==","shasum":"8048eae8bf23c985bc7d09f34f3f0ff5418e8525","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.14.1.tgz","fileCount":229,"unpackedSize":1191462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSnLnCRA9TVsSAnZWagAA0m8P/RTqBNrdv4MRRnT/j2ld\nVq1xNoobDEzHpzf17gQywDZmhiFbfu6SwLj+wWhhZeiff95ecyHwYSp1JYFd\nZ2e2D3aByLRfrjpLLwi93ip5aJg7HsWidRPyTsBqoCFDaC54p5ySYhvSy0RU\nnrQQ54jOjvt9Apyag1k4zpa4R7avkqMfg3sWrkY7LLDYMnibWTyHRHPas4r+\nBEViZcuJ37bl5vsU+VyoviMNTJQv1B8JXmaI+GVOmWjP5OKdy190GOCYr23I\niLXpWNexoHhe3p22M4vBRrJPIGIAxy2kcHBjTjrnkZ5huR7taG1N0+b/+QW8\npHMfRkHizhCmVQmLgUFJ/gXBsQ4vUKXbSUCvPmAougwvPKEql0VeHeAb1F15\nUpL87pVdHE284SoW68R/Y6X17AqdyHRzV9DLK3zKRTV5QVLdYog3QhI9zb64\nEsyyi2bLej2SazLlBWtWIMamIrK2Wq1hNXMj7D8llgn9bBWyp9+nmmyQqoPK\npOuW4Gj4x95dxSLS/cRlETZ5w35DgGVooLJ954Fvdyz0NJy/hP5piSqM7M4f\n8qw5o5psbRKU6/Kpdv2FR/K4FngMNhHYNr6bejkqTqpwRn9R0vuytRFdDOND\nVro3W+lwjMcroTataymxZhu+tyNF5D0Dex7ocWoBqUSxhEpcNj2Ny72GGTEB\nWa7X\r\n=53/w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxy5hd2NYPCGkwuD9t4vVX6FQPRz1JvzvUVkQTHuUMqwIgDM5eRFb2u8TBvZP1BworfacpDsO0a7EzATolDI3xjZM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.14.1_1565160166674_0.7221044307844542"},"_hasShrinkwrap":true},"1.15.0-3":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-3","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"32df98ac948207557b3af2e346063793a9e9346d","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 and 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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-3","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-WwLM412a5QPTARotUITy6LVVmp5RllMvS9GA6VrNel5cfwqMmQ+yUF6cCwi58UNLQbF3BPnDVOq/lhUoJtuuLg==","shasum":"f16a1b9241c4e80fdb790706dd90f7e9c8b8492d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-3.tgz","fileCount":229,"unpackedSize":1192543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdT1OjCRA9TVsSAnZWagAAHq0QAJPqb3Uc7MRK2H4sQEZk\nifpWfh1FygfWL18qJAc9GINruAKoa6zvvObtGaVc7gY1VKNBmlqcxxC7lDJ5\n90d0mpLRhZH4YbpiAJDh/Xw5keyGyeE+YoNMKOIeIGOKn1GOsraMwmmPhkPJ\n6eJRsH2IkOhOIl5xg1AFKhowY5egbsq6auxVXyOEBZGCSGwaEWLxYLURibrI\nwNoxl6NKLmtZJJisw+VxF58PRvIrhX8ZNDK+lZGBXWm+TViEVukqoqvmXGym\nkQvfw8GZ9YLsKzsgdePERI7VYuj0oZ1vgiPy0HDZQOy9TO0/rDsrJaVi35G7\neAp4uh/V4kGwCR9GMRV4Lunmhul2QaxBklBieN3qtvuSnkEr5qup4GpzzJAI\nP6aCwqtY1Y/TCt5IPcNJ7QBgdXx0cFRuSQAasNkwx+wSGH2XClzxmbcqteVS\njmtoX7NFVz0kbqMXc2YbDGaBsewCEHApxThj2iJxbmVP392y5nXeUwKG2bus\n7Z6URIHyU7XDi1HX1GJ9cABeJFYn5/7kQRD3UUVrO5h4rdJGZSqkKxnq/590\n/gtugruejXoOMBAgUK2DOe9ynk8ysCYOhximpcZEP5ru4CcKvbqyO9RpzFsF\n2J4Td39M4Z216aCC4pPO9YibuO2v2cRd/1dnnrE+zbBxG1BqKjTNUKyCKusq\nJ06k\r\n=Yk1n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXiX2fEjFG13CIBrr0MnhOzndq7L0EuLN9gZRlVS5ORQIgWM3sFQlEOQJxFZlyHNTAs/WOqxVT/0cO2KNbfPAQc/4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-3_1565479842355_0.5641562097304"},"_hasShrinkwrap":true},"1.15.0-4":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-4","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a6f293310d34f34f9c679603157f2acfef048bc6","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## `sfpowerkit:source:customlabel:create`\n\nCreates a custom label (with default namespace) with parameters\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:create -n <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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  -i, --ignorenamespace                                                             Ignores the addition of the namespace into the fullname\n                                                                                    (API Name)\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  --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\"\n     Created CustomLabel FlashError in Target Org\n```\n\n## `sfpowerkit:source:customlabel:clean`\n\nRemoves the namespace from the custom labels\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:customlabel:clean -p <string> [-u <string>] [--apiversion <string>] [--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\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default\n                                                                                    target 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|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:source:customlabel:clean -p path/to/customlabelfile.xml\n       Cleaned The Custom Labels\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-4","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-C6JvJmoxKjPDgrhkGA9HcZ+jz39hVhMXaDnqXSUmx+RxTGxEwzJNiO05jnYQuOIZye/Dbe3ZLXqpQavlWxskVQ==","shasum":"407f3e0b590c114a7bd9126b73a182d91a449c09","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-4.tgz","fileCount":229,"unpackedSize":1192544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUAV6CRA9TVsSAnZWagAA96kP/ReL0Lc0/MfldG2ej4x8\nKCvsItbMMITqbECppLf2TGNxQWKaKzwiqTFOqnChVeCouKB7lhY9rS+rTs4q\nuBCJ6DWIPUD3md7mha9TC5CBLFs5Dx7a0qQKll8KmyjtaBv0fqkObGFVT+Ea\nCPT0ZbcM9R82AN9AeBWLyOhTWROuRNhiL6NS2KDDPz5O+2QVN8v+uqQe2aD4\nqI/2Ve5PF15V0uyxbPeAnWmVR0Gzlrwgou4ap79697fEGfaBdUx/sy3sefO/\nqpQvBgty5R411i0NxXSuzPtjoGkpHBpcTtm2lYVPzthyvjJSG44HJkuWw9H2\nMFbSUS9mD2we5tbUkbWJfu1uzEiOo3apb2cVk8PMSnK7GoRNUz5cwuHZ8c+Z\n0nI3bVsIUALUU8LMUwK7u5AY2Sd1ietVS+nDwqVAxThKLoDga8920sPXru+U\nd89XEcQhOuU9k9v4baNdb0vvZ9++m/Y/7d+u40rEMQsHURNZ1k6evf7zZMoP\nlXxF/DDNpwLKce5pDbmhtJrt3P0joAATYP17bZ00KdKXF/BJEbayCA6UuUQR\n4U1BIas5rDCzE3MnhsxUyedmifuc6ZFaEIeA78cozeyM2yA/6JzjkYJudftA\n2g8kkXHYcBTD5NRXpd5yrhgFX5uwNXUvV2ZdTke68AmofQcxZgrGVKQBfe0u\nAOIC\r\n=ipMt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmtAJyDdNvQ+9B6cSt2xpmmXJVgYfCw4yzVRum8ueXNAiEA/NEPa9nnL3B03MCu2FIDPLmgtZpCLyVzViDboyCjRhA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-4_1565525369785_0.6494174036010116"},"_hasShrinkwrap":true},"1.15.0-5":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-5","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"43e0116af0686a7d592b7ccc2e03654c3393f7b1","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-5","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ocf9XUEFU+fmzwqAwyPZWqCvQBCPe5dRT4SCxvK5q9Z2+sTpe/04El9umixdHK7ktQmPJfuyUE0ugxx75m0yoQ==","shasum":"08ae02595ed806f92ad6a2990e1f8e2d83c25bdc","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-5.tgz","fileCount":229,"unpackedSize":1195450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUB4DCRA9TVsSAnZWagAA/MUP/RaVQbnVftvpOTZxNGOM\nW6vOVziQ1dgQKQJ0y3tpNjYMRzqz1KWYE4vQooE6UxOxztKdUmlPVM6HgwRr\n6s+GwzzGWjOS2saG/F7UK8ZCvVtSsle3fC1mrAmRjuwVTHCF75zBoCGniaHl\nLiMjgBNlqfWtaLkbXo/eAckCe8Eb0OpEM2RarwdGvILtE9odFUdOxUCnYl84\nUPke61dzichSgyjQ3EIPhH8nDk+oHQNC9WYIGpWs48deuFCDzdBjF2caVgaX\nJ5Xzcpl8Ci4tNU2h5Vd+NKhXcJkeOFFFwylLvqaPhkqcKb5KzzhH3wBW9xRq\nUe7FSy22vdcai7ebJvbluf1DPcYZh/n2ZnixSCNbqCDSqdrN+N4Tgkw6Cab1\noNaKCrsr9a6+sDsUtQOPkHVxFFq/q7NJiNVtd61HbGyJk+yGiUqxdZjYJRWJ\nusqnEyo8QtyBsE3X/sjHRUarGSeoq/QeHyYQYo37IiEATHOyEXDNvICQWQan\n8lowMUNBDw0K44Kk1vA30mQT92QdF5Y5hEvuZ/Ztmn0QvIQNGK5hl9QVjxY2\n+J23z1OvIPHABV5xYd73NPyFQ9D0nmdX8f70y12rqMnHRWXjtun0U2mJN5UN\nwtTh9Ttgli51m/eh4wgxmLt4UgmREbtR+bI/RJq6MEkKQyI1Sr+/hvrK5Aff\nOqe6\r\n=NYh8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNe21cnYz2VW2p63JnodCQLG6Ohdbf3GvYzbXwuAGg4AIhAI0IDdcY67PjVAy573D+OjW5Ldz6fut3RgrH8vyUfVvw"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-5_1565531650540_0.7874962082790276"},"_hasShrinkwrap":true},"1.15.0-6":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-6","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a213a7d5c003e2e916d6f809a859b185748c4b95","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-6","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-lxNMG32X3nz+aGCuLXcrxVRmZqdU+fuQrL2WfYiFy7PGMyirNUAlgBlGOeFgvEuLRrYdQQwy/cnGw5GCzsxfmA==","shasum":"ab5c871275eb774d449cad2c6d9e8dfbe54bfe23","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-6.tgz","fileCount":229,"unpackedSize":1195812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUB7VCRA9TVsSAnZWagAAZn8P/3vqLMwTpE5mJVO9BFcu\ng/5LOsAD9bzHWRywUZQysyTCU8dyvMqAgGTUqxMvUvnmMg8wExQ204KIkTO2\n4o025CCKp9GMaglqyjUgFhu/ObGcdEU/6vnNICw4mInhJwflzbvw//sYxWL6\nb8PgjXyCZfHpPmJGBbBbds6grd5gNkf3o2Y4sRwQQhQWjSRswXjFvvSkNsCt\nVnVThumEjuuTHc7SYgk455oXp2BjNMrIr1ww+Z/m1WNYylfl3wq5YE0t9hmG\nA4wqHPHImoD1UIFMRDlFfsVirdDAmr+WcVKLRgzkzgHivoVAwcVEyT/y77rK\nZHcvz85E8aq0scg8XfU33JI7tYZIaXeH/zmGB30Xs88cKgcmoDItbTcI1+i7\n4VPM2OdTj2Kbq65N3BPhmqFw61GlFoUjYrxJaMQXxO4QqrZIpXH1l7UbDeTF\nLeQRoakPiK0oz4p40HMyVXoANH1GBfJsub3qN6I6HFO5/xa/TLCPOpSOK9tc\nJ3JVIj+6J9Sli3BuM+887YdzMCJPHJwOt5D9Q/zqrMWBDgOgD95skXjLPsrs\nac0eCECfaduNCcxNjRhXyGBTJyERCBC2fVQqLv83gmJ+ni+Dq8svBjrIMMg4\nA2XWOqmB/LC1GSDcdiBXgRqWQETt4bChz9eGhrgR7ebvF3MOCxLKtaUbaNHa\nS8pt\r\n=0ENq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHK/bzYZKQQYWD4+WaVmdtzCVm1GCKouXNsExMc+QTxQAiEA+EFioWdA3kQN9enXcVUVYp1osHDZTBzubsby46bog8c="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-6_1565531860186_0.3239755209392414"},"_hasShrinkwrap":true},"1.15.0-7":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-7","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"68b4a5fdceba4885999c5d5bd777f4ffb4d35a6a","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                               the folders to Scan. You can provide a comma separated list of folder. If ommited, the folders listed in the package directories will be used.\n  -n, --profilelist=profilelist                     the profile names that will be reconcile. if ommited, all the profiles components will be reconciled.\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:reconcile  --folder force-app\n  $ sfdx sfpowerkit:source:profile:reconcile  --folder force-app,module2,module3 -u sandbox\n  $ sfdx sfpowerkit:source:profile:reconcile  -u myscratchorg\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                                 comma separated list of folders to scan for profiles. If ommited, the folders in the packageDirectories configuration will be used.\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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-7","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-oBWQCzqTyyoI6NGydRLprDSrj6YpHKDThD3Lc4WXuHrKMLFJJaQyL30o3N38eDXXrGpUWPC4IbqxEo3hXnxaBw==","shasum":"72590eb667da24205e924c0ac3d2b20c5a334406","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-7.tgz","fileCount":229,"unpackedSize":1197248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUIAoCRA9TVsSAnZWagAAMAUP/0fxUGC/R4O++AEuXaWz\nrqxFRc9Tb+wn7Hcr8izS8oWVfBhjB0hxPCO4KL7vD4SDR0BW4ajyarJPca4h\n2idvOpPq17ygkrT31vat02ye1gdbzDLHr1bSiPVVqn0G0zP+t9A7/DlJC2n6\nT4DvANes4LMxZpkfknN0AOXRNpGz3WZrDuwYrfMYZOP8Oi5hm5m6Ar5ZRabN\nBSweX+pkM4EIRA16EbOJH0ABQTE+lPrTew1WPBywR0z5imdPbaHjZV7uBHoa\nLHke7Qn60QqqHXcqhkiFPDDdgJE0hGRAuO68x6lZ3VWVK1fzf2MMu/H1ZR7x\nSeMPt6NI+xWnyzMnR3AhufunaVHDcOVYlO45rjwEt+9lKO7PfV9nWBFyHG85\nuRL4DjhQXUCyB2EerkjWoCdu+3aCUBdcwlyz1b2YqfgEslr3QIZDwxnzqYLo\nh6LqA1wvF2cBxGMOymBxOxsdf+xjQzUgBYitUfX+Y7wxRqeYQWRGrSADro/w\nTlCO+zew8KkxiloOKhJ+xo1vcmOMW0BtC1/VdoZMZ//PIW30jrmpyR1cYcK1\nEpHbGNtYcHueK4hnqrrZuJgO06YfpFbnHNl2WEwoXLHSmA1/3hvWrvi3GbWe\neq/Lko52ASoxbdFzkgNTyRCXk/SArXW6lMLGYfzMAmc687GsHZKZPmtQfRr6\n2Vdh\r\n=cHxA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7MvM5kWTvlq5Xt8fQo7r9my0kNs8eWpoKpWbyhX7MUAIgXT5eSToAWBY36CHYoEwVW7Mjd23ViLyWYWvYOFyjj1o="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-7_1565556775393_0.6122436263368574"},"_hasShrinkwrap":true},"1.15.0-8":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-8","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"21477a5f5bd12e3c2df2b589a9ff917c63d6ba4c","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-8","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-jR2ue7AJzKULjtpweYOBtgLjYZx64WUd6YSp6ZNT+ZKneXn/xvDN6/zwtaXkly8DhWAEgGGEQY+BCK0MUjjtFw==","shasum":"50b416d98008496edc51f9d172933b800a782d70","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-8.tgz","fileCount":228,"unpackedSize":1203578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUR4+CRA9TVsSAnZWagAATGwQAI+Rtacv8sZ8xr1rRv7V\nmpsyaTqr5KeLlVW7IVJqwj0Ltrjx3uLXvBL6smSe6lEl82FiJL3QoBN6treV\nl9Hrt6nz9i5tCu898qnu2h0uC3KkyRgrSnUzUv4A2KTWH42u6qti9nf7fm3E\nJapNPrRdltr81jQzLDOY2cGrYYriDE0BW3Ht2VioRU/P01kvVGErw62Sn/85\nh6jh0gAIO6zhj1rT1clH6kYRNHzz/ejBsREZBdwHzr/lZprBfMgY4B5YV+QC\nB3MiBIri0MFiSye5VOsnyjYkyhcvMHWrqBtxJTiY2jOAf4SjQHz2cfkdXD8D\nlPwJ3e3+JnXLtDxg8cS43N185J9OCD92hK6wS0FfhT7P6GkT2juaYX0NrFN6\nSMvmc8AepLaZcLj7IUzke37gRSK9FVTadfw0XiXsoN98jD6/OxaTEdTlKEnY\nr46ITzrIU3TJxa6JM++n4cy3A2mSoZXydLLFP4X5BcoQ7IhASxhpRQPTgzdM\nZPHgtybm2E54AQVpIVMUXMad7HV0ek7G4A70slbjWaWtsEl33WaQ1bg0bKmY\naeEhI5dLYvxnyyuWk39PlzpiSNDdkKj5Y4CGkVfsxDLYYNyjUmCBJSsif7r5\nOVR5vy63xZsIDq793iUrDhBgeA/+ILzGNWDcsPIUZdq8hEqA6m/OhvCOF2J5\nyeyM\r\n=Yaw9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWb3owJfUyGz8syn/aZQphXvbL2TpvQ/Y+DUNoliLyjAiA0fsy/xjM4F6e66oOPu14AuH1S4mBtzPjtpMYRSVDtyQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-8_1565597245510_0.1011332100243667"},"_hasShrinkwrap":true},"1.15.0-9":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-9","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f96230be5865aecf7e4cc7d2c8be73216e321361","readme":"# sfpowerkit\n\n[![NPM](https://img.shields.io/npm/v/sfpowerkit.svg)](https://www.npmjs.com/package/sfpowerkit) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-9","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-1zL6WynV+HvQ/YbtBi55IOPEe3SnjwJRp5dAR8pbklsmbSyz61xhu3vhH8rCzGZXZwDg56pzWzE1CXdwz79Fwg==","shasum":"9d3256c50909296aa596a523f4bb2020696648a8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-9.tgz","fileCount":228,"unpackedSize":1203574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUSAhCRA9TVsSAnZWagAAtHoP/RoDAIdkGObAZiDInqK+\nW5kxlu9vW7j03+ut93fvBx7OLLEfztClaDleTTmrTIQ98+X6/Q+UGkzygu8K\nYnhcvHrz+Gccv3FVP4AYGU7gWSsGmfMsyvyK/OOQkQe+j9s97sNvr6n09CGR\nONWDC63Hupv7EwKGnCamukIz4PrFmxF02z7ozg1XE2CH0EsubAgOfN+ymX0l\nfAyPDQibcnm1NlXFRWckOJmemIQ3naeUOJIuylQiVUxnvAToIxzfvakDKnB+\nS4hdXxw2c2MbZqemHlEuYvlCChzir56ANcgr121ObcvHYv26Wu/6Ggsfs+PN\nOX8vUs49MhBXdRW1w3enLQYPUuAz8iHadnCrWvxb1WLlr0TX3uF+a39y44Xm\nd/4GU0XzxBo+jCcwqpjwgR7AInhZ50myilf6Y/8+uHMCxRhjIClAYiY0AljM\nVi2nN3yqfTrOFBBI4CUH3cMhtFYQ9xBjNe3QxCNpwq7oG/2TmhZlZl3UA7EF\nWYxrXq8ot9xPzq29CGYsXE2usJt1Z7rErtEIk4FJz2D843OIay/Xepp6F14i\nRDVP59+y1mVchK3DBIRoZpeDXn+Bmw5UfxQTxfKzExe/SuZ/rdwiyQ1Qy1Nc\nSVdQoDecpJ9ihwplcsP9W/hyj5APgXgKlZ2uuSiBQfOXbmyaV/MFfwgE3MeI\nzUN1\r\n=xHD5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJKnsy7D+0fafjbfBwwQOdAVHb9rjzNZ3qiZb54M8MgQIgBwFsqhidUmYgcXHSiAq6bQSDNkyR4s3WUK7x/uk1Aoo="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-9_1565597729254_0.18323421531531348"},"_hasShrinkwrap":true},"1.15.0-10":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-10","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b87e51fb8e693dfba71289b5d256e7be2e17a625","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nSalesforce DevOps Helper Extensions\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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## `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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/src/commands/sfpowerkit/profile/merge.ts)_\n","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-10","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-QVv24N6j8g+u5FeKutPSziqJDNJ3xh9qzvBesU8X/ZsUS6Pqrg8bV/PUIZnlMJ3Fa+wybuE/Uylt4nPmvfrWGw==","shasum":"3cefa71fb93645de83806a6f332ead4a1477ac1f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-10.tgz","fileCount":228,"unpackedSize":1203685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUSHTCRA9TVsSAnZWagAAdFwP/RtBnTRuCy58NRIp2/FD\njPCyBLrvfg91MGv15diH0Z/Yr1NMSjqokjZ2qIyDrWRAFdxHBENt3eTAVUP9\nFlIo2dXxnB/ZWelO5w8ANE8yWV7CL3mTs/p3CLjfTDXVW1KjMhV6xq7YmhGU\nzNwg4g2wAv8eNKoMWpOX8PN6lkwcaK1ieg12EJJd5NOcK8asF3gE+6Z6o8cJ\n963Byj9eu9mq/UjtZkeYcPgBGAux97W8mndwGdjWWwaa+j3Dds5AisC4W+83\nXeNhf47OzTI2SiHC7AwrTQTakiM3asfWcbA6AsWOq0LRrqjDOGGBN9w/LErn\nCDJZOHijapKZbtGwCtAy+8S1ealUvTSF0ndC++5ylEBFnc8bExsjkzxZwL+e\nQTjCYdb3FJxFRPXPumSUMKeS83uHlNSZxBwGrWp84nk9LdClbI+8Vc1fw28o\n8s0ZDzNKg9DHlz8VImkCjrO1Tr6/1f6FPf5fMVSyox2VZuhhMPfaGX2ydOFb\nkZP4dj6gYU8mXpLT2dnAR1r6WXsk4unMLV7mwDPMGTRoAz6P6xDcUoRYgJJT\nYSGSP2dF4lYofLuc0nUs/pKgROswSuMj7iXx0MY6I25OXainigwNkMUHH8xJ\nfCH9EuNVpuoAmEo+nfluxG41XESmBLEnw7zcrvhSOF8qJanbbkcAdC0PXZ9Y\nj8Jr\r\n=Yo02\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ0lQTODeIq0lSs56I7saING+m0gD/X+eUDIsBCRYrjAIgH+Wn2p6RMj1QzapxC6tvZ2DWjLRE2iwj6MJF48fL7FA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-10_1565598163289_0.9935725240863003"},"_hasShrinkwrap":true},"1.15.0-11":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-11","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3fb66866282552fcb349958808d71b8874927141","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with different functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related  Functionalities\nThese commands manipulate the metadata configuration/code locally or during the packaging process.  \n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n##  Unlocked Package Related  Functionalities\nVarious helper commands in aiding with Salesforce DX Unlocked Package Development\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n##  Org Related  Functionalities\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-11","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-H8AJMeXPLqPPA7rl2Z2vmdy48I6wA1jBWlR88okQ7LSYE1raluQksTIKA6GQnWuWB40F38GQH5abds/fdgVmdA==","shasum":"8ce1ec166c8f4e3bdb0b15a3b64f0ac264c36da7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-11.tgz","fileCount":228,"unpackedSize":1204228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUWFfCRA9TVsSAnZWagAAezYP/0M9XK4uDT7ki43FPscx\njCF75iiSqwY+5/BFEbz5q3A/FWwHrVNEu8IIHnRVTUXzyK5OtleBaQ57UC4r\nCwh9gNfhrQ77Q51a8/VjV/boU5z1dCKRNoImtwIdQrIV9zTkFhrmUTWdlEMV\nFiRqsr+s6ih7gTxV3BMnlsrKwFctDZoABoU8En4Ov0RAzTOVT67G0EJQgZwV\n/jLlphN6UqlEtPFL7R/RSsg3l9WWliaqdzdhHRP+oGAM1tBimHjMBYrDfz4Y\ns6p9Y/d6oO4oO+E3NOAU04dgf+Z8Wvb2X3UKwkFG5j6V7NbuxtdQ3LmMH/82\nNh/xNJyVG6KVcCb6JjZq73LOo9p7c2QZ3fUt9Q9DFHJz+zQGuMVBuiVI7+5R\nLUveetToywuEj6ROVVXtjMbxG8Sgzf/V7tD1kWM6H/fyimSiXNFvewKDMH+s\nRrqGJjTMMvwun+ONCRS4pnq7UbMTnzXNVGdidTeqLlN1oEseKLY7H2x8ytpJ\nYXIqqfejyuDHQRl6YBsl3bYiIS0QNx67OK5qCszllxanPjonXIe32kBhe6rz\nbVfhL6/LvlE6fTmQJo7BnksRTQoI3KvfBGxpCBV4PdLo9iCUJbefVpZUuiJQ\n9EuA5C8XSm1Hev1rDZrDWOH839HJ8ttnWrOD4aomdikjYWNi6m3syjOxpw76\n9Lt6\r\n=1iQZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcHhKmVHbPkHW2gA6ufSpt7oyx+Ob4kNKjOFQ0D0bAoQIhAJFtpW8hMLrZF6Y0tY4SVeqk1SYgb6IWO6Sg2xmV390D"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-11_1565614430899_0.2601375653193807"},"_hasShrinkwrap":true},"1.15.0-12":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-12","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c8f0f1b00f15aaf6a9d8ef3bf01240a517776cbc","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with different functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related  Functionalities\nThese commands manipulate the metadata configuration/code locally or during the packaging process.  \n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n##  Unlocked Package Related  Functionalities\nVarious helper commands in aiding with Salesforce DX Unlocked Package Development\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall unlocked package dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n##  Org Related  Functionalities\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-12","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-oWNTUD8TMoWArSaLuYNc7i/97UuMd18k3W6aD1D6kvuh60ul77QYb9hD2g//craz6n+zAsYCmHxSy8/QxkqH5g==","shasum":"ba6ebdcf5e338ac1d87b96df1863a9924a6fe8d0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-12.tgz","fileCount":228,"unpackedSize":1204246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUXwnCRA9TVsSAnZWagAAQqUP/AmaYGdurY6K4mj5dCd/\naZN43KYz6XlzamLyTMElT+A2QZB+CsVYLr5j7DYr4H+NTWfbwCLaCfQk8AL5\nVsK5LHbW0e9ZthNeJAc1d4g7qwuzT6EOneMMAzWQ8CI7TMdhvUkimoMUASab\nx8yidzsBX3sNuOYchiAzMgsYrvtzgT5z6Ubxp29LJOKtGgdqswwOFG8MhP0B\nqXVA7GtZ/6blgNLCWYIK99YLjIM7hGxuK4onhF3BCa/P1H4kaw0IRUTl/R+3\nZVY6vIV7J+LUP8O/oro6MZl9HHQAe8S2au+woVOMogVKTafb64Vgm/mB/Voz\nO2twt1wMUtv33a32lI5kCOubxTmPPiAIrLhOEJI1Ew1ajStD8ChDwhFl9qJF\nfocx7d7O48W7BIrTTfIuw4MZAFcJoE/UZJwnr36woym8LyJWU2ra7hDZYbA5\nF2bmIafegkMZTthFjlijr237C4zjmWhNMKXxKKw5EndpBA+79tWTyGjW763a\n1v1Q15s0xCgKS6ZFOkmwQIgzjDFa9XqMoEpwKrHs+fQ/dLhDObj66NRttK+J\n/GB4xaheJS5NIEeNoNiD/YhArvt8jVfczFTXU+MrN4JDNhkr2IPiwtbtx+eC\nxQmmpvJabUJyczAFB7FWMNj0e/EN1ZxGAfH17/wctEC/uMtHPRIlObuz0tfn\nEUXs\r\n=YQt2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfvgGrEpm26wUAMlZGrWzqIBqT2pGicP/QR7BNYMfhYAiEAmqav+SxUFDZrLkH31TmjPhb9wUZSTGS15phg+Aa942U="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-12_1565621285953_0.04354785323960697"},"_hasShrinkwrap":true},"1.15.0-13":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-13","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^1.4.1","@salesforce/core":"^1.3.2","archiver":"3.0.0","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^7.0.1","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.9.11","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f77d80066665eebf7b332d6f1f8b569535c2fc97","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with different functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related  Functionalities\nThese commands manipulate the metadata configuration/code locally or during the packaging process.  \n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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:sync -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f force-app -n \"My Profile\"  -u prod\n  $ sfdx sfpowerkit:source:profile:sync  -f \"module1, module2, module3\" -n \"My Profile1, My profile2\"  -u prod\n```\n\n_See code: [src\\commands\\sfpowerkit\\profile\\sync.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/sync.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 reconciled,if project contain multiple package directories, please provide a comma seperated list, if omitted, all the package directories will be checked for profiles\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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\n```\n\n##  Unlocked Package Related  Functionalities\nVarious helper commands in aiding with Salesforce DX Unlocked Package Development\n\n\n## `sfpowerkit:package:dependencies:install`\n\nInstall unlocked package dependencies of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:install [-p <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\n\n##  Org Related  Functionalities\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-13","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-UQ5xEd9gRX4N1GfjRrklkOs8p+mT4kcvOuIaWkAzC/o4ldanYw41rhUGJgwkCGDUBEAfd3IxXNwW2ulRxnytWQ==","shasum":"27df677170927d97f6ee675770bf6c90338333ea","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-13.tgz","fileCount":228,"unpackedSize":1204534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUl4DCRA9TVsSAnZWagAA+Y8P/i1IXbt/cWSkZWDhH3rV\nfZ+nKIWQGip4em9md0JZ4PPgvZbJqtsnCbALNNSmiPoVpHza42Az0mxFdvgH\nfms0qpEhPTiVHMBE8CXrw9Oe6Yw0gm+A5ZD80UNfesdyosDD9VrmAVljhlLt\n44LgPHQt/R1d2OLWcokGqPg/T/94JB9KFJzHNFnm57MZYUHW4t3EWM8B2/8Q\nc+Itt5gZ5SXg9yPbJ9OBzt74yAY8++z4Yp4A0EpiWJnS5hqZrkiLdLMdiRsW\n0PZCwwOVmdV7zHI1ZkSq4xstyJH43+0jN+7zv4NkJstiZj+cjDr3zS8InqsS\nlqeYDdyVO7eLDbCS+PPhQIcgy3Yo1aJVurR6mK1PJrSQI2S2JqQq7AzaWk+o\nQVJzOTupcWOOXFVSOjwPp4gVHTbBOPl10HfnQrFU/MJf6PncoIBOfCDgC+vw\nHjmDpAc3mQxOfrqVe+8/DB0mj4qjCPp6VLpSY8Hh4RR/ga5/fpmjqgsa+MgC\n903WCQfMBAZ2WwNDGYC3xoOH9PjwSdWAd6+6CkaDTjU56VXz6gvIkP195ZtS\nOyt+1Co6yMOXsBzwmLkLzmWWnRfa7sMWrLMXLj6xipJ25amPIF2fBEU2MKqN\n082Ke0LHyzoRMcNW8we4CnSIyYlNboxB840bPaGxqi5dOPYl/Z20UKzoWH0L\nKPok\r\n=cFg6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhEQRuVjH57jSBs9YStD8byH8OiSfrVKDll4Hk1lnJ6AiAMCF852oL/vSHhfARhLi+uaR+T9ix+hU8bX4CrAhH5SA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-13_1565679106377_0.7069020294368311"},"_hasShrinkwrap":true},"1.15.0-14":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-14","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"93cba94eb3b6a350392d5dd90f830f1ed298fc0e","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-14","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-s9Ys8WOEjLHVBto7eBhAPYhACR00ep8GihwlZg9pylrxD6DYn1HfAXTtcRHOr2T/Cd1wIICsPmsWmndrbgJbMQ==","shasum":"30351185f764f1e21324fca484911104faa6b408","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-14.tgz","fileCount":228,"unpackedSize":1207738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUrvGCRA9TVsSAnZWagAAUVMP/2g6FuQoqt7X4RLkAD6Q\nuq1v0S0OellDw5Aqk+s1DBtTzhChf/Qxb0CC7GQ6XMLDkej8gHHr1gzJSgoZ\n64ekIlWGOtWMo4k9tk/LhL8nKHl+BmNvkKoXiRf+XQkLocqeBsHFntzwq+61\nZ/n4axdkgNCriuOuvRGqjRX8H/TOTJBJ6KAum4wS6QnjnL3FDZ/8/KkCgV87\nN84J9XX3gDF05tVuyndNQcx3aKeOj3eQSv98A6qaMb3wvXkVbn2+FtzT8uy1\nDAQRI5YKJzy/REtNJJbwqqo8zBlh3fJYeFtT//i7MCqfWSMBJRqzWzVyiXma\nia1y9i397vCCBBObW4lKMNaPQzl8yIG3R8f5le+zyUADM0hkSZTYLJeHSeVc\nYQ9hFY/K3Wn6giMPczzJi4PoklEO992Jv4un2yWrA4l633M5FThq2TR+9LRi\ndfqjmJ8Y+1MHdYep6YxadCyZdJmnaXeSq2tKXEmhbhwEPkj1xrOjvh2ng6AE\n+aqgb3xPZYsjZBRW8vI1Dl9lg5qpZ6FtlhDTTLBMtpRmY67noG3E7T1s+R4S\nF7y/KoAc4w2trcpBS0rF3BzR5BIUG/cplQdCezUG6XthWNQZeRqZUxtFmLbq\nEFxHdJG/JLetzEjdasplLHQluPu1hwLElqWRY9TuOkF2W3OQ1B0wj8GMaDLO\nxvhQ\r\n=Kg6F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiSsQlaE/7Z7wF+3APxaBCAfaYJmg+txC7Hwiho8Rm6AIgdaRZpfBBDShH+yAyQQFVyAlkqo2N/36CpvSUd70xyPg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-14_1565703109926_0.35123829768220816"},"_hasShrinkwrap":true},"1.15.0-15":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-15","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8db8c8512e559e2e38daa828116a967edc1011c4","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-15","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-HS1azd3St0iT5DdZeBGgjCR0zsNuPUFcvA8t8uzmMAMBuM6uzy65wsII19RVMwC96hZ7C+utK3Y602wplcn/XQ==","shasum":"4985051b24a98a96a8ae8dc0d48d8940764b5c62","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-15.tgz","fileCount":228,"unpackedSize":1208374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUy+/CRA9TVsSAnZWagAA5f4QAJSTKwGNgKfu49wdqBzX\n1Oa+yuD00vnY7oszDmWHS56SNsGtbq77jvTCuLMsXRXc2hJIOw0xuaZgajtY\nWNeCvyh9exVhKzdB7xOeyGzamZ2a3PtsBgtZ0ioqxbVfljSetNPzO9pqEKOq\nk2XigfUqFw+I/c6EtTka8mY5TBs2VJp5ZpKiaG9qDCW+vZ4pTVvT4R+nw9rb\nYQVFCD/f3qbP/JM9optHbAJqZ1k+648g+J7yna94jXmPXJu0lDbq8Es7/51s\nTotwl4XF0FlpV7hedsKmr5FHWh10++Lr/7y0x5Vd8j4AISki3dBFNEcToFco\nFYNwzSttXnu1o+jSrQwzZHPBJwaKfoGls672DGNI7J0H3y06v+SaWrDse586\nuuxwVM+dAUe3mwES5J9VrsVwSS3VFpYLlO+2elI0+UVfT+1EO9NrcX/+AyuV\nXilWhgvFQHqNRKxtTL1/aMOrvXPXFh9TwtQqGbY6Ala0vAnmlu/HEY5X6RD6\nPjMERufb50Ni2mHyOxxKjCj+ZoeiQWEoys9CfjR2NECVtwiqbCcQRuIS8Mub\nnf9GXiIe62+l7eBg8AUkayNVUmmp7n81hmbsz6ZMtxUaS9L1F4Qgpzqs+f5I\nip6AOMaUWzhJrgo6PC40KOSDTzejvDJf7K4ILpPnpveRuGiunx0ZeHrDbVtM\n5tA5\r\n=aFDE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuF17WEPMl2KOGdbEAyimNw+T8Vz/S43xEaJjSQjL/hAiBnT99iXmTttW32DMDk4vYohAtxAL8snsloQPDwDUVmgg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-15_1565732799051_0.2279277022957802"},"_hasShrinkwrap":true},"1.15.0-16":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-16","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"29f4cb59e7598e04b3b6643d71b10e7ea36b2841","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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. Using this flag will remove all userpermissions from reconciled profiles\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-16","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-49OlvtrGfohCD2qmQDDLQe+BebNktJsboMByxCxXKZuUS5faC5nYPUCdMWn0x7PBkLo4Wo6IHk8Yy0n9kWXdHw==","shasum":"40e4b1fa227493633e8637f96f20d83ac1d64ef9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-16.tgz","fileCount":228,"unpackedSize":1208473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUzEsCRA9TVsSAnZWagAAI9oP/RHZX4/5JlnaaViKOoB2\nxRdvYJEneJPtIGvlP/EThvlwW7ZYcF1RP+ZQ02xk+KPLYKbUt2kZWVplyPBr\nhmJbBxWdhn4h3DwVtjgq3bR3miPTPOduJoFEtpMZQGTuwK5q5A7jAOYJlX9i\n4WydzjfBW7m3efPLgsRsRxJxlmI9ol4dgul5PqV1NFAgNiWbX6QrBcU3ij6h\n+o5aU8ObxWYd1CJvPamrqEkt8M6Qr1tqGeFKSUcGvHQFdD5WKQS75lJhLDHj\nDy0CEDnwdnml8iC+D96qebH3tYCG9gBs3Yd6o0TMNyb36KqL1g+ZEWnmrWD7\nRLef5JJNRcj1dwWUfMW+BlcGXNmgiioR9QMvjkIF9Ol7mqB4g5iQvoVmt8Xn\n1UHCFoeqavrhEBlu2CtEUgQb5niEKK0Dz8qZhDVYz1eqPAr/DFRUlYOhJ9hu\nvuRNREO49Q/0TVO9LxwBiDdL+5TqJwcQk+iA/pQj9XJTRWUM1+nNAHL74cDi\n9Bigqdy0TQkeoPh71jMHSQahBqzY90v2iH7hrwQe+Y+WWoStSuWrgq6eR+fQ\nlGKPrMtAoJwW0evj0XrIClfcYTbiz6Hl8du+MpjW8ppBU4EjRsJ/L6AoKI7p\n61fKIpJt9b+j/IuOBrZvVGUaxzS1XChXTDuU2lvUNgeSyS2M1LFTaTV/lv0Y\n61Ss\r\n=xA/6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGH8xwEobAaE3+UG+FJ3Ei5Mmxjslf/2DrkNhU0AuJLMAiEA6zbGetavQpKUAxmpipVquWOPaWpPQBnH6ZAvJg41gd0="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-16_1565733164219_0.8777041426156851"},"_hasShrinkwrap":true},"1.15.0-17":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-17","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bb8a7a493259344e4fda9db92a6189b7fca4aa62","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --folder=folder                             folder to which the profile will be retrieved, if omitted the project folders will be scanned to find profile folders\n  -n, --profilelist=profilelist                   comma separated list of profiles to be retrieved. If ommited, all the profiles will be retreived\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  --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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-17","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-reqFUXShYyRjy38yERCt/2cnRPTUnEvxymB6B8FPMUh/EaOt6lvPMqsdIAbhmceQmEu/RADfM/oxjtjhvpbooQ==","shasum":"47650ea8375c15340d06ed75d77ae05b65ccd1fe","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-17.tgz","fileCount":228,"unpackedSize":1210784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU1A5CRA9TVsSAnZWagAA6+oP+wYsULC44NVU3A8BAZq/\nTUecFcFNS4KZ1zIP/qXTfL3f8Kv4bbXeEvYip0MAoDEhZZiuHKs9/ugYQFNE\nhX843NgwHd3rCpfuzppLNEokpEGHWP9UdIz9t87OYnC/SViCZEeR3+y4HLS6\n8iofDBbwuSk3gFokiNEr0+VmaUESfrL5c6s19IE/igGVpGDwbUPLX42CHgu/\nWy1Dsdm7qsSPB4P3FtSAxMmrawx1io0CQQc/I8U+THIshoWuz1j3M5RIj2M4\njvDdGqEep4PjF1Uafyp/VoKaudpGifvEfyZpR2IBXo5VrelZ2hWBjGYbaabg\ny8OLtS1QMYWsrDHvRxkDmLmzW7Wi3Gs2wPdWVoOzJj0JfxQLggmgkQ4x7vM6\n+9Iiqwz5lvyf69VHtdAGKbqSSY0slkJcA8nDb5x2mN2mRfM8GabPESE7b/bh\nfZdM7+V6bpi4VUvQjBQ7IIrESRoK3Ef/DpOZIrG3BdivOgSKNu0S9ogkqXSN\nMX/zNxj9+putOChB7FPhWj0EGE2dUBTJJ5xe3jj/39GXLJqb81mVEs/ruJIf\nr0wuPFZyif1n0ctmi9IhnqDXlhuUyveA4gt1ndmrpiNSOuTk7RAMl/xLHKpK\n6CPU3Ie8l5WRb3C+qbYe4vOwSde9+9Lwies1Yv4L9mh95u8eKvj9QXK8DEGu\nrlL/\r\n=rADk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1j+28qh0MzxLbVlMeoYFAwyVal0MaHKlsiTaAzBh1CAiAXGSpBbvc7/I/c3dRC8TRYkiNCqvDgVnEto9Za8qfeOg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-17_1565741112480_0.09589392572109334"},"_hasShrinkwrap":true},"1.15.0-18":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-18","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"65836bb4a27e7a3d1761dccb54d807751209d696","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-18","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-eJt/mOUTUBY3fg1qbMGuLyQwRjioSYQCyRjRbU4qTidhxJUZ48kbCb4ZhSwtkxU8vT9iUoJqMF1yMEnM90sTfA==","shasum":"88f1acb30372e8b4133e6a4889c7e6fbb610a984","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-18.tgz","fileCount":228,"unpackedSize":1211801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU2OcCRA9TVsSAnZWagAAghEQAIZpC+mEYm0OTJZ7crvD\nxUzMl5K4OZ0xekhawSkrEgU7zBP4E2c2OZsJZdZtNgdbgvgnbUAAWBXq4W+3\ny+mgYroI4Yb+z2wjrHjHOcF8XhsJXMO9HLipx7R0kYCiv/82gmKR22joh+pI\nlmTWVT6UTcW/el9YgNZH5mEJ6/QcgvcOomvM/qa34Dlujpqy7gTckoL1xo4y\nlaJDj0/0XMVW8cDfUe5GNxwfTPs/ZWn0LDNkbo5mH7AR8UeOIR+8YwlPVdvc\nhTIT+WN8eBtZ+TSKborPkgHeZHXYHbnOelZ4kyc9ThbbT7v2WUDUtxGo+asj\nq7BAFJwZocfBKYFKzBmDHM+1Yx7hYdc3M4FZlEU2b9ATlMAVYXkdDhqLtmQe\nAn+TxsHqRm01dTMGzq44XzeDR4UM5T93oapS5douizvtENrUB+Nsr9tiEP/B\njibk+MNdYj9S7W3jRZRweaAye9IqFfZjPQBVaOG+YKkVdXN3JM2BxnYmzOVn\nPRkzy9+704iW52u6xjdlKeLQDYWroZUT6oXdnFEjMpDLnvOcecKDay+Tkehh\nHgQhXJ5Hb8MXF8fFvabyI5yTwOaoDW0Agk4wCacUiLhdIBZyLKGGaWCMz5B1\nHeA2o2am8/5mNfIdMjwkG5/kLgTHMnT8BCK7WNywlzLenUkZo78dMXqK6l8B\nbIEg\r\n=vYOb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwAQ+TLy+kkvkV4Ay71ZLAyN0k7oE/UBbzOevsHIl12QIhAOJ4e7z1OOQOX8mXDCJq8aDzArDMexSDTfJLXrRNJwRb"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-18_1565746075677_0.9051351009647448"},"_hasShrinkwrap":true},"1.15.0-19":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-19","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a6b215603c40414dec169174902364271cc19757","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-19","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-4hCNbAigPF2bR5J+UqEeYkFkk22mnjjVq2UTmlUzBoJE4bTCXLCvugF+CZXDAmIhu35MZaitYQuKA0aMRDL9CA==","shasum":"e802ce741af7edb0b74dc2096e6a267969090f25","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-19.tgz","fileCount":228,"unpackedSize":1215292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU3PICRA9TVsSAnZWagAA0IIQAIXBQNly9VDFg5n4jlym\nR6u8/e2/mcZtW7ORxiQkxpwgJdwq1zCD3BXnnWBNr0AWtAvUhT74yciLJits\nlfZdag0/KJ1G9MExMWISRwiVKhdTthfcd6GMq8U/SUxQPG5sDr2VViEKNpkC\n/LdklDZq6pvW5MjYQePmAIly8tQIPfBQcyjdkURKIGtuQnL4QH0PvWImxYZJ\n5AlHiP6wjmL/h2ytW5+ofJKcHap5A8tz6Mt9385OFGwE2UslnGyghHqX5kQc\nmO6Us5cOhbet5e59uI6C/2R/O7yBZ7FPfozsMuOR/ew1sb3tQgsdka7f5dK1\nwSuoBzdMDKZ5xLKfJjQ7HLTSIqArEITeXNmGBiyq9FuHr038LUj3QUIIqXZ6\nA2XSMEUyj/Fk/bHtqnatWU3y62nKUWBeHNrWIcfwlipTgPmFU5vjS72C+UwG\nWpepeSzmlEedXogIvmwCNvBOI+21SbQQZ/djIIBBLSlmiYBd11Dn6Owhystz\nQ17ajN+WmJ+L+PnqVup0Bx2Dl6GlwsKvfbw7ICXGt5wl/LhbuAUwIIhjoyya\n1kvddaTr3vlmCd/+MhHwt6OAhPYxUEJmw6chmCyGjXn9zcao2FpqTF/XhgE7\ncM6/QnexNydIp7vTFiN8HD/69Q9Zp2aAXarbynRdtvXMHbM3PdZ+4I3H2OqS\nkgkO\r\n=s1SJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGb5JH04WrZEy+O8qMfMJnW17g8PherX6VRBSgt+ht19AiAS4dhc0Am+y1bBJg52uNLm4fwbeTUCSencVKpXYPTbjA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-19_1565750215964_0.251692182469355"},"_hasShrinkwrap":true},"1.15.0":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8a34087409d0605375e98e533921d57d1ac4749e","_id":"sfpowerkit@1.15.0","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ZRkw9s+eUQonbo65SoZXDrgzLM+8zpZmJLBTdg4THSbrOe5+a4y6/sohmFXUF2y4o+XdwJSWT7+h8FRUHAgojQ==","shasum":"1318695d93b796704431c5f542126eb190da06bb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0.tgz","fileCount":228,"unpackedSize":1215283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU7sFCRA9TVsSAnZWagAAvMcQAJbNoaCmfFqxyFugyJCZ\nVV901WKAHAl/sk3spE/811odWmo3u9Pz5nMMuntrXFRg98UTgE/t/aDV+c5/\ncyjfQ3U1OyNqwFehN0whDhc9Im9fuzliupiiBnPUwB4Cz9939+mnKdXKB8+v\nED9156gXsA2yRSVxWccFpd9zBhRkrZTIJPaH0lPJdAJIRJrYYRAkVgf1m7Eh\nzkseMzes6m7KOBVzeCKU+sDS36/ottfoo02ANUTtF1C0L2tVmR6k81iwNjsy\nXGLIJpzkcfd49qWeFXqZ3KbjJVIbzDxz4udfdGZaYoSzH5Vl4RewW3ePfCBD\nL7xtDRranULJQnbx/F/tQmb8IXpPcmx0aMizl1DXk7vLjRhx58g+nEGyFGzS\nOxn0I7V2FZVKgRYRM4hrj7Z43DDgSEB29fYBg48VH0+yEbhqYNj3xmybRRHm\nY9D2Z66X1kY3HC0iOqAae6WF3GR7Zb4B/35BhfPDox0FhlFwzGaVc+6i3aiF\nYpPLRjSu9d0Fkul0HqVDgBioorQWb6f8k4NjUOZR33FGUbyXNRTsO/kLSBF0\nBPaEU+1pEJFKV+/gUJZ64z1uYIBvECL+xN1L4O72qxTGkHMDHy6fdfzhCZDv\nbpsmek87TIEoIl4h1OPiLjQj8KrZikr1UCVPdppunlDMy/t1Svj+BImB7CZr\nZWZh\r\n=k4rW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGL4jB21QLEuizJhG+ehWR3F6qdAa5Cl5VoGDJOyhbq6AiBE9gD7WKwYXnLq62dQbp9vtg97keacKO2d8H8DMwOibw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0_1565768452483_0.37742510398630746"},"_hasShrinkwrap":true},"1.15.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.15.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7f40775ac5788e5b184e14183100ecd207fcd352","_id":"sfpowerkit@1.15.1","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-hXTMDIawr7WnfUJFZPTBhditD8s8swbScRTgbyvIP/Pg6Iyh8THnqBXpkAXBDKWjlnDvY1PahYdbwCBJmOTxnA==","shasum":"80536b11c78156b25c1df9cd33eb5ebf6938b42d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.1.tgz","fileCount":228,"unpackedSize":1215841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU8PlCRA9TVsSAnZWagAAw7gQAJah+JLRVClFY6mlvH0L\nUBwh0LJfELyyJT9mVR2Fm3mGUqnkZ/dQAO5td6uAzrnM/GwYrFJt9H1fqH0r\nUR0Zz87/XlkejmgeKvgLn6CLceszRN/6j0ZRMfj+UL8iHEmtI8Q9QC4Clcdh\nIDOvUDYbUUS9wSq6hmizA72h+y7xsemt0+SkpXkbeNBHSvi5tizikWdlqzU6\nTgUKg8ojvLRCuPzsUf2PxHw2OftD0opgsU+YljmF/tgxKOD0JuZPdtTsafZN\npdi4ffZ+nhE3FgTlwraYbz+QvicbUadNviAkgDYrljRt8bV0O0J+y1FQwXCa\ngbUVS0VBQSGR1KeZaFCr2XhLOZ2vW16ZbFl3kbk7yvMnkAfM52mlmOPqmn/Q\nua5C80T8gQT1Ty1Duifhegdfoygnku/4lRORT8yotrsUUY18rWkj6JUlmYsb\nnH5D/MJqVxB5iLFqb0ymGcuSCQyDgGy4WF3D58uClbzwgJur3YQWdwxgxuF9\nj+UAEtCK98FLvO4n+//KwDUS9pYuWJSl8y81TCmONklwuq9wzGOb3pYsH3eS\n9REANng0VB3zINEsRD/9iWu6cDSglGEJ7nuw07htV2U107vmUwiJQMvm5pzg\nPY9KxLFnAdjKSjyEp6fl0Nq6ejW4yg8mLbbrGx+E/EisMUixLCO+CB3fCRdQ\nqvFy\r\n=e0mr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRmgeqLfAZyAtGFBSsRr+PQEwDJs13J9Cayo4qj1DvYQIhAJf+gCwuspwWKQdqpVX8RPEsuNQX+D7mytJ1brEO4qTp"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.1_1565770723923_0.2048431177973784"},"_hasShrinkwrap":true},"1.15.0-20":{"name":"sfpowerkit","description":"Salesforce DevOps Helper Extensions","version":"1.15.0-20","author":{"name":"Azlam Abdulsalam @azlam-abdulsalam"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9e4f01211e1a2b2d2a2ac02b28ee5335f2196cf2","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.15.0-20","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-XLWzrk9qx8FxeDAwLF3hnb9Du+M0SMvotLkbAUL2GvALG+awkr5rZ5TyMzZTfpcSzdb6o8sT4T1Rum5HsfWSZw==","shasum":"13d455ca303faf1ff72c436394d30f801e2cd9fd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.0-20.tgz","fileCount":228,"unpackedSize":1215617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU+2bCRA9TVsSAnZWagAApqkQAKBpKGRzwhcz38ZOJZ5d\nf+Ggsj6lvPR94rUjX139ZevI2YHx8fw+Ie69leR0gXagDurmkANlErQHIa04\nquOWxoArFPfFTGJhQqRF6rsn8Apnc3U37I0xHUmaCdiyoZPmUjEPVbpwSEIv\nPMuSr8kgTp7lHRoO+JjYQoSR9uhqVmz44iqZ93nHgwJJA0EcubsE3TxkX9u/\nuyE1Sif3ZQtBluS8WBCwoaKi+W92MrQBzLrHR6/9oDNGeBg4wqQotJqTXBB/\n7rn6lnInpxDsaSmRBiZBazfGrjbSBE9B7GGS9gNy/x6zZEstlqZ5aPnh0q9j\n4gncVFWgbqGRL7lsroT221IrZa/d+PIbvI+9WZojs2mYER5xmjHGbkdq4GIL\nubQs/VlKkJ6LFrceuPdhIWJs1b4wlNhJztW5D0Z88TNJzEjc1fmsqVq8T0TN\npim+SmTlk/H4Fs3V71PB7DtkM7MecktvxJx1TgYBf/UWsLTxWAA03zHWcIIy\nD048PzfpDrX5QTVtrtMgovpFnOU2vvqRVErYZihxb5ilkYR+8q0I4bU06rbT\nThpLwaV0ifeGfjdiuYnx/Z3sJ5ygaYnTsLQsBA1HWp/cKRhAVkQeY3f8p/5R\net3BSA7swuA7iPXnIqpRE3oSYYSy/848ffLvtwHTGia6cfOzWqmESc5OCiQK\nIqnu\r\n=nDqh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrYoNpL1XjeP0xAd5Wo6M/NlsrRVjGOOxliAF1l+0c7AiEAixXYWkdhq2GZHJsSrTVnh2oZq8nXYMmFyKTjgilkSO4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.0-20_1565781402773_0.7535162147246504"},"_hasShrinkwrap":true},"1.15.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.15.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"16925ee2238ad4fdd327b8de06b363c3cce394cb","_id":"sfpowerkit@1.15.2","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-fLVhbaN0S8ouq2WqjzRdwiMcpVPITx5RgKNyp3P52oXKu1ZZEJxVAeUxjLCFuQXf1g3IJh8eFKpuBv7S+8+4Aw==","shasum":"ca04d793954452271144f98ecfa0546902e97b8a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.15.2.tgz","fileCount":228,"unpackedSize":1216166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU+3CCRA9TVsSAnZWagAA4IQP/2QUuES5wPwihaXPozq/\nT7uUQ2iVeG8SNtwy9C4OfWg5UDQYiZBaXSSU08E98afXLXej3DuoIzE8cGlA\ngSoJiGzdngqhsvbdg6Qu4cLsaWwkvIRA8uzrM3m1IvZHHBEbqUCvqnxU6/JK\nDs2ETGWkIR6W9KM5ic+8k5fTxVp6fxWkbe6wasOVXWRJiH8MejAeGN2HjRkj\nZBNVRD+69CnEYo19xAeUBokxtIZCGtHvOqE0zF79Ha+o/NAh3SHHwTvM7+FX\nCP/OJhh4rt9FuZA1VdyqlonYTHXnQRAhGEDLO8cokQkQhJdRMZ5qaQ0WLEC9\ncwAmoh4+N91n8+hg9skrNfqJ6sGasttogMLL42JBlSh4+byIwuABbyLYqIIA\n5yXUS8Kir1aYu5UEOX3Jg+O5AafPnkXnoh4kZ0HHp1isunPHVpIi6Sgk1zjb\noRDYpcxJPJzYOKr6j22GBnl1oHdgrJeSAwzhfdHoc31ZLXE3JFtZdc+IbFSr\nM4XlTV1nv9Hy0PFoQPPIJmibcT281xXunwxcoQWsnn4b+sMP8ZtjLE1Y/Bq+\nCfztJ6HwfILDx9CeEuttoRCtuXQ3quK0bhxQvqbQzgqwaW/+8bGJDw4NqVKM\nqMEWcgo+0YT0/otXW3m1zU2c3E3NTHk1ujrXnK9rJGmgBidFdEEg9TRnprxI\n7kfV\r\n=0xpI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtCB8RoaTU2Q+o3VhlWAUIjgUilkVcq9Hk3PLC+u03SgIgbIXfA/ntzcSro6Io2hBPzb4IGiSTMiExfWuk7BjqQ/Y="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.15.2_1565781441252_0.5042862234660972"},"_hasShrinkwrap":true},"1.16.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.16.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^11.13.17","chai":"^4","globby":"^9","husky":"^3.0.2","mocha":"^6","nyc":"^13","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^2.6.3","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ce5c0ecc57991d029d6942fee7953bf82545497c","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.16.1-0","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-pL9+fM+Vc9mIzueeqSREgbeAGp3I3NYBbnW25lviAmIoKuVKCNvONpgqNftrzr0pM7Rr2kAqNuqKFqjg8OQ/ig==","shasum":"1cf46cfe976a5eb2ee4b0623d4f246d3a2d202f5","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.16.1-0.tgz","fileCount":228,"unpackedSize":1216172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU/XwCRA9TVsSAnZWagAAhrYP/ivlTGlID867iN3YaAXP\nn+ayrDE5RsSRD74ZoBKiN4UWhWRzLUkKbhKmKqzq7meQQU9oOLN4UKEOevQQ\nOK0qpVUYtKaBdWsjMQZDehQSPkbA8ZoeWig2inIzlOScHnLOpWPSgB8SZvGu\nwLHbwzy6Wr5oUkXFCWFyKdWzp98n6BLEIRthlUVTQKV6OJSJ7m028amoANuL\nQ7ZqBQXV5IIpUOcZh6WDdv3QFB0WelU56I8KrBQyemSMqPmUSSIeutk4q6p2\nyw2Qx7g+V/pW6HCk8MwLKIWcnabOw7Qg5nQMatv1FM/Tjqx8yskKUkRhYmVH\nWZ2cw/NWhg1uZUnFmUiiN/aBF9WlxFkBqcYNcUPmW4ExyJDZ1KrTLMklDKNR\nYioec9EJLhF2Q41/FsMZAO3vdvsPBSL0vYz/GMh5aYzDUQoVm4h67rufkdZr\n2t6vNj8pr6cU2Nodq6sIYnmy6LhjrEaK6bsHtwSNZ/Zd+lhLy/kASs4w5UuB\nXaObER4A7OAKPE+UJHqcvzxS6zE/NKRFUPvlSc9eG2KwI1ng/zDbxUZGurcK\nDsdOPZEMur4mUSQaMMz/oArliGjC9eC6Po0SOO75RNTOCN51d27PglaP7xzV\nks29P5UI7oCiQNwXxf0yNSVFuroNEqN3gwvZq+6bABoSKQ66vUqqLNRgvZ1Q\nDL/z\r\n=EYUk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvJFPzEUxg5MDMPwsQAn2Ou/h0ePg1LGHtW4ywU8MRgAiBCl1PBVhfSooL2awRh0oV8dTGDOw/7a50hTU4ASfr7rA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.16.1-0_1565783535499_0.431798154566553"},"_hasShrinkwrap":true},"1.16.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.16.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b3b9ea7c96f801af9848dc927fb14034ef686c08","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.16.1-1","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-cG/2q0qWt7BVYwEgs+qrsgAmin921wkRm9xjHVSyseomaEYdiirahKowk9/+wSTTjdskjGotRh11fhqQ9Ga+fA==","shasum":"c38f810da1dfafd4470aaac03a9746c1af64da04","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.16.1-1.tgz","fileCount":228,"unpackedSize":1177450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVTReCRA9TVsSAnZWagAA1+EQAKIpDSlg3Ukgg4OVSilL\nWgMZ6S8iSf1EllXexoVkCO9t2GPALnDbxWgOgPz/7xnOHSVdNwkQ8yPSv2pv\nTlp8ngV37uZ7BupnsSh6fQ7SHghZcZ/z3i8Jj+rt6B5dThb5VnpihkD2FJzs\niY2voBcR8G82aF/v8s/W7Ev2sgWHNlPkuVfQuLdvTureLKeb4dQuYkaIr85a\n09QPieK8vyhs/RzW0ZtTl8Qme2zSqd4KuYfq6jofnJJ1G/PndVMF/M/fkNoI\nsF2K9Wpz7qzVkZb9eZt3pKBFQp6iBVKtmEkhudCpVE923E0a0JXHmgqcjVGT\nmycn2Ozwbi9JHYmzMcDAfZXEn92Iv7nUkr+cOELjyhEoTo8ynqbuKuTiNakH\nnb+uLnIJBLL1kTwcmHtr1jg1pw8oM6xkVl1ebunLJ5l6VEbZbJH+KQI0Ymg7\n8BCGsYDrmra+rhwTktinVqdxblNAN+iExsE32qktzm5aiKbQ8tgZwreFMyjx\nscNs580cL7bd5ESjcU7cMr7r3hEZG5kMxtCNSkq/bozy7XJD5SBhRx9C5uX+\nA416qGTKqUiGPagqdyx/x5sWqwJzB9Fjad0EMwLOyKwRNorjg1EvgRJzoKfX\nyGhZrnNl2WuwSR7F0JYarwbiivOsKkjmEXD1P9Q9+2rGnzRd3R0LNT6xojtj\nu1tY\r\n=Wyzn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjMLSXJI3ggPcdhZOI7a9QdF9zKXSbMxtWJ1qqO9XXwQIgaLPl7BgtDo/OjCzDKY0F3Oixti/bwJeOkk8N8Lbq1CQ="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.16.1-1_1565865053293_0.5989520308959686"},"_hasShrinkwrap":true},"1.16.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.16.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a7ec1f530594c8ee8b5ef61482b3e4fa5bfda33e","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.16.1-2","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GkuSw6m18WY+Yr5mIuHmf7XGfmq7D/UPL0HXZnlDyWnKQapom/VnZoYfh1m9l++yrwxhtUxiLA8mibQ/pu7Png==","shasum":"f5f19d5ee054933337b4683e22a04c3932104d02","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.16.1-2.tgz","fileCount":249,"unpackedSize":1205908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW1skCRA9TVsSAnZWagAASIUP/jXc+HyWdtl0m1/mHq8q\nU4JokY9/VuiHT2J/Co9RejNz9Y3C1/BY/FsuTZMYFRX2DbrF3AuYt0vKSj5O\nsx1MoHV5+QSDGzNpt/sQ9hzizBlo2dJQBECcbpRujZM2X0gAZGFNwr6gmzQl\nFAB3g7oZ9mVNS6tXgIZ1uit92G+CnDdFRB7HHoOYKSj0NtIqVBymCrf/MsQF\nv7wSbmgSJlByKVLoKv+vSW5lyP4ywtfsC5Jm9SqTISmKKEKTTz+cajxllxjt\nXqqdXCUw6edZVXXaUCkhVTfq2LBeYhp+7MLY/wy6HCD+dFo4WtzuyR2zSkhJ\nc8S7bBYgY1K/02amP759ww272vYNwtvgLi+jAkwdS3LAXxW5UnxRsb+ACpJN\n59f6JZs6UEs/8NlCS4c6u2z0kEcAXsF5MJNvShBLPLOQmQF7R5pP518BLlGK\nFD4FxetpcaiX78amodQW3xPaIIhJPwMW4qlOsEbJpd0dthydyhOeT3hYHgEA\nkalRcJXGCev77OdOHiT5LZaRSqPii9qZRyTWivPA7Vp/xF74Rij7SFylW2B2\nyMKsyaYHvRpZ9341KJkmiVKooOMGDcKW6GzWO8Ms+urb999XM3PvuNeCI1M0\nLodBDgzyWzYHR6mVDXo8ETOLjSRaya3RKV/ifpI4sMqweIjuzpaK9BZriUnw\noSNa\r\n=kYPm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIER3MdYEXp5Sj4L1aSHZITlP6hvoN1wLWwejQcKdyaC6AiAWxjWt3oDityklIWJyd3NI91ZOo9mlVhPbvpSv3kwlqg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.16.1-2_1566268195347_0.917808586863678"},"_hasShrinkwrap":true},"1.16.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.16.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2eacb3d6c9d55dcc0584ca0d9e102da29f43213f","_id":"sfpowerkit@1.16.1","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ghdVongPiBSuatXPoKhEo42HlO9psQjJKtew7fVZPufB+lmau3tU40Rj3399TKM94KbV1TUCM62m24u3EbDD/A==","shasum":"4ead0bd878eb0440c595ca66fbdcf72d87fe5f55","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.16.1.tgz","fileCount":249,"unpackedSize":1205902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXGNBCRA9TVsSAnZWagAAYGkP/1vcR1OFEXg2S970LBG0\n8fZtztmQ/Xfo6uAYFPNm/1yR5pJ+im1yHO2U8xCHRHqYcfB0nMUvvZeyDLAh\nzx0Sp2WiF17Owc/8PgLeQDvfvhnujYR5pdUIXxg6n5+AWVzAolAFEOOePZeD\nWIs3NnFCXEZRCtCXx63RDcXwjtem3ZUp5Qzp84e74O4e024NqDjLJoUdSToi\nhCS7Hpdch6wqjZ7NowYermDwYYUq8RzXIv28Ty7l1j06kfN4b6HovbsyMQRO\nIEtvBMykqvQyeS2O27vDVggYK56iiFoEkv/1rbgSXsbQGYF2FA6kQpANDzpk\nXztM4SXnmzeyujc3CunEaRNrOFBZM88Am1r4pAXUqaV+x4fZ6TexIaoauUlW\nu2S0ERGAi9K19LTGGav1+aeAiUvU+zSXmMRDWKXwlzs97zT3Ob7VKJauDMUA\npdF17OYDNCfMY5qlOsOtS14ES/pcNK5Q5QNyipTrLSAgtezC0N/rHfwlfJWA\nidRxpQdJLLZj4iY8/Foj/hBeCe0xZ404oy2c1FXs1FGYDTGU5Ex2g/hLR2JG\nsoPl8kX0o90DY7n2TO4ZwCTxwi9zbOjTsjpU8gzNJwCt3Rej5ZbDY8lZqJZX\nyWt172rHJtIBn7CnSpVVaiLJcLdKVMB/98FZN9ZdBwNAa1juzxZtUbABU3iq\ngOLS\r\n=4ooZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7/VYWGUcAFddM2Xv2ZweiiljUm5JWTWYj8EgulHGwzAiEAq+dSwGTpOYWGyqq6db7NJPbX3a9YJt87Ns7Iu8yv1gY="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.16.1_1566335808107_0.21746265443465207"},"_hasShrinkwrap":true},"1.18.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"17057df57ee479d0d38d3d0c6a8cb79f0b419cb3","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\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\n     Now analyzing inspections\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  [\n     \"AuraDefinitionBundle\",\n     \"CustomApplication\",\n     \"ApexClass\",\n     \"ContentAsset\",\n     \"WorkflowRule\"\n  ]\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\valid.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.18.1-0","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-tFETp/2gY87Ynvvc+HImKkfEvcPSU2lIUDUNd9OVFqfNqsNNDcj5M283IAxAIqNRgLar1LVJFxkGlW/ZbKRbUw==","shasum":"ef17c740a09202d649a2b3315635d4ddcbdc008b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.1-0.tgz","fileCount":249,"unpackedSize":1205908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbQtVCRA9TVsSAnZWagAA5kYP/j+Gr0NZokVh1Pop3/wg\nTdY5ETdOtu7yACz0v6W2K44obtcutjgJ2PGF/YN7NmOEO6Aj1S4bz+uHoLnh\nr5Al4Pjl5MviqHuwVsuw/UvZpR18pCdnF7KnHn0P1Ijsgy6S/nKVefjAdTNa\neweiiJqfpWrAf/bQsI7df+lwl3T2YF79oix1o0V/XfetOKwfjz8Px//iC5qH\n/iTTMR+rxwfcGdTFHzbk7A1J9/h2HcDYETbFXUNtWIvhX/wFoVZ+9GJySKTK\nVHnDVWTlupInV5D27Cax4X4mvXecohnypbsl3EC7ItwdqtbZI1Q6yYHP+qAq\nscz0QtlVoxVoldcO83TT5EQiZXJPeYxfQ1NOYdBZBs/QbR+nlxJ7BwVIJOzx\nloP7rYs+5AOWkfA7+8ZCQ/Vjfe6+BZriyxdjchIiQzKuZuhT/NXWfJcsXvdD\nOew9n1j7sVCOkskyx3YJGQuvhEe7vlt7BY1fOOHaPWedSsh7IiOMCqvUSAA4\nb/weZ2nlGbMNjRO+X91QIo6k0ajsiPBQD5Zx4WjxBqCvDR2SEquInj8eikG0\n0/jyruG44migtdXSCK0y4vFuspp3j8gazfXXwPyE8TNvznzIOPrYV6Gq2GZs\nIV9qw/XVBbBD0ATl2SiKdh7l9SCafrOUyHzNvL3Mz3y2DP3brGK+8XttXOf1\ni65c\r\n=/+K5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSz4eJoFugv5Z+32P2uv6W3Q9m/GDS4ALoMddnnMerXwIgZ984U9oISahOvmcB1KZQvxjHtAYxHHLYTTeKQuAXbF4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.1-0_1567427413022_0.8627797233510675"},"_hasShrinkwrap":true},"1.18.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2f7d396ff0f1644091ac88de5e076098e051d7ad","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.18.1-1","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-A+3fE+InDc8nBNORzX5Kk6Jek6OgmwGbD3qCl15V+1K0Cfdg3BARXVCIG/Y4jYZT/+DQgysRRyUbmH9G+ay/vw==","shasum":"a4b1e3d103c3ff0a914c3fb356d2e615bd0586d2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.1-1.tgz","fileCount":249,"unpackedSize":1213331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbbbkCRA9TVsSAnZWagAAeqcP+wX0OVv+1kqRu3kv54c6\nW4h/l7RMxJoSPOXL0VdoXUFVcMZ4rbWE/Eaxi56i4AQ/GA7LgDtQBXFnktnq\nGv9CPUhnWMsUQGeOo10xYS9kC2pV6NkZNtkIo36HqlaKwpK9VnLm/U33RFhe\nb/HjdI2DXxrkmMiDNfUP7wvio2Of7EJMhZybUBp09nBV+fcYUm1D35lZUUAt\nnH6PQL8JYMgyWIi9BK6IFpDgLyQKdg2Yv5+KZ9JfiFYGDMh/UBpI2H4si2mE\n/6uGlgeaBXu+6nUNkRMdI6SyVZEaVpVNFCsjb2MixfS512TcjXpQkK8v6jff\nl91luMevsXk44Q0kdeDvW2Zr7+mSqHXair9A/63LfbznsJE2Oae2M6e+2cJT\nyLUTD39iDIhf4JviILGxqLF7EiTJlpkbrOLdsvDzlC3ipKR+aksnU+pGkXnO\nSB8NZV2MR6tER0pHI8DfGXQmhLaJ8yjx8sDm/0zHgd4yYEwf+LhBNP0OlHrg\n1ORCcIZb6e2GPljAkI+zj66m2HDvnA/NDqG1smllkKF7eJgMt2GXU+1Mhzyl\n9oOVe2VzUIcoYtXbD4MTcDLTr1t4dwc3hGhM8Y6PdbRe4ZGnv9Al5lDAhR7R\nFMkSPN5Zrf9cNbXxyNnCuwP35MsCCM5wEfHxr1Bw8INpqq0gtdbApbyVlvFT\nBdkq\r\n=ag9b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHzqnOOKrC5GbMypzYq1COfDWLBEWMOd/moEL//g7XZQIgL/Yfo5kPf3uWt6YI+krabz4ditCpv6YanyXnIjlwkTg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.1-1_1567471332109_0.9396690756995407"},"_hasShrinkwrap":true},"1.18.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b58400fc6d5dd272619e1e9f0d1f2a7e2974b212","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete package xml form the specified org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      path to the file where the generated manifest\n\n  -q, --quickfilter=quickfilter                    csv separated list of metadata type, member or file names to\n                                                   filter on\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages from output\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.18.1-2","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-6qU+O70c55P7E6CLIOr9aOwL3AmrJwALxIDod/YbFHL0Kb9Qt09JYKLDDlydy8v8cXrrQ3cYlI/wmr18lclCfw==","shasum":"1ddad47318a94529ea1c20ce2355bcd09bea1517","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.1-2.tgz","fileCount":256,"unpackedSize":1244259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbtrSCRA9TVsSAnZWagAAqAYQAIIrnRrk5LaeBWZhqSYF\nR3Lsb8P4ob7sZqHWUJg34pUFrTWB8IeB1mo6pAk1Gqc8UkNuXXZs4NwpDxuH\nIYJyOQmQMahF6LVnr70IWNpB4nPI9D4xEthceFT1xFUMLhkXpL7HDBJN5cDM\nzASYN2PMAhntMb5WXdaSFm561qHjJXnYSrmV3YLkNFtpE9eHb68mKvO+/ifX\nq4nSbAQTjK4e08hWRuNmprlSacNL9fGpnWW4yfZcDCAvu/mdqzcYJxdmQXo1\ng5jtmgFbFDcxS52Rz/0NbAudVZEfqLdh06E0+zKCvQeu9y5LBywqHQRqsXnz\nXsrH3Rs9ZkxV9scDIfvo4S38MTP0dM7GZ18VzfFhhrF0WTWG8/SkA6DhN8tX\nrFKsOozUNd2fxIpWHCOR3RMxJSLPasq6u+vIJ9jMYM7F72c6whL5tVJK3W+0\nrtWlvetmeMHNmFqF/XGAPjF0QKhmihlA8bSrFMig1GiKd9iBrwrW7G9jWrki\nmESTocORe3d4K3jjoesSRh6MXT+jioYvRflQ87cgbyiWCk7IoJSGdj9skRPA\nOiFB/043URsu8xR62PBCP/+yxHh7Igw8VEwwMqNKrLZhCiddzGVHj4ksk/0p\nyqbzsdLGn4+nz7crow7+GLV+Vj4PYDkcRQ9wIH2XhyDJ/Qb+Ni8If3DvVWfg\ngs+q\r\n=PaFS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO86qB+df12Uu5NkrUcnsltyWFaMxHJA4dwmFO9O+XlwIhAOWc7/VYl3JS7USzRoFcuVS/GLN0fddobKf8L7OiunSo"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.1-2_1567546065427_0.14583825900047764"},"_hasShrinkwrap":true},"1.18.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"34e8aaaa57e2d8708c8a0ef4bbec206db161a74d","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -r, --fixrecordtypes                                                          Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.18.1-3","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ieEfB5PQkrDhxuyambdU3CQNdSnuDTZCl3RLyfYACjnKI9EfRrMXtx4x/wY1Nl55R0ASoRh+QMAqpfVGz9WrZw==","shasum":"db1aefbc80046950d2b8b6d4e40738aed7fb1499","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.1-3.tgz","fileCount":256,"unpackedSize":1244917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb7RfCRA9TVsSAnZWagAA4e8P/it75t6hVvfLpoMi1rs/\n3NyCl0xpjnsrymiFzggGLSNIbDR1IioA27lp/0I4+aqAhfsPc2G7S8Uj1uFZ\nUoiM1hZA8nC81bUJoLVq28cBxYemw+0IY8zaT1DzJraN+K2JFW+6Thj4yXYD\nlJmcyF3EI6+273y5ofRloJTOeXU4Ku2f4neGDPN+OXD0VMvEGwVfY+3NIPcw\nsBpZYqJYD1hLAM3g/Iyiv7F8x0Isj7rAwPA6vqcyDroFyZJc2s3Ld56gEF9H\nhXPy06+I3kxZk0+fZJ5s+yQnWsYkIMPBg3doeZ+nVxV49xQCt5fQlmuG0X5v\nlu2iXaAj50YVOsr0HhLDH/Ihby5gVA+OJ9yMuTFZaWG6b2bM6kVzdmnHwapy\nbAZPgmOapvLmkAVBhS+fNRArnaT5hw2r7lNT3moGlbjl6qA14ndVM5Za7hba\nnj31MYfepj7B1UijE2cq0EM/Jvp3FMeaH612wSsB9NEJQhK8X5mGhsenLrmq\nGv38Uvk8OAZYZlaw6fh7Yzytuz8NgdCrdmAKDC9HKVuvelM5BNhaU05FyVYD\n+bb80JQaGRDuk0vuUjfNjju+lJ49dfgy1WAhMNR3QBnrbkF8eAqvg13QGRFE\nRBeTwgr9e2JThDl0WcMI2C0VYSB87dEY1CoviTUJzAOGn0sEd9nZ4REe2hve\nR0ip\r\n=WjiN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0T/IBLMeVbqe3WZImyfT8+aOfJn8vGc0iSSiDXgfGBAiEAjq5EG0AXMcAKBJEQkLlH1fRwE3vd08O57gALXPHQvdE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.1-3_1567601758197_0.9519309631424613"},"_hasShrinkwrap":true},"1.18.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"57ef47e506e9ef659e46e4876f70aa9f841036ee","_id":"sfpowerkit@1.18.1","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-9xMe7/sn4v1TmX081Gjy6jksm3TUC5rjv/gfVeYCpxQWCIJUCnGdmdKoJUcBsL01QRgY6aKKXbVPkY2tJbu3YQ==","shasum":"15515bcf59ac5f11ad922ae6f50aa351453c7a6e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.1.tgz","fileCount":256,"unpackedSize":1244911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb7TdCRA9TVsSAnZWagAA6l8P/ircHmulyFlv0arLJkY7\n35ztEZrPfLF6EaVAOdv7rmGDNaNGJ5TT3vzftBJ2Nuxw9xd7qm4NreL6h0D6\nW1tuAQWl249oY0N/IlCflRbfIkOf4fQ8h0YV+mf3nwGDFPFAYhgC+oB9+AkM\ni1pYzFdyTB64e7BLg4MPnANJjkUUrzH+Nbs85GjTs8SJQ3TTNf7k9exmf7gW\npVCAyudTonP7rd8rSl6Ko0jzN5XlciNlgbHfLpExBf04oWt4Kli4TA787qiK\nsfETs9EK3IylFnOcdffQr+HxW6MYeSzMlucQGgeqNM9h97H5gHBWx/newrVC\nD/67PeIY6Bv2yJDvMjfTQSimc69Yf2xAx2kZsPep4fbOLwYUuNpgu3on3N8c\nmsTJv1QVUWiTo6BPAca+0SxavSt0WbgNoyjJ8cwmiMplQEOlsS6Qd/8WirKG\nOXkHuiDQPrbhVfg3r/5cVYAQxZr4HIz0Jb1LwY8k7srxUlrMv+QsUly5UrVc\n4ESH1JAit9CH2AP+Jp5WGbnie2l3jNDS97sBFowxcrLt5ya4GoDrasiNtev9\nmzU+JftqqM8C0C0a3dGKvOPpMFQd8uLM1JPe13XsgciUfRT1sgmwvkItiDAs\nnwIBO+Ai+7tpaQBqeSCkDuAPFx4XIRbuRQYBgcXz231g5XUydqGZU4CmduoF\nZRM6\r\n=uwBA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKDUYQ8ccN2jJyo9xQOPyBiH3roynNA4uZGGMfN8tb2QIgNOMqOpFA6VlFIUInldaEHi+GELFAzhIGiuQX++1MAQI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.1_1567601884596_0.7313794268407601"},"_hasShrinkwrap":true},"1.18.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.1-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a69bdec5040e6f797e5d873bb4165876bc18dd38","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.18.1-4","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-F/LFRg1bdN6vpR5OdpaBONhRpeoA6s2TWuaTRZvUWoJcjH4OfQE4/uXiVjUrW5ONSRNe6xB0xASloUo2CZQqiw==","shasum":"04d12565c9c133b8b7b4989ff7207c88b0dcabd7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.1-4.tgz","fileCount":256,"unpackedSize":1245120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb7jSCRA9TVsSAnZWagAA8zoP/3gebp6Hv6PpZR/UhK+a\nxbIaPK9uxZ145A5NbBtAejumPkqDtwXZPIwhiqWmpeLpYHMjOfkGbNZdlZGO\nZ4Jr+M7sqCM/NirKyK8PnpIo8UXHXcqAZiDGCc3NE0bxmbV9M+eSTP114vzn\nNbKO9VZxF+rXlE7qHCP1jE66XjX4NpPlm8dCboaMdAo0ClXExr+CREwjNBBe\nJP/Fi5NFiNTB51ZWx4mQHiqJChou7S8jj0WAnWlHaL2h12WpYn3Pe4NcG0Ts\nIkexQdB6IBeQgrRxh0JIDPH1ltxwP6I8Rkbw3GLzmTh4UW8ALf/oyUWeoZz7\nLYiLggPozoOfAVGKNvY4LGCJK6oCwO24mvxqGkSH3WmmJxxpGB/ZiUbIhCLq\nmej+MqpbFbTE5Z+DnJZmAon/Jo6sOkzlenTzj/WeLBXL9Vti7ucW1OHZwdzP\nCoZ0M+/qOQXy1eeRtMtcdBK1sFumwFHMTguAuQ3P3gaHTsn45+cd9z1UkzWm\nw79q/lYOVDulRgsTapdJuGdwH2EEqbvFE1+7d67uAR6mab7B6P2K2AcBU2V7\nmqib2bGxY2v8dn5rAQ1lvK320Yl8pD6ZuKwOSi+AesOuXU3ifsJ+PKs6/1ZL\nkGTqVPJHFSxB14Sk1Dn+7PsT/2XbvPmP8WIUPPuP06jvLzy3wMtGdYdIFyMQ\nKlue\r\n=ID5L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+yCGo/3VGGtGaf5q9/mDEimmnweV3zzocCk240+enZAIhAOnko/z9CgsYvSLXicrGRAfJT46lggPU+qKVNXnar/ET"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.1-4_1567602897702_0.8759673048402941"},"_hasShrinkwrap":true},"1.18.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9d7f4cd000494ca51f27cae78c844a35f38e4a44","_id":"sfpowerkit@1.18.2","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-hqsk4o2bi6RoQCGQXEKb34TIwWKHHarX/9U+j1Tg4I1qI9Biv1PVDAZbzvhpvKd2OJDWW+7cQwbudFlR0iX7ng==","shasum":"41f4d2394f42e86ea81ea9d74e1f3c1dfa8ab498","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.2.tgz","fileCount":256,"unpackedSize":1245114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb7urCRA9TVsSAnZWagAAXmYP/jVC024KW/A0jq/VAGh9\nEvtw4WkR95sJo8N5ZMx7LHvvTm3lTIeTGWe/PEIIPXkig+1qsVRH0WVadDmU\nmGE5gOgHR8UiHZUnC1u1xWgyjFwxeFIkERa6ZBJXn6h4rSo6nTGlIHYUWTXl\nQCUVUXBxF+wMEIpfIjBPUUCdX5CVeUqWWvrLUf+4i31bKd+tgr1iDWWZpnMU\n+BJrfCPMwsRqaDwQ4tPm0zMXWbPyCS6Kw1cY5ddrtXh6Yb3t3pJZ41ZVBTZI\nTSRZpUh/CJgZHe8tGRAKlnk0nPYRg7c6ccRjuvFdeufVoTuxv21GRromsQvm\nRFdknSxWL5Ytv4qeUZzpl4LooR1V5Kyqp8FUJSndUMoV3n5prbzKSGJy4wIR\noTJyLrA2a6cH9D9T4P7E9x8lBtSzT6CBfjmxnyIOqMtgM+Ezqplm9TscY/k+\n/5RIIe6SvFqIOLSvLVWsT5oEDRTMf94WdTStithuX64U1zwIQaTT+EHMu07R\nmH0Dw+bAnp2N/HEYyHhRjz+XWFuf5GYqPLS7zxF6y74YCmK9RvgKQ7AQGzgU\n3K9Tqad52coiTPATTNL9/E3CHqY/Gom6eV2i5fVkLUy/kHJ5yRpsCf4zdA8x\n4KretHTtc4dEud4KgHsoX1YQV/gvZyn7t3Fi7CP9Np3uuyZzXMdCkvSu9PPW\nWWyY\r\n=ZwMD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf70buAr68VKonwSxLDG4jLjt4EnP9GWvxOnb75acosAiAqeRtQsTrmUx8J/MazjcKviTKTY1QKdh7O7WEfR1bZbw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.2_1567603627099_0.2951657219967456"},"_hasShrinkwrap":true},"1.18.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e5118aa7777355167f1b2db47e57afd7fdebbca9","_id":"sfpowerkit@1.18.3","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-yL7ZEGvV7XOTh123eUF4TtOuy6xBx29UdtaxQLyVD6eJtk8fNSZ2bI7svGh7/MU7BCn9lqYc7nnkqkdO/pn4SA==","shasum":"d79e4ff52a1eb57a13f9de107f61d738df3b68cb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.3.tgz","fileCount":256,"unpackedSize":1245170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeMQnCRA9TVsSAnZWagAAiQEP/AqsHWqtQqgatJPVTnyr\nF1+nXnfVFkip82xJdMHbRWi8ZPFp/qfrSd0L0NX6uVhK0i94ZaWOvDFQ16QC\npT/T2TjwEwm5um+ScDJAnJW0mozlKtE56DzP9NEhGYuh6sEJSndbWtLgs5Ur\nQbDfRTTFOuEpN1AIH+/DsT9mTuMeImxv+WCP8j5r0bp7Agk/XdWxomLB52lh\nQHgu52FTfOT0nzQT2nv99qV2p1ZmynPWfgygqBICihSkD/Rk83l4jgyPkSIw\nVafErk8sIjlUmCTFNhMtPYcWh82CnYQAeChbUPyC9W+okhRL/IELLzTeB4al\niKy3eSQMzFVAeKMdAvzNgQ0xHlQX74yhOZ5vENjCVzGmZkFS4GqlYJO5p0El\nrq0RFACxSUolH7Z5n+1BYx7eYSeoi1eKl62cnjuLun6twCpe0Fpae+5vlBoq\nH09Oc5z9DPBIbL8qJLgedD8Nm1+vD6a8ZMzeRJcnJlkt/dL3MpHCREKVBe8U\ndi5m8FzeqVGYqzaN1/RsW/m2z9UWiEAA1GlUQVds/yIp2J/SBlRg5pIW7js+\nMXadCBrRo4YEZO1w8YcMANMBwM6gA4QSmEHByqXcJiZE9H64P3kjus8vfGH7\nYmYoUKzrrWtlxvo8K9cz5qwu0LB66LfY2Xvm9mqQuiyx4DdrfC2MePKVuh14\nMtxf\r\n=wlij\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWZvresBpwpQ9Q38A9ZPqZEJ4TwRfkpNMUXzzdUJ0AjwIhALllInWvZJGLYA+uKnnClfJrmoI8PMjP4vvijl/lljj/"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.3_1568195622772_0.36244399428916196"},"_hasShrinkwrap":true},"1.19.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.19.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b3bba9ed7b650fae25abf5a09b5498e81c1cb51d","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.19.1-0","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-SRg8E9shfrv1FtXQQ9X0tzpu/h8Q+Ux68ax1AH8qt4V7R9cZ07BawJu1NmGnlcO3vAeRL51n5k9b0O2Cjv81vQ==","shasum":"4dee68168e3d4fb06486c845bfe53ce297799b1a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.19.1-0.tgz","fileCount":256,"unpackedSize":1245176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeMRdCRA9TVsSAnZWagAA5/UP/AgglscJgY6mgTTrSozx\noZ3wexpJqcqjHElLS41l5r4euiRTq+204cvF7wYo7E++694g2C4YXAs4rVCt\nzYqGRkajou0pqnZGj/Hpbb3ZHED+sw2i76hNkR+uSk1xSFaQuYLOfxBPn4PJ\nVG5P5sGCSnbX0VSofYN65B6E8C1LyBg5jdq5rVAYb3NsNeNm9ThVjUsXU13M\n46CjGRONUlER+EdlSMPt9zCwJwhsBYnjaYPbugcwa7GTQyACwjql4/31hd5H\nLirY3tB8MqUVYiRIh6mueVdQyoNP5IQzcDUn6kGrb1+wTI63iCY+7mJ8y8WV\nxPj2ZQPijFkm8nc3YDQHq4KBEMP7K3Fm5hpsCFVLcLTyJGNgQ//k2TB2ZP0b\noSHyg1/QpL62fUMymaksJ7ZKblHqgEBLgu8mBsnm9ZALfGF6dvyxsHeDD5Xp\nFAwFi4Q/6fMQEd983cE9pu20q/nhgGwFmHzHY8ShBotxSOoBH7/CxgijhIp/\nCFwe/MTjr+NOp0PzVpuSr4/D0tw3MCads5nFlg6IDjOyG/ZThPZMGtwQmV6i\nLvxP/aBEJ1HYS66gqXZOrPHSbGTe/Hrzf3U0b7gQsoC8hiMXrnvl2A3PpwZc\nngGgC7QfdjbWTvvtRHkRW3YL104uzXH2WOWPAnDYMv1JXhVwcjC5/0IDanLC\nROOl\r\n=S07w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu99cS/GTEosCGd8cs7wIKhVQ4a0C3a1wbQnKr82HOmwIgd/f/9BX2q3N8op8W5Dlac2gB2tG4D1Kqd7Wlh+1nDeI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.19.1-0_1568195676997_0.24638896972709112"},"_hasShrinkwrap":true},"1.19.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.19.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c4165621b2154de0b7c46c28dcd6c94f81d74cb8","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.19.1-1","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-WTBn/ZgnrN8z5GvsTN1iZpKTn/XhOIfB+UTQGgiSrtxL5XLt2dH//zeBqB29B9Vop62vTA2dpRIqISPiN1JD1Q==","shasum":"622f943dbf883ef68ede63487a0e40d6facff0db","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.19.1-1.tgz","fileCount":256,"unpackedSize":1245713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfq+XCRA9TVsSAnZWagAABdIP/1CCVvUnWGvk5wmQOgBs\n+b5v27GzcSpGgY7o0YNKQCcTFiOV4ZJCZHunBrTEUGXzgGooImG0/jdamiXh\njD3tPI0u33+XMhqvspOT3VsOHPbAAqPYSG+SHCNYiTYJHtk8SKtjPLgkJYVQ\n42JNadXi3TUau3l5TP6d1yNVPICLCFc/JyRIUDWjc0zGdq8lOUVzb2ZVybag\nRj3bJgvuQm3Sz7hEzYyfF1zvZ1Jkrrolf2PgIyuxeP1ZYNzpKiFkxSqhp5bQ\ne8xmJyfKIyZL5GlUfdvfENt7AiiCsVQmgrnzmKpWl1Pr1a+p2VhDPyRsWXA4\nREw+pnMGVstuocx1B8wtOmqGIHgD2CJc7fANCX2sLMRKoAvGBIqV+RlSyQLH\nxh+9s9DrlLFQc8BRIU/Tj7tfeVi3ecxJpWVlOiTXhBfj7y/oo+iYnebp0tJX\nLk1UL9b1Mj3zw5SPCQ7usDYDD7kveCTgA1IGHTdgZW3bW+nPCrWksCSsS+fK\n7WN5KRrRVvcDvfoQKM4YG9nUcRAv3PKDmTitFLBprne1SVxYAEQRBRqxFiAi\nEl7DMQX/eue0FGty0oAtTRoRmY3/yQPP+GezyZhsovjNMLaIA3xpHaS+LCsB\nm0Xx7VdfFvVwdG5JBbRXjUd1LJdtVF7VNg4dhJw+cdM/4kn1PtxLwVLyUPIM\nKCPu\r\n=BTEn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrPQuG9ZczOhmhFNeidNM2qFsEMSB3mTZYiACMDhP6rwIgRlRTcgaihmFzhr9qMCCb8O0UKqqQVwZn8S44JTgx8pQ="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.19.1-1_1568583575044_0.7220560508762599"},"_hasShrinkwrap":true},"1.18.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b7b4e7d4f05f39142c4d6d632bcc46c3fc30e071","_id":"sfpowerkit@1.18.4","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-4XSIFnmUEPZxnzHO9ylDttLfYYNhxTL73dUd6PNbnbv51l41GgIwxnn03x53au1+4AQZ4Y0ZQVYD9hg6x4kHrQ==","shasum":"bd7a48e8f873f455bf352983e30bb218e32abfca","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.4.tgz","fileCount":256,"unpackedSize":1245707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfxjVCRA9TVsSAnZWagAAzmEP/iM+K9LbtWPaWAel6Tyh\nOMUhnfj98iseiGGpNDZG00mdarvigqf7VEDI0zazkGiPddk869P+PgmPmsdZ\ngavNrASUPlHecuZKQVgqxSzb0pJUeuP5kR4NNEGD/cza9Ea9m0uOh73w/Z4/\nWnt1O/8V0mfiy2iL5wDBrEsuPHrNN2AXUH0QhgxxCeyGAo0llDtalNZNy7Xd\nVrcigwhRadbrOczRtKyDi8aXYKveZ422Q9MLhLENTIPgGaMNoSwkM9hMc3Bc\nPEztW7oafMTIDcrTia8pxRRCEJSMuxiMjbE7BJYsa3o2gNSmX3xvkV5eZRCB\nCA+I24DkFNSzxH2QjuVN+43kjql/ZsUF6x/80LEQhA9kRq+SvjnuUJgywrOk\nuNp4dFQPeDOhCggtaUq24zcm3GBNVYlkxtwW6s1sb1AiwlvZ3iF2L+4DiTK0\nBnmy0hUITZtJ589c5Sbi10VSMVNMzSIfyCzi4Kh7m5t2NC2UfnKsrdvdXTi9\n//QMcYO1Pd1FbKTlLJp1BPrDntakxD3LMGUtF9hhG7stk1KAoSDtY8qMo46Q\ngLmmD1+Fgp+PM1KLSmk6p1zenrXg/nDFkAnbNL4j9/cJs502/RiibN5WOyje\nZRI7CHHMMPeyXvwlArFcGCS434+AgCCKvX4AdvSXVxBgHYa7Kry+bCCHiGkS\nMVhj\r\n=tM9D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYK/nDDvbv2ik/F82OC/JP9IaY3bp7bvnMZ+sj/eoFegIgTCkpsGDfysQYLydVNcBw7YneE44zlmwqRBL9wimAtIs="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.4_1568610515988_0.558197128920755"},"_hasShrinkwrap":true},"1.19.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.19.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d88a4ce9ad0975d5ca267656c2e769ebffaed136","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.19.1-2","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-tOxrPYlrNJ1Ia0vjbjJF5X8rUfB7pssgPvjvJYART+q8ZvTzQxfkVsabTQsDUrW/hHyj85YG3nrODbOfAFYxLw==","shasum":"0b4a5875ba74173d13eec76b18880f72c1c0a332","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.19.1-2.tgz","fileCount":256,"unpackedSize":1246390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgHYECRA9TVsSAnZWagAAHS0P/2/AyuNjnHggdBFITnwL\nuVwS56ZCiw244VmPm+Rus0G1EMMPmbG+ww3IXiA0mCNyR51q6s0zX7zwPvV1\nAwX9rbSBdr2Vw7tDYccKUoK0k6U/4rTePSx6ZBTnyi9aj4BL+iDpE4RhD39b\nAFHL/c/7KcLoi2kr2lIemoVyXytMdvV3OuhA4R5DpAFRnJHh5axCkf7SjCHX\n9kCzJ4Xw/75chfZHLOe0if4glzj1sQYvfjUVaVGejWvx/74xPBr20RegvDmE\npRFE7do26j4Pvpfc9LNFY/qBPMhbxLYdTNwbPwHvqIspqBzWuLX7FJejTdwu\npgO+8XJv3ar/2+x3nXxiNhJIaxyGpUkSvBNy7cR6lV0BSEuAyCWO38tjYVBG\nAm5dNMHgg7rVwFpdUoruaioKds6VHoyIP4Z6yRAhVE27Ccyh+EHkFe/UDmRw\nKDWt3wHNOSMprt5ziROfoOBqXoOlaNa+CxDMx7rA8/jTMBHcVjoSOw+8n0jD\nl9l9FhYYg6JokjYnR72ytV/cGUbbVdHQD/zPMy7GMZiQMtDkBdSYNh2VHkmW\nFEnJbGXrxvKfHwgmQPCJkGGiELvVFPEs3RnaDHPxs2j5KrUGSJ3ErRW4O0YZ\nIcBTinenpJGaw5lDBMeEHiHcN4VPXzITikch54Sov10STrVX4eA08yo1wma7\n6ec7\r\n=6zWC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEe35TtQ22VE/YciB8q9ighC/zkVKUH6bspESZpUHWwGAiEA8fEclTrjTGJtk+Sp0aXNpXfnBs3RVurYOrY33puQzEE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.19.1-2_1568699907680_0.3563597321430163"},"_hasShrinkwrap":true},"1.18.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7b6b43abf933bb20fafb0ad8c7b47b9553147035","_id":"sfpowerkit@1.18.5","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-mTgrrXd7rgwugvuddI2uw4rLC0bco1I+gsfG9Uxih6dAdaCJtVUsBYBKhltAphgp1IfQdntcAMZTC0dMTt+79A==","shasum":"4ef3af96edb8f2536bd239cfbf895e7a39a8d3f1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.5.tgz","fileCount":256,"unpackedSize":1246384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgHoDCRA9TVsSAnZWagAA5ukP/jk48Jvw2tVwfoc5ysyo\nchGBEC/eF3b9m2UqBd1O6Yg3VA1EyxrClPjWE6hQJpQVnulocdHczzUA+Mvn\ni6mgqlpmWRWwSjuDAh4pFB9C4cZRklF74hhAfk8ey6gOnb0fPv6i7IXiirho\nWvL2Xh42YbCMxRECxu58Skm5Om+WJV5XkpmPAteAkgk8oByddTFIOZyupaQ+\nQlya3e6/RTjV1SEwdcVppJRI3oWPeLf97lXWdx7YUPiEZwEKeNE9RzPLIdrW\nfxGZZx1CcVm1gFwfUj7QpF1H/lm1zkfWwa6BI6mm0zyoam8HY2Ro5HiCdfiq\nc9ZPE6k3l88ijNMy4MEENXU+edZObfYVtbrXWRsYmy5JBoLa+E0pzdF0mUip\nmzA7FxM14MYikral/N1m1Y4ZU1AotNQvuvAHgTVh/+gXfqAPy1H8C7OHCDq2\nL74TIDbL2IvMSuADT8CXaOONZMIE3C42jlp0o+JLBuYNfJ1159yvz4t45Ko6\nmi90MWkJdOQLuF83UrOcN3wN/189EzYrcyIG+5YvUj6TiAvNFkIdi68VsZb1\n8h9p8/qFIyD+9L+XTX9vmUdJDyL9BcZ0fAQROrEClo1Aj68LIqR1DUcwWUpA\nknBen2pEycadknVtWN5Vq0bS/OYXrMTVqD2t43itvGlyIFn1oOHDUHCsSJBr\n3GtQ\r\n=AAXU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFW/fX/9ESoUY1pToeiacUA8+Zvxqm2fqmSUsJVhLPhcAiBNmjWgvGQ0PLyCRIfYAwYkwQdDnlDHc742PjazL0SsLA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.5_1568700930691_0.08348902010049253"},"_hasShrinkwrap":true},"1.18.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.6","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"74bed2b55a520964b314459f3cb10081ad9d1dc8","_id":"sfpowerkit@1.18.6","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Et1450nnZlqMS3H62YeHAI5PcG/hVqzobnbE/EhifeQ2Ws9yLoGa1tUmIyAg5B8+tn0ZlhqWHUGtNdbcJYNd7Q==","shasum":"7f30197a94493f3631270ba6cee4d6aa877684d7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.6.tgz","fileCount":256,"unpackedSize":1246687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgNDyCRA9TVsSAnZWagAASOEP/3OtDPGXfq9fIlLxznmr\ntlZq2UcRYeLcWkc3AAK+QQUcZLOMlNPccRoZ+vplKvXXm+0M2reKxhQ7GVTt\nkJXhHNSjH6p2EKsg0o4hS5ze17jUHHLEYk1hwHZCdgElRQEpp7QmrOKr7h1F\n7e8S4F32Oy4y90rTq+zqWyvBe0yU8OJtO//FK6V8o0bUm3EgPTC2Z4grJ//e\nz4GkCQ2LDY+Hes5oJcm8bsSFPuUEYtch2FCoe4gRX5Qmjgt4wOFtJdQfJL4i\nrqq5f3cn64yMA4PeffR5VehRDbKbFZiqzAmf2V8Hiw8yQ9GTt4hi3ClRQirE\n2xGXypZoQ40XZjjj3yk77zOSkfkedN+6Xw/1jK/YS5ZVtJGeoNdFiB5djkqT\nhjMD9SC/q84hRwjJCLlzFrPts1RdhsSGLVQ1RocDDflKJ/7PmnqKY7RDBdXY\nB4ai2xWy3AdsR7uK3bwwdQyza886HJaXfTq357kQpRoa4SODk+9EJ/gu4nih\n3PfSWjg+3xcnN7azGyWXdO6BigEl34607w3oaU912u2KWKsEysqpSAVZQbtl\nZD1XwLlQ89BwxYx7mqoqa70eruHpu5c7Gba/E9utv5L5WFxfWfgIxhQI2RDR\n1YqDDBBHfBmHWk6cU0kCGqrb0VhUzaVVPaC9uH01wi8DT95/BratN4S6X2U3\nOCdS\r\n=hKMV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqxDFVPGRIL0VcJh1gAXxdbmwZl1SjchbUj9xM4kqtogIhANVttAwl+P4RvK6R51gWlYKGZ+SFToIyarpmYlJp6KOE"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.6_1568723185002_0.6149076112625365"},"_hasShrinkwrap":true},"1.19.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.19.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3825b2a0a1510203accf2eadaabf8fe3e8521cd6","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.19.1-3","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-0parD+Ke6drvov/41LHdzX9Oj02UyMY8M7t9uvNA+jJV3Td65QeBrDkBq48PcJaI1sAF2rKeSBaedTa+BDRkkw==","shasum":"0b4eac713017fb334756e259aed3843210afc0e8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.19.1-3.tgz","fileCount":256,"unpackedSize":1246693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgNETCRA9TVsSAnZWagAA8KkP/2wG50uQdAZkA+JcmA9Z\nIGCoSI7laAxomiglJYNjaqG++n3NThM2fOpTwFNjnJQcIUV+WhSVY7+n/z+o\nkHJDN5I5EL8K1Zi7i5WVEZ2NpVyZB2mldnEErfbds2qGL3H8SGDkKQjCj+UU\n9dQYW7bhdhyMk+Im1VjEKfq86qhJA4WjP6aPqfQY4Gv+CrRHYBYLUXiw9qY7\neasRyHv+5aW5VWsGwPi9rp+OnOybdV3lkr6a7Gn5o1cLugftjQY5trt+K14J\n80QeQQtSgWLJVS4r72aBsyS73pWtS6Ciiw+bHaWdRyW7VDgDsRmxPWzNye2C\n9I1B5Oh0kSauK52vlMObZsjjSNAwWylvp8hrvQYEh+IDEDCuuqGb8Ksu3agF\nBCnPTw9u/w6q6eTNbqKL/LIfG85mhk8P6fdy9CbRDO0yD8elzwn2v904kdkX\nRnOqQOa0zH2ObPi0haQ0ArpghhtcC45JgyylUbvM2XtXlqvFF5Q1QwLAKmxx\nXOiKk8qeWnpyjCx2B5CUpTIo6Vtc0BlYq6+J+D/6oGjt1+k6jChzSFftyDSx\nfqGjfID9gQDe8PeJF4+47XbvnKc+AouUt8V8FjEoEtbmNs2AyQf6IION2i7P\nYPm1HKXhIDRWPKooV+Z8LMYfLOCPmTc/kqN/BivnwCVThrM0JQLL3d+ocogR\n0q0j\r\n=ujMc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv/JzF6b3xptIcnbdESSShK8K6SJJMVWAlqpurmzujUgIhAKEtG3XpFmWPdiYCadXtbpV6AEaZ8PTMMSLRs9DN5u0P"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.19.1-3_1568723219056_0.15365232467751122"},"_hasShrinkwrap":true},"1.19.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.19.1-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"925d2ee851ac3a149ef7b9c9ff0441e0d9580e82","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --username=username                         (required) Username of the org\n\n  -e, --email=email                               (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","readmeFilename":"README.md","_id":"sfpowerkit@1.19.1-4","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-0y6yH1KKvnQMDTlDi8VnqvZ9EslNt//XzXoOL7nV/vQ4hwaKSd8u3x/Qy4fQhRmve71xC0zdQabAxb5nfUE2Jw==","shasum":"1a7613150f5a86f7fc36b1ead9a44242971a486b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.19.1-4.tgz","fileCount":256,"unpackedSize":1246747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgbE+CRA9TVsSAnZWagAAqaQP/id1rkyCrz8m9WklI6VG\nrxtZqa8vMZuMSFL9BHjfK5bhjMpNAe8uFC26AL7rrtyO3jYrXRc2/8tLHvx7\necabCLa95ul0OejzxEC5tR+IPLEwKtD3Xm3aDY8Eu6gx8fnctXebpNxHMLr+\nAlOrWSWqgECbgc1mqwWfNlaCEwPu8Rg9t/Fn9X5tmB2paRsNnuwnCYbvCMO0\nScVmmsYCpyhT4hWSqCDvGj3PX+Y9TltOTgrUjVG9WgDJllw+WZxWz8QmZHlz\nkWtZ2sBNwsz1v0zLdJM3SEr9vZPgB5coLr3KzOgZtPDeALRZ+kru707gDoNy\nOr8K28uQxD8E5O7Zt8qZYwvq/YbIAJeKwwu3bP0Fsi6swW0vhVnneeY2B6f5\nD5/uVbufaXHatwE4NY7cI2zEROM4sqQO5GlcSpyPbR8V9q5wcwcnWKLMZCjA\nqUzEyUq8/sUsoVt2AyQ+Mz1zp+3lNHF946NPPvXts2OlyqYkxXwDkfAjYbMr\n83kqvjxM+9K2+wn5KMyYqTua0wxkYBssYcnwtDBuYjbxFDIu3+IfgHl3EinJ\n0eXBur5e7Bb5KSupRHrhR1eVdE13NJrQOCAutag2A6KiH0jE4bsDsV8Ysmn4\nahDvcARaD3gw482RLWvQQONuLKA+vuqYdW1ZznI5VcHMB4sv6P4oOmqNq3Ms\n+adO\r\n=+/tp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICY/s7ERee+bi/4z7gbtiTXVlC5pRygk4MG+ClaATGJxAiEAvPtgBIyncbOi/wbNUni0XXN6sxxuKPlaJC/1u07CsbQ="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.19.1-4_1568780605598_0.6609198915267191"},"_hasShrinkwrap":true},"1.19.1-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.19.1-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a70e9104f48be1e09ef5ae1d4d40826b17666615","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.19.1-5","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-i1y/JJE8E+R7EoQ70F/jKFvVSmdfifKjlfIOHyBiQ+3cpU57zQ/b4gC1u8Hjntzk2ULEE2TzHqkyDInojtbDqA==","shasum":"32efbf292c4534ad91cdd335b6ec53a9b64ef10c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.19.1-5.tgz","fileCount":256,"unpackedSize":1246748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg0ddCRA9TVsSAnZWagAADcAP/jsXgbDwaLlYwfioezdm\n+WkcytVPnMtNKVBT+79wNRBejDETtGoEjNON+Q+U9RbpD8YIF/rDTWEf+vdL\nkcP9XZJKh8i/LTdbE1fkn0fjpntY8k3Ji/TseKXH7kSdV/L/DA+KSmRe2Vqs\nrQ5nGZRWm1IC+dIuUQHy8NHmvWcoAibWp/Lc1TEsEzW/0zGMEUNUjSbKY8f9\nmXdxQbgQpve2MYfu43jYcJwbCx2nIqd82DFlnEj0uaTG1o0HxSxNoKcvh3wS\naOb5TC+xkxNa7EaDH+JU6/Ynkso26Xz4RcFvQSNd+Npky3HQ+MUX3Iyb0bG4\nxXRmcpE864M3AJa9dVLBqw38B9M0cVW2uORBR6WiRwiENgu5+MDHpKaClaGm\ncPdu5G0IA/s+Z3rZa7mK1ri+TBudCTUV4q0tapYMxij+sb1APVY+vkmLeG+e\nv0a6rhqLzoGbhgrfJDu5pUdjtJLBKEI3fT8pty9NBfOg0NDtoRwYcd1XmSy8\nj78QwTQ2cGIWWldDYqciIw8lerQKHdbuzia/INc6xyBpdlxZFgisVttXHpm2\nqrup5KfCBsYj2HJFlnwJlE3SIkoQEhwTnF7qH7r07MThdUoDkxyDqzCJOGm3\ntXicbaraxnZZLLgawHMp0lDkVITbxeC8Kcl2mLHQhtB86OG/SbWSo9Rmt92w\n2H8S\r\n=y5dT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1hDXfGEgiEZbt3oduj2tk0jkm5i0/T/ceLZfABGqs7AiEA/GkaGccB3aNjU+VYq+Ll4zc3JYIEU35HOeZ1J82ThBE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.19.1-5_1568884573195_0.909899629275223"},"_hasShrinkwrap":true},"1.18.7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.18.7","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7f5317940c3d938fc8f001a356b35c38461b8958","_id":"sfpowerkit@1.18.7","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Z2eCEcMiZ2w6B23xH3G+BB3qQE12RMwWtW4s25ujcQj9HighCwtezt6Zu8u8ZZO+wTaEWkwlmOLFSiw0dDJ83A==","shasum":"5c445538c4dde4904093bfc1de074c76578bda28","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.18.7.tgz","fileCount":256,"unpackedSize":1247770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhE+jCRA9TVsSAnZWagAATp8QAJJtoEAymhOfrZ8CFghY\nfCxWrgYf4cjKb71cAM8XAI1QO80fBAZQdQiZBqikweEjtBb5LgCrV3H77yMm\noa9QCREo5WN7METGdLKzf5Tizux/nPwFWQ+0Z8uwdVOE5CWr6h9hxS2+gXOY\nAUQ6vM77+OMfvh2Lu+UQ5nsdzq4PBNVirnebZSFgXUp66eN/ZGHNJVrjOGVl\nwKPQF7Johni+1pYxHs6YqBFUeOvoCQsnaoC/zaG9SwAUprGR2UsvSMU2/MQh\nvva3Y1XN4+xC/d/Rj6Fau9EQP3AZbj1xjMUShdUYifa4MH8MFhU1gxpm+Fg9\nNzXzTb3cjpSxKn9nIeWygB++8onniOCFapAzlmMUC7Z/vttQVnc5mAMxEIvG\nu8gJD8Xe3UTADoS4iGy68s3F3gRTSGflJv/dU0xqpiNqAcBljGFp0tXaSWgv\nlIZTq4SQj+9bY2DMgwZqMSSsEONs70ZLtWKdrwoh5izHFXvhHHu9qR1PUs00\na/WrsJ3WhSSIOWyI9V+YtSLaO77ABWrGp3GGFke/2kuRlk5oI63FUdczNChH\nSKAaBnqg4BpSyz7MxnuFGjoW4EgVXSZXcp9hI3+C+YqN25O/XFyFQXZCpyM9\nkIWQ0Wk8BC5O35ov8BO0fidjfFochoMDiIa2TV68I2MzIAkXSYwyvlZ6clqJ\nmyhA\r\n=1DNv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICm/WqmzUfNq0hphizHGzSjReGWlnXIcI0lCZZMqOeCKAiEA3tR+U+qIrWTWfCwYyZCqvk0dG+D5UIKe/k6HwnlcZ3E="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.18.7_1568952226345_0.11341078660493831"},"_hasShrinkwrap":true},"1.20.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.20.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f4e6fe414e34b437528eaab7f50e4990e35740fa","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.20.1-0","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-D6dMNQOOlEN2wwlphYBz1b40zKcU2a7DqMHonPzfYbJkP0o7kOjIYPJTVnmpMl49LmxDOuiLftVhvqce3Ng7og==","shasum":"1833dbb085096fd0d2338515144f649f80e87d9e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.20.1-0.tgz","fileCount":256,"unpackedSize":1247831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhFckCRA9TVsSAnZWagAAgIEP/1ln2/ICIvcO7AkTU2oI\nl+OfDcM/IlGC0uqH8QfPnwzF+D57MLrjwdUpdFB4HmKTnSMffwoDFom3E/G2\nMbyLZzSI0hiyYG/Z/J/KaR1i8ZZc6W4Q508eyYBhcGgJAXESIhahtPL5LD50\nFFZr6Sp8mfDXXgj1jFcMRxJho6Pl22lWe6ByuSpCMG+fuIJuwnYV6hvg/vrl\nmVjFLdyy75YGA5FtN1OPhknbld9RGzNL0psvQJ7U/ha6kENWomuZRFXPS+PE\n0eeLxh7vzC1OQCT8kUNEKZ0xQlyCt8yVgytFALRhyjqDHKk4UHV11r/b4jA3\ndTi9Z2mE81tZpzkoOWtrtXJLecqCjqMWd9OrP6b+kRS8/Mps8IiMjwbymqXN\nukSN0g2FGWnFfbzi4j+EziL1Ykoh+gPyl1dtwEm8W5+r/8hJREYaZ9U6HtxO\nZ7brjenjaFmk5JlYgM8Wa5GbinEYSDOL/RtuL/+5sBvFZDScvHtny//nG0i8\nr3SMFfpjNMjBHXqFsvVTFU/jnMkxIIJJ7GSsBP2kW1V8F5P+s8ChEPNnzjgm\no5MvyPiVDfKvGHO8KM9QuQoLHpU58r+3UdqbHUzAL8a+esSjsgrav2qcwRlp\nGbfS6QbSMMZCRrVTN4Vt//BWBAih6/vr/j4qUqfMODU3LIUxJKBKYF4gtANm\nzqdx\r\n=xDcb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD32PWriOQzrAeAHsZuAyahE5licVqN18+UEZ7joHKtNgIgOMm4FasEUqO1p+mF0cyyskWj/CQQY8pzvFVI2FhK+VU="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.20.1-0_1568954147698_0.1510447466459932"},"_hasShrinkwrap":true},"1.20.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.20.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"80477cfef550db88705cf4ae37b0450e8c82f31a","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.20.1-1","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-PwuvQ93QPWalWtuQW9py+12KPSyQHgu11XKNFU4cPKl5Tq9KkpC6UEPxPKawjK85uiuyEMBcVrTwYvZyvamQ0A==","shasum":"f6cdac50a421bd6cd871be91c53a8d3ec9d7d516","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.20.1-1.tgz","fileCount":256,"unpackedSize":1248909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiBokCRA9TVsSAnZWagAAovEP/32KT2zHQNBjKfDBRlX9\npzslBvY2MDDr1PrIjU0ji1Qvju8Mik0nV9yGlMRJe2nop+4MC8S/tvyE1wzL\nv0mQIasE2AsPoAS8hjZ9kd79erEDazpsniv2nQwR52FE3aWHIGwsAYSi1v9Q\nVzMulpZ3r9m2gq7tgpRdpsftslyfFEagfbzYZKYaE50WOL7btULbs9PM5Koi\n90wE11Zt2i2ejOYu2dk7ZYbNYak3SCFJzcaDygHZ81LeUM3Ejoa5bi8nFpBJ\ncuZd7ja+CZKHwqxXeP79kakwBy5ftOMh3qz07Zp8bPPilS9swVAE7PWeuGXn\n0Qi/JjNB6hqJEwbRHYUy131ctrNbpOhW7hRLPMK5bOQtA913ejAAaZg7IH4B\nrpr/RlFbLe+gMrNj0xXO/4nel/9ZIP70ROkZfZZfFUHxGXlIDQPRAYcUp/Ki\nlHq/424loUMhUdUGvpAxkt9SkLe+8QUkY2jQoIw3v9GtvrwQn36Fls5enDPB\nyZ4JQCGRIUr83dFyiarbn0gQv2GO16Hd0V85y3r4qQHQclbjC5Xa5OZqj0OU\nku0Yl81rlf2NgCVoFizpj+jNilBS5oARMpCrCQTnAPM45OBrUR6GNxxDLlmV\nexl4RO3/6mIaoNnlnXIPzWXjTjv8lmkBrzvPdM0y0ZiSnb2qduvFhtinpCI2\n2Jdb\r\n=TkRf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGVKEkURGLOyig5LygyVkHBh2Gz9Hg0isSIGm0m/NGUAiAZBQixP2FBXJrUcaX25KwWzPOgKFraqdu1gvJZuuCb/w=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.20.1-1_1569200675789_0.1368099055883183"},"_hasShrinkwrap":true},"1.20.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.20.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bff5dea84aa9043e124df0d0ac6d4d0ceb8be71c","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.20.1-2","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-IYnmR/CeQArfOGcN8ICLnDWr4kznHHCqhG6TOtuEQVmK064LLD5tK40tYE4AQXJK9PhpYHVbBkJSqKcnaie2Gg==","shasum":"566dd3d9f72abf12ed2e4919c3d0f20fa4d521a0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.20.1-2.tgz","fileCount":256,"unpackedSize":1252107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiceiCRA9TVsSAnZWagAASvcQAKTIDW+lnQh+t+Cf24Y3\nIqrAucdp3fhIYOYega8NnAJyQjyfjllh76Vuj+od1BgJGOu3Fz4pU0tlJqB1\nuHmLT/rXx4dQbYcYoR8TV24hzJcsGGq9xlPa7rc+D5coySWK5mI/3pb7MNFp\nSPbkLy+v9T6wCWeu35s+vKPG5BZg7jWIW6ZmCIq8nqMniZD83vgRvLs/UB7o\n5I5JR/ais1KI3F/9O8T9G0tOODfhiWq9nnSZnV8/yEKnA0WWcSb6I6y27pr3\nnaaGxZ7DAxyWj3ZWX0dLI1iTXmx3oWoS9bj4bc1eYIbhwdEdigdk7y3+lBju\nvTy6O3tH4hH/mC0IMYthx9DnVCNjuJb+VP+DOFLTEQQPLlo7WvwbkQ4XszpH\nwBCvAY6jaeOmEw0yPldz5APcYRq6yb5o+i8o1bu9B1hwxLOgyiZ6jyqSHABm\ne2IutG0jWA/sAI1r5yYN091dXyiwab2DAAHtmXe/DOBIWnK4AD7Xjemn+Zbw\nemkKfHlNN1sO7LPnrSqqrfjLllCXbu9zlpCyc4JL3bovcTBWpic37ujO86LU\n0P0KBN6ijjg6WVaGAhpTjkQHM3T3q2D/850A4D9DTojO8eO5EfTSAXQDK7Jn\nVGAf1dpGqDRVUpMdcoj++Pk9u8zsL9UrKWPdxV1zlgR2NpospXMjknA18u2y\n/N+1\r\n=fmn4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgw87DsSVX7xI2BU3dNdhOuB+n3ugk36j0+n2piXnUiAiBOcOX0xEEsmF4E+Cbvwnhq3s8czdsQOkXMjvr1p2vBKg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.20.1-2_1569310625372_0.9831838932621622"},"_hasShrinkwrap":true},"1.20.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.20.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f0c878e55706a2a8ba3ce2a1bd512178123cc9af","_id":"sfpowerkit@1.20.1","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-U1+CAYg+5c3ZpPVNLGeHtAPZ/Y+g5BwH0xRhCmXr31rmO8JXEvyLW5lF74q38adlzwBqjhBqQCha7zEWqONxkw==","shasum":"8d809001bed7fad05247eee38eef692702cda728","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.20.1.tgz","fileCount":256,"unpackedSize":1252101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdioHbCRA9TVsSAnZWagAAttUP/1+bSVbrh5NEo1e/4s0U\nuwNMuUpNFhFaC1mhBCziFIVu43cHLosWqAjW6WCc3sjBD+1rYGVFgsIZq7gY\nEUp1Jst0BXMTLfT3+iuk6yfYgqeNU0P1BRDvq0mu2sZpJ4k5w1fOzxciyclq\nDk3WE4dztBLp0wfc5Flnl4OVd47Q3L7RK1PVOP4RCQZI1zklbbV1Jr39jiTO\n7EhGFdPZyl94v67bPywhvPmnRhLrFi1eGmWvDDMxSTrg2I/cfzWnQcmWxsSg\n3JaQMbDI6yrcgTeuETBVRkQYarkY/UbT98WODEyEq2CwrpqILwcBJKPjamRG\ns3Ec0wslv2kUtV2FUlJD2A2GBu0z/R3/bSqVTBuhLIVi2HBoPnoSgh8HslBB\nOYixIOM+/xP1rljrIypontqBiRpdtSdowkimQejnuoqEqYgOkUBvkso+5E54\n9JlSbkXY/WSlGUzQIG2B3QLLZHV12g0PPRYHb3OUS5pXOdabhyjxFjUg/ePb\nIUbnP/mITpi48cQBTag2i24hiqm1cxytZZTrvJlXJXL5w+j4BT+NDM9LWuOr\nMKT8o+jxHAC9CesT4/upVoGOlL4iwPGV20xiTef9FmpG9iLLoHXYt5T03dis\nn06HrKLbnaiMxBtlW8wtHxTGFQs9V6fluSPD82HGw1i0nKg7xyPseaO19pYu\nGHfK\r\n=H6cR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAS248jMyXrtFLSfkvW+NAG4aDwCrb5sKzwEwEojz4vgAiAVZ2xgI7MhpjZHmYgiLEW7OjVeS1UcyDPQjC2sXNnycA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.20.1_1569358298439_0.8999763811982697"},"_hasShrinkwrap":true},"1.20.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.20.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"6ad6b0c131eaef1da4aa0700e79c7ef961e24ff2","_id":"sfpowerkit@1.20.2","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-I3MtqllboQgkcseq09QsE5vdrNUoU9b5x41RSKDiXuhVjofJOLpmRCJHGsZejBiaR4d/raCpMjJKBv7aIEhdVQ==","shasum":"bcb05263eb1391b5cd802736772281c48e3b7f60","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.20.2.tgz","fileCount":256,"unpackedSize":1252214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdi04gCRA9TVsSAnZWagAAQLwP/09Kc9TiaL7flwE+5735\nU0RGaxP4iQaRa9QkLQgCrKeXXYWUt6TE6U2unJPDJ4yAMVw+oM75Ody1CRip\nGo8MXeQ/b9Fq6DjuqqxDQ32Av3Of6CJQD5zz32pXkAmgYHhfMY5IaJFw1SCD\nXcVhW8pzh4vIae9bklnNSdURDWDp3PKlg3IwruMQh5m1A7YJvoAgvqFP8JzO\nzcSQlwZu1kcfLZvS5vJbGgxo+rfO9pzyrgSwf8FaZMp5DItlAINb4iIGdjVL\noLuLQCPzz2x9W4+ihmnIfP9WkfmEVEU0BFe7kqbdnLbAdcOWf4q9JstPdh1c\nOBjlYH9s5UVK92jd40OcF+hzydoC9Dz8C7BUNyar4PKhudFm05g/GtBmafPh\nxNdGINTiWvWgu+5exJIZRN/LcvppeiBJ/oKQg2KC9TwOJMzUbTz44bI3uyMm\nwCprAoWNo6q4eK7DAgNbVuQoejk82BvGG6KS0DJMf9sItYxlrOCx3toSuWKC\njerDqzxNUfoOUtP1XeC9XKpTwyZotXWvUcaEL/0wUOP6mncYmYgCOqS0mGHu\nqTyk3o7lgSK2cSI/Vd7Qndptv+Bnv5IdvLV52SYiIi5w1EpcVQsjK6QhvpUW\nrbUmMgVFBsiIqQATiY0WXRHadFwcOShWNDZOEmphWnVxRUMT7Os9m4jvv08+\n1OT0\r\n=CY75\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9ANtRHAVFN31bVosq/ABKs1Y/Z5axSM8PKoXNxsoZoAiAXspjFD5bfpFRjELrEuZPA8r7keS7rFahUIiMfrbxMHA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.20.2_1569410591161_0.8101412484225032"},"_hasShrinkwrap":true},"1.20.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.20.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"626688d243b0a12428b0f163f65b00a3186525cc","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.20.1-3","_nodeVersion":"10.16.3","_npmVersion":"6.10.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-zSkGSlgvzLLgpCv+R0aiaNVVUfuDdHOi7u3yjT39vm12E/x4FnNfDSQQ40t/XYfVeCCGoi5hGXb9oUPYVrKhNw==","shasum":"5e2452daff5bbe840c1345e3afe621745402be8d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.20.1-3.tgz","fileCount":256,"unpackedSize":1252220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdi9ZrCRA9TVsSAnZWagAAJQEQAIfW6WBFPRUgANTpy9/s\n/Ly0HV3Dy6NPTxOoDdUckb6KfOypd+E9TwVlopjH2zu2HZWgzri2vNs7munk\n//1O6DuBPDegGekv8xH3m/wMHaCPm0uegCOrme8kY6aYDpLITiwTFY3dFcAh\nQHm/VJizIjTUOUgyf3/AkUhmINzhF68OsG+6QdRoQhd8qzNEvk1HUwPeC82A\nWB/a/DVOkrMT/6kXU75eyMIY2SWTpBjxuznUjtPRKQhSF72x7fyAZF2WG3yg\nOaluOCoWChpCFHJGt0aObOl41VDIvpME99KkpC1XGCxCoipsrWUfYz3w5yb+\naQWDplRTknaM1pBhKrO7+Ly1CYALoc5BbTAFBFrpMZtmQW/2DOFlog/BorIi\nTgU8yvlkxLoQwkkabxpTeOJ90uFcZmxSMam0mufnx/JrxcSqpClcN39k8hT0\n/SqsZViydBrTtrv8UkFXu1QRjf2sDLSFjIxzAkrU8gjKhPljgTWTaFFRF8ju\nrpAs1XEvATgdjeH4Yb3hA0bRFFDsXkRzrH/ZG3b1JfVf8ZgxMeOeifQrLVkO\nmt2gBDu0YqcXAjIgqlm+uCLnnhBLElV06jNdiqkL2v0m0uXSLc5AAEb5LgAQ\nsEYyDrv86YCDMu+rBzp3ljXt/XABYADgiedrL9/SzNMyfnswFNj5HwKntwro\nPExn\r\n=jeC4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDf214mD5iWS0COKjIhCKgozlFQxxcPKbXUp2ajYhMdzAIhANFIvZcB6B4EELl6y7Vt0GoL1bJM3bV4chXjL3yYF0Qk"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.20.1-3_1569445482853_0.13461451567298743"},"_hasShrinkwrap":true},"1.22.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.22.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8b7a8e9fd80498db3a88bd99fced3627dbb8f410","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.22.1-0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-gSGr+8OfXp2mL9NsuEI6fwNbAOHoJx1u1d6GqrFIbEx881gRT0Mb0rPQLZWsBfICz1MXKQhBLxW3NebCsFJ+fQ==","shasum":"367cd893d48f9c589b2ab0598f24e9de66e05a21","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.22.1-0.tgz","fileCount":256,"unpackedSize":1252452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdltM5CRA9TVsSAnZWagAAyfYQAIeaKaVUINwSEG7QMpZl\nNG4jGk9qwKoILjz6qgyhQ6NHNexMOThMiVtW/fxT7gSmqH9SA54h0xIQHjHM\nfnvpdaEF43AeekIAh5jxyI+p1MDSKqSYtaZWNwqY7ZoKIZJruwPW4GiEoKSZ\niryRbnfN4LU3lEp5YdikWU21AWsT2alMZq26nM/3PxLBL9g+egynkeWIQVxw\n9t+MZYzxiBlGcz3WkwSL8lCUK0GWrYLMjYaBJNxMEL8cAg/8dRAoal5rnaRn\nW3bw/7YOPBwNDnWsgc+5Ixp74dS4xdUh1nMRR5lf6hZN9XS5ktqYqCqyWVzM\nPrx/ycmgEZ16XvNbFvaqcRVMa/A7ns4oqjTIbDECfZkHeU5aSoiHTL0o1pkI\n4LGHjQ238CjKtxMLcXaSq3GYlDg++NhiXaJ6KtjPRBxwqbtiUNt5npJxkrNt\nMfIo/3FO8NNIh98jRM+HamZL7qs3dNR92T9w7UTYgiLyTjUYi1kxdliNM0qt\nntE5Nw9IsC9uOlxEKcPDZAv8ZjH88UpBW5HSdOzh8oUbTib/El+8gmeeaIqq\nlvuTv8He4yO0U6jroXwJaWpWfsRkTu8u9T6Gu73v/PY/FQBse1qpzYvA4q9f\nn8slKW38LcB20RydLzZnbTzKzAKTuzmQJht/rRbe+D1oANOXE9hZjzBlD93A\nrv82\r\n=N6Ap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4dCJ2LUXoV/4ViktMZteUshtQaBJBjWrJjdFsS4ojlAiAcNHyupaXiJa/Voieho8bKlISozHDPc1eNIxrj34RpUA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.22.1-0_1570165561020_0.9672907060517186"},"_hasShrinkwrap":true},"1.22.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.22.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"39627232b4db3bb5939492a82f2170f754a6b926","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.22.1-1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-aomfj1T1deLcBp0TXrbn247buTkuyUO4UHVRtzVZ5XNNyZ6k7ojxYycBreR6Au8pmHccPX4FfWfzane6gBf+iQ==","shasum":"bbb9883870f68293b63fa45eb699c8e6aea52a09","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.22.1-1.tgz","fileCount":256,"unpackedSize":1252570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnIH1CRA9TVsSAnZWagAAFGYP/13MpadmoIecJ3FznXWA\neD/8auXvy84n0meGj56bORAk9mqYhBpyU23WXEUagm/oXNItzdTdhWnINX4q\nniPgSGnPPIM/Gzx9udL0er0aNgcYilgekAIh1zAHTUg2SopbXVQccmal6NHz\nySFQjI+kJxl4iI/Xq/J2SXly6oAz/HIDa8j03B7K4kOUW6tYBQ1MG/sLYIeL\nhPzJrjTAD3bDjVpCAL7n9xk/wiN0YudFtIJ/YmRb6sD2rw7Ykm4GSPSE03RB\neDrxC0Ghnf1v82y9uOLI6QZJJ4ZaF/nRP50M/hZHFEc8aq74Afvf4fPoD2GX\nVc8C7Zp8aFn7X/UG1WIzEP9JovlRHJIccDHLNvGv8c9fvaHj9xkKAy9rQi3T\nLO4YdZHkfJ8AbyWX5NUU3amCDpbPhuFAlzI4hthglbpacX2kDvkDiZJWTlpF\nVz/DnSX7JKH/7utMVL942k/Zie7FQLxkpC1Pzr6zgUrvJI3r5BndzM5ZdkDs\nJzTyYuwDkbYmiRu8m+UBRRZlUXiPcKQOrR1JPV/fGFEAxuJMevP7ziYFlygC\nrxNwPO3Z7lQ3nfFFfeCD734vWxlnBXfIzoX80MMlrQaUtJYMkfQYquFF8AVH\nHaOIWZqimq21cgioYw7Nv7u89jaCuL1rk903xXMEfYTmA3nv/p4jfwn+JUCm\nO+gM\r\n=Pyps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhjwzYa5CuEi3he4Y5LYrwC5AVzwpnxCFM7TExFPw85AiAgc8pdlPfAS5PefB441Pq6j/rvbI5F+pGb+7BEbgc6dQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.22.1-1_1570537972697_0.8141037700737206"},"_hasShrinkwrap":true},"1.22.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.22.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ab8a053d7f5915d367724ede81f40881b9c18bc5","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.22.1-2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-mtiiGpl4WEzDPjAqqYoKTX8zeh/GQeLIwB94lUst+OPZTwXUBCeRSy6+oQhfI0P7yWzX+lQycKcFu1FNdO4lOQ==","shasum":"9eef3fd80b34a90561baed058fa4b28a68ea1ea3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.22.1-2.tgz","fileCount":256,"unpackedSize":1252205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnXkMCRA9TVsSAnZWagAA6kIP/21z+Yn/p/Up5fY8RSG6\nO8hOOhPTON8V/dxQE3FufVKujflGoGLqq9VVzMLgh4m2WL1PRE4u/P+h+cE9\nkykJmxIDMx9SoViffLphNRKCIz4Au1Mib/5uDDcZjdzyYWL9Yf4ay+/MYf/E\n82ZYVrYCrpc4fUSbmxpy1tSD2rKd7c6H6Wn9Xp5cFQGTalDrCN08ioPttTGr\nva70QUwoTEz1wOUH1RDCI0fj4ZQ761ZrWl88Z5UCht7SvOiM1pyhznBTzd7/\nGhMc6nmjbIma2F2FlrWhuP5KwBebeaC6NfhdAnbI1WHgxg1+TNadmngP/Fx7\n5BZmy4v3BgXgr+NnohHydOLWdioF6I1JzeCwgQwowaI4aeZ4b1UXRJyD2B6+\nO8Y3WwtllG3bdoA+L6OttKAn3sI8fpaVh6jxbaOvr17a8D0PmbTv1jKjGuiF\nJ/PgqgQeEsRIGFmzbY87fjlztbEQObf1M89i7ZAbIx/fySP9joe/OE5HcoxS\n0QBOtQem9250VTcOvQQ6Dcb4/BOotamCUcORhmaVxQ1dKApt5Yh/jj69N3Yj\nZygRf0SRhNg6j4PJNe82h1beC5TTxyhIt9V8QEjN980kSMFmWRcCtJf7xVFE\nX7HeHb6ViGaQM5/Pt42dcqaURMnSAg3Gkp07YHoxcRiYzKlZ4AM6MiPfN/8W\nLyzF\r\n=E8Uu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOuapIts/3JGlAKYmP9+uWDgD4SiDLe+Bx/tLopIrBBAiBR0raIsICZWx4ILlDNZUd0XxQNuuoX9mQhRJoWMWc9Uw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.22.1-2_1570601227983_0.7373328382409803"},"_hasShrinkwrap":true},"1.22.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.22.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"09a3b112e40c68331e1a3b10a873e16dcc2282fe","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.22.1-3","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-6Hpft4gx/fJmsXM1M8I5LkCN7XteVZ7Y8Rgfi0PKE41atBoR1am+3SEOOCZ+odWq/gGFN5t5WkVzaKCkCWhyjg==","shasum":"79b9034f2cb6247c504df6209537a85fe3c6bc5d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.22.1-3.tgz","fileCount":256,"unpackedSize":1253353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnXs6CRA9TVsSAnZWagAAHbMQAJtqIHjVUYcfVdBPdCzV\n/04ObkrTfk0W1wtBuslgtU7Qs5NpJo295gQwb7UPmriBvLmrayQzOYsB6nFW\nJuKWAR2ShZ11272OXAfSFFX5adie9sqt+tIezeHZtTj7OShcDKcvRgjRwRFc\nkU3rA8YkHLbel7nHEEMwJvM7hBTLUxvk/UcJMFtVm88WOKPLyBixDfmbgAlu\nMPXRhjaaadoIrk/wJT4zz5mf5z1sx0r+8EuQsad5jYYjfgDmi2GPlkrFa7BP\n+x/0OSvAol3+9uQzq9JgnhRzzQTID46fzo9WJrRSkfOebTp2qXPvTeIKtdRm\nVdN1GYclucniZjOZLfGbFownCzUv3XiWFGRgssfXypgDSPhZmgzDPA2Yeex8\n46LlXrBbXBGpIzGS1V/cOgs1CNTyMpPfLnm/zBkq2XHc6rNvlSjUqWTAU4OO\n4byNpveyMvkvBLZOd9h9bYafFpY5ywaeMZXQl8CGcQ0YG7kURAxURCThqidz\nXot/ZIhsSH/dnkUEfSnqwbITKnVRklstaQd0yLy5BMGYDjvhYn1pJyYhbPHE\n5muHOE3IWkqwnZLonyZW/M6QEQmq9shaHL5pvZlaPHKCLCkgsdrJ/vC7E2HF\nU4Av8GtQneDMlMpE5BSw7YrHUy6NngYzgbLzoG3BnNk3UqN/o4QtiK+d4OSy\nEhHL\r\n=BeRf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqpr+QFElM2B3GVbasxIKqhKI3F/65VAUo18obdEf4PAiEA2U/FZYNoJeQYTR7g/I8p9iGJ77qN366kq2Yn1UeO1Lg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.22.1-3_1570601785599_0.9848359010671708"},"_hasShrinkwrap":true},"1.22.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.22.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4f27efa701366bf8c0102c2dd88ddaabee1e6285","_id":"sfpowerkit@1.22.1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-MLsU0H9+Q16n6OaL8uD60YO9tiud2PVArFJVSGTNwlB+SbDbbExdRfrkcZoap+BzAoUgkIztv7mraryr8cO0cg==","shasum":"1c744e0dcba344771d13117cad38c06551820217","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.22.1.tgz","fileCount":256,"unpackedSize":1253347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnZt8CRA9TVsSAnZWagAAe+MP/3MTxlXT/EkLouITEg+o\nqOrVuS08gp6DQrqhKboJ6S+LfuDAZM9sPkLlNUA5tCmG/lKIVTnA3h2pgp1w\n1UOzW4LjEVLdPq4ei13sAEH6q8FwIASKSshv4Qa0x5s6WiopQF6foAPpLCIV\nzrzOxkrrOe6nfvs/d3oDhZ5OnxKVmltPVFI3NKTsaU7m/gVOXG9spX7nLmrc\nmFokTUbovJ9btWOKjhpIjWfuGomRRnU+Rvz1wDF3k+yVFNjB92hl97EzQUNn\npUjnHfbdCPuG+g1qYZngCT/ZiOc3lX+uNfTIiZEEHaqWsMC69Ru7IJQ2sFi0\nCTBLIxvCV6tUf9qgg6SskY22kUTekximecSOuIRpRr4LGqAJBeNlokiZ/1va\nPbezfIKImbidSJYJXwwT3SkTG7WOXH6fTseWVNx3qshTjAMx10KAXbH9zVVb\nlrP2jGMDEMnVjT3Ss59BtXsXtNFvyge+YMDRq9Bu6W7MED1Y4kI793lgBk+Z\nrMTI5y5ZI9PE5UZQ5ovYUrvUg7iW+2LIH8Eeei1VnBTJ4J+l8AP35IvWuN/M\nwyKSy9y9sTlsQlGdbITRfVMfY6xInnsk5dSOl+j4qMKaC8e6IGXY5evlQu49\nC87MYLiMWBwLS5/w6vDd/Z7wkf1FFOf31FyVo25LyH2qHvmAKsJEe26iozPQ\nJ471\r\n=dGE7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ4XuH170VCWTOecfXmBxYhbrr7SJOisekaYrubEKGLAIgKEsxMgh2HplkNVhVXAfMOY1J3rccJn2XXEYA3GsPRZs="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.22.1_1570610043148_0.6390072261207949"},"_hasShrinkwrap":true},"1.23.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"1","@oclif/config":"1","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.1","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.2.1","copy-dir":"^1.1.0","decompress":"^4.2.0","fs-extra":"^8.1.0","ignore":"^5.1.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.124.0","tslib":"1","unzipper":"0.10.3","xml2js":"^0.4.19"},"devDependencies":{"@oclif/dev-cli":"^1","@oclif/plugin-help":"^2","@oclif/test":"^1","@salesforce/dev-config":"^1.4.1","@types/chai":"^4","@types/mocha":"^5","@types/node":"^12.7.2","chai":"^4","globby":"^10.0.1","husky":"^3.0.2","mocha":"^6","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"7","ts-node":"^8","typescript":"^3.3"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0bd8c305d016fc56c6b644305dbea5404b119bcd","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\n\n## Source Related Functionalities\n\nThese commands manipulate the metadata configuration/code locally or during the packaging process.\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-nUYhZj4hNSX2khQVQApHazbSkdsRxw+PWgjZz8Mc5qtV73k0K1+9TgWh7+D+I4ZsVdZMFHNJ49FMec+Uf46nWg==","shasum":"69bf05be3bd46aa3c7741b49d3158e5ae4b55de1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-0.tgz","fileCount":256,"unpackedSize":1253744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnzrOCRA9TVsSAnZWagAAo50P/A/iDNBUTVR4acRsS1BV\nR31ED8QJXqwhMRUbM+IkKYi2JWMDUkz68YhSJTJj0+Btxii2EmeL0h+pkZh/\nJUu7wgS2OPn47+5W5Y8DP4T5wD+MQxKbE3WLUJ9bR3rQPOjWG67Uqu7noLIS\nMANZgDXW+rmmydYKcdegJNgNJTH693l+JxcuqNymimkOuOYMBX/Nd1qkGLwg\neSmI3M5yn/K1z+5StFBPzCxjrELNaPxx2h+8v6j4g8R1h4URdSZJbehhaUpB\nzX7SSXNAYZu7d//YLSFvEGFOuojO0jyA3YA9+VrTmU329Ac1pjFwUTAGFImR\nGYDb+6cq2nOLldBvxTLg5ffKafdPEBM5V1mBOl5VkPAAJWS8Qut/XbiSAkcm\nKAX6cji6K1w0O3h3H7CucJ2kkvjQP9I4IdHcgEYwN880bKb54BurKY2fsHvE\np76RCWbnO1WWM9tgVnTax1iUC8163okpotcsm/3Q/fU80C4PvdkPGcpCtw4I\nnjCxZfaUGcAx0eECVZ2FIvsLyLzOgOiBT86SfjWvMmLfO++qp+RuSmLYPOW8\nxPIxSxg/PBHxKKPWAbQ+R+XgnkY56nmyPwEjdIt5KO++LuwGJZe11LFXfn2M\nwRX/jEhvlX4vzZsFKvHt7I4Wgdr8A5bdjdhRybjJEyeDoAla5g+vD9/OHO8C\nYUT5\r\n=oK0O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbaPOtLTOLR1mqAqDoTCFgSFLlEUmmuR3/ACBQlXJWBgIgQvb6wyjXKsokCM1uXknMApoxFhPmJdipFzPK6YO4gYM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-0_1570716365376_0.6844555420748817"},"_hasShrinkwrap":true},"1.23.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"edd567d9d7b06cf3f8af0b1dbb74da52e32af0bf","readme":"# sfpowerkit\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/alpha) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ]                                                                           Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: sfpowerkit] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-JU7SLEv8/r4hI3bIvvpWR2UcATdgWaMjxfSpc0lqHWl7U6j91Pl6p9TDzeQEXsqcN2x9UaYFn2BgmSCP4Nklxg==","shasum":"f43cbfb7e9905c3b5b2fffaebd9534e362a9d3aa","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-1.tgz","fileCount":261,"unpackedSize":1287019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoqmNCRA9TVsSAnZWagAAPFUP/0jRethny3+sNABYo8Ih\nL9/wMRtGVj0ENOrqcIfAuiz57JB7kK0xfvPRGRYzlRf4TkhuVqzYGsRdFXpR\noz38/i2WlVsQTLbMNr3B2iNc3ezyIEyyQwyDduFI1ZkxDHY8kURXgOq7CfOc\nXyWx4BDXfLniNbTU+S/iABbDgaoEKwL85M/dnqtyqygFmLsnpFVSjW7hea8y\n8F1B4FbKlolRrWqyjXuZdidX5GHZ91jyc0OYoGcK88L+6mDYqCnVgvNVdaz3\nGob6y4afH6X9UcmJ+zFMV6yLACyI20PFptRN+YpdGWPeZIoWvSG8Efh60bnB\ny8O/Q5+w51kXx0iCCGfLrD49vQEm/DrRL0Nqb0N6Mp5nfhQFc5EM9NTfy9Of\n8ZV4DI/SoKvVSDagEfOhY+nqRnM13ITczlrqR139RgxQhC4QYmgh7GZyyDf4\nZAz3Km/E0gEZmtmhe7QANsXFPPQpe3Grz4Ne02HW5Yuh95bGUmuS6yyC7T4O\nyUGNCVbY64114Oa5yR04HsIT4Pp0MLkTw9I57ecaAwZaFeF4MCaoL8DuoJaG\nzlbF9YfFylt/hmJwQ53wzwezdEkqipyxYtcXRa/e+J8LNKw1I6BfinwU0asI\nT3aEARxDaMa41Rbdl2uSKg1oqxjD+67Kyu6zaB/F7wthcWi9FBeNN7yqLJo5\nwh1M\r\n=Fwuk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpgp1gwt/6evfX/5gVLL1UQ9lDabJerKMyuQ7LoTPrrAiEAhlU/Af3XXWZXnAQnVpEVggiKxqdcP/tmjSNTFs0jPGo="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-1_1570941324514_0.7330966854755117"},"_hasShrinkwrap":true},"1.23.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"26f826912b5cfa650471b8c637d67c9530c2046b","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)![Discord](https://img.shields.io/discord/623705153811251210)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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\nBeta versions are the latest versions that are in development (reviewed, undergoing testing etc) 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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ]                                                                           Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: sfpowerkit] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-+mjLDRhxZdyj+sdBpgMCWKNSQYuNmsHx1e9RUoCgHrvv8z0Tg/764ldkeNQsWJPzHO8q03UxnnvD8nMiS2qlPg==","shasum":"3d943bfbf819803dd14d573651a42cc363113ab3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-2.tgz","fileCount":261,"unpackedSize":1287581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdo8W9CRA9TVsSAnZWagAARNIQAIC3yWffPSxoRhHb+hgg\nt5Ld9c1uhwX3pphgdKz39i/WhdqV2fxAHYIP2Tbb8biscK+GYC5Bs+LE3GdN\npPPmdtkYgM524jASPrgRtf1Ykta6gKbvTGXeZou9nS7xwoS/K5yg5QZnhdSD\nbh9+RNoxaEJ3tFcZzy3lTTrbxILK44OxTOq2jgGdab+rwHyMAFue7Bhp5mbA\nv18REJ6RYLvrHxNyo8nJMOm6zcSNq98qPuGboBB508J/+f+N2vY0x8SbpyuM\nrJQmTabblYYS9jC91oIrV3znTBzTggSTYeKXlZI7LYfnSWrVaV5/CYoESS4v\ny4eoGhXG2jx2nWueSN34yqNoyBhQuTmTfyQA1Mu9tEj6SId9HLWw0EmIbHCw\n6l0vryXsTBlT63KCUG3PeO3A56ue7bh2VrS/vdxUNgvbZCHawe+etPRVRAi0\nAljxfhfjimK+vyKhSG/bxkdN1ZuSn0AJRBo479Lf02gD3KDdQeu0asEuxe/n\nbtScKjlVBFwoOq17I5I/YIvcQC+40u18/rjSIaCbBRB9eSUvm8VeNnZ4yAuO\nxJwbrp37o/1wMPh1JC/ehBCQ2aHq9QuBoQHSsUhx7UDrdhLV9nd3+y44tMrl\n4hBOKXgB92yOCRsE+BmPLnZfydibgl7u24AIVGrSjuB0Yq/9xzLkP7tWbtf8\n0car\r\n=PkS6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+tWZq5cOzAg1YnhBrb0L1YLeJ99xmVLw/229Ehqh5dAIhALGbCIXpAoSC/TcYWGwfpHKGGAKQFLZbU79KE7g70rGm"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-2_1571014076551_0.27156651541636534"},"_hasShrinkwrap":true},"1.23.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d90512209fe3c30b04f300cbf5ac96dda3fb4a3d","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ]                                                                           Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: sfpowerkit] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-3","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-BUG4DDjEQ4gMoWLLn/rk4AbyljL3PSjReYOV/NcDy9dzZzuvKK1UiWs0iUdAwofmrLXWysmSZeSNPbDsjuERUQ==","shasum":"2bbf5f49c4c65dcd8d706b457a40c97911454552","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-3.tgz","fileCount":261,"unpackedSize":1287544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdo8jhCRA9TVsSAnZWagAAhXsP/1svUezek8RgG9jRHWkL\nGkkM7fEQZ3vIroRemwoLSylkSfdwmsKC/5YvTOBtcTsyqIxqschBSmEo83Iv\neLZFGj//bbUr7eic3aw632wBL/A5ytQX2SUy2dbJ921cgtVVueG6RBE84OKe\nbXu4Af+/wBDCdNlDtosGSBOhXNXRgpMxAgv6IVPsd6ZWxfGNqzIGiP9Q9q3J\ngWNLR+fGcc6SDI9CzMaq5eVUMED1zwQp7U88vUG1HkMrbIgCZJYX1c0qqIaS\nLWRHiurXvG0I1+uNkEqlo+ZTHzb0UoG9a/OhULvqAVR+bDsJUo2HvLW0oFyN\nq/771ZjOFHXh5Z3Jqp8tMaQevYfte+vVx5mkpJMrj+IcGfvIdAet2HMg140E\n0Nd6/ZNkZUdF/0O3vOYHB4NK5n8TE4b8lMCg/PBHtTZXDtlRWDNaRLY1c8Vj\nRu0CUWt9oX7Xi/d+CtZNS4BFxP9+R33ffw9J3EUqNui04i4OXOXGdx3jcsti\n14AAYxYRY0ziu5ecJQ8hptV26gWPZmdLdFVa0dEcqrkTdkNj4vixH9Y5EI20\nffUIpwoEyJCNy0xsEPO4IQxcrHhPNugOZ+PhLMdykGK3LA9FEnqdAJrDa3dl\nC78ND0ON/cdmpIq0Q+PpCwLtdE5rLh76eFqY9DNQy4A0DXJERCtylSq0bn9N\naFTr\r\n=bC50\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9kqjwq1eEFR831IYOcNshZk1+RuiLwZESDDcyKl2/aQIhAOx6Lv0Pw3GT8LYoEZvbRDO1FCUB+DlRsqnRUJ0H9Pm7"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-3_1571014880830_0.6896945833479355"},"_hasShrinkwrap":true},"1.23.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"561792740b48c567f146c718a4bcb88dee7aea17","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-4","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-LZYm+f2A/quLH72iKcvDHsRvPCrJKfRC/BFFO2yFiam4QJR70LQNYvZjAkRvSu+et+wtq46l1+hh8IJgdm2jvw==","shasum":"2f3dfdbcf9069a87db008265f9cedacb1b18255f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-4.tgz","fileCount":261,"unpackedSize":1287513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdo9n2CRA9TVsSAnZWagAAfAoP/im31QGRbF71rAXEhx3Q\np52hV7T9q2qA+l7s2eDqE1ZI6AZxuFUpiXCL6OvWZZ/efS+bZqhupa9JrkjC\nva/brDS+hZfEA6nRwKzI/6l2kagoiwXCxsyDrrqlhz9K6NjUVtpu0M/iCUMK\n5AwUOAC3rJCWt3ZA7RFuB1YKm8D1Vqlsf1YmMoSw+Z62MdB/TjR5KxRA0WwK\nzqxoaCf5lcX+/QQpH1ECAt4MiH0mQTt45GyiUl/7TY5oP1Tbk8ZM//8McvME\ntMvifpj//jrU/rFMP5vYi10lDErbSh+PhaI2zxtyFp3XAn3/G5UVSwOsXuzv\n0sWAnRlDWuiMGBTAxeM9zhWUKH1pp5eE7/sqpb1pAVLMbXrmve5p39sI8qpQ\n7E2qQsoh2NeYwn0MpUx/diKKjdFGidg7dgEGOnkf35ehy7OBqpsPUi3RdQ79\n7qwe54y2DnFWRAftgW3DhuY/0zygnhjG+UsmbPrtPBnWkP58PdryYIjoeHsY\nsnKRVmHNelagtayff7xP+35NZ11L+3P4ZTWlFRUYw6mpxj8MYLhnMiaIdtdt\nT3maII+9+mWERUiXUYnEnA5HDTzPlvkZFue/nXrz0bBIah1BNK0muwR56EvD\nVp5COOvDJqC+ukOMgRI3+Z78Z4AVbquaizc7MLxBSuctwhBMaeC6jPEAdJvD\nV8zp\r\n=x7GX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjLmHY9I85DtZ5wwHPS71MHByNRmP8/fYE8HhPuos6OAiB4gjBVWtywmYOwAIUczmkqBhPSCX6hFQ9nhA5tJFc3zQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-4_1571019254063_0.06543306304340923"},"_hasShrinkwrap":true},"1.23.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3c6fa201accfaa0a2489ea665b79e9302bb9babd","_id":"sfpowerkit@1.23.1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-JmovbCvYjhWzzbHt7c2RSZ9AxTCjFs/Cjy0G53QnS8pXB0OvmzXBMm+ZNFC7M3sJa9/AhMvfarBQlN83Mlcv8w==","shasum":"22c142c9bea7bc035894e337b62c4b1c164fe679","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1.tgz","fileCount":261,"unpackedSize":1287507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpmJtCRA9TVsSAnZWagAA600QAIQ88/EQF9FVS0sdXhLY\n9mS7kpV+ks60FXVPkHojvPSacacUnqupAKnfdqJVH2B/7RT+j4b04/B8LDsK\nIIHMfDEQcvVjurcmEkodxoKcfJEE6mYBVhf6tOHgScVDPl8KRC5Co6wb52UM\nkBCARvnKEoQ23T7hOjBv4JvTjqWpDd6cEQJ/Amp3HAQy8a1r1VwaZW9u+Sdg\n3gasDqFzXMVlXSfiLduohiNp7rIKYlSLRd2VIdxR5e2mSoGO/JJPpRQF+tht\nXnhNl4mqALSsIDtq9143qgAZit2Og+eoVXwlj+CLV3Yc1Z9Kuxo3KrJqQcY1\nn7qNR6fD18sRkvDRqxTXYNqRyfRZi/ZKnLQp6gOHNd2B1wJPQRBVQc8YNUkp\nz4+Uj9zj9HrTHRmVTZE//sh+E80woZeaD4DMZrA/QzrHW0Ut50O/ga2RpdyB\noBEIt2dxJIDYL4dZhckcThaX3elNXgXgQYmbZ6RyLkhpvAQlPFbmU4A1/Aju\nW8NK5PzqvkbS9Ay+pkndza36xs5WFP523mhGhKZaeX7x1Q1t5dQt6yvPIIlL\n24ROCJJ33i2tygx87B/MGPljJdYEMumYfSctUf1uWZLZS6W50gCEyqZGzfVp\n5iXVrGO98Sw7HiHwg+W/DDNk52qK9tWVgB6PnevQrcjUs04TBtN9Kkl0TGK7\npde0\r\n=Ti/E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbuvk3/g2LM4oZh5y6mXVfd6eqHipl39QcOacT0qIVfgIgSt6+SaWz6owkZ96tw5+rjU2dNZxLbsSUBnYuEFdpDRE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1_1571185259833_0.22212249766023828"},"_hasShrinkwrap":true},"1.23.1-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d1be980d6e2e60c55da4aa3298a41064b2ef87f3","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-5","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-9DX5qRm5DVQtaElzFjmAaU+6LVcPd3nrSAn6ln2qJ0DquH13w7gVGhM0AUo9uJntzj5SgRYZLV1yP46FgnsQdg==","shasum":"bab9e81b6c820d0fba3022c2f52993cd00ecd982","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-5.tgz","fileCount":261,"unpackedSize":1287673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp9rRCRA9TVsSAnZWagAAnCkP/3og5UI/KpsoZsnOuQyg\nJIwQfOA7EKjHmGeuLbnNmrz3tD5ZkhgC9uGk+qAPT6awI5uklfVIi3w9edgA\n0QhxbgaRrBXF/PZPBpMo0Mjucq/c2swq/d+mOI2zqHMF3M5IHBLYbX5rtq/+\nGRzeXe85V+9dADFHuRR02lrsNLqcaQEOEeDv2UuJI1/zDFRlJe45T+c/2cqp\nSMoqqA6ayOH0doiGfW+UlD3oZQc9nH3yTfjizoXKjeWQ2s06xlQDEmglUA0L\n3cjzQ8Nak5qV5ikltDM30Dpn8c8PKAtVp9RejOQ0zMOGsN17t3wBZzejraKS\naOIRrtk3+zlWYM+KdszkH4pFjZzN/PYgfGDJ4AuJak4HZXh5wHZ1l/KfSt0R\nkZ+HBkakSChKAiOJWOA3DEHFQFUYxweXuhOL4kAdA3ONfddvYRDSnQza5ZOy\nC6x41YyZD39DS5I9W4drcmjuCIAQsNLCKNFTf+1aB1DSRmfq/NQgkn3THywz\n2rsIxM2yf1sJIwYGuJtBR4dt/OG5iBMKwARGvDVSuizw4t/xx64r7zHRt+UP\njqjxB44RXQdj/11WA3QHi16cboCJEjK4BFe2WvPiuC691E033qypJltvC7Ch\nB5PI02hNZIGu8NgxtFzbtvvQ/HeA4NBRGE/Dh9JqDONKKzqhE3IupXJ4D8qq\n5y1T\r\n=vadS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJFsqNkDA34exoXOnMz/tJhoBJuw0KYWt+u3PjVawXvAIgT3IDr3UFNv5dd6DSeTw9voJku/4hLD2w+kLiCgryjJc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-5_1571281616474_0.030853486924192097"},"_hasShrinkwrap":true},"1.23.1-6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.1-6","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ee93736dbc283932c65e024a64211133187cae02","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.23.1-6","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-4fE0adUHr7EfXO6YL70wZ0Gs/7B+nrioaTqw2Eqsbd1gYmEHksqIWrRIW250R4YJbDKpPnAHDc8kfM5Xx+8mxg==","shasum":"89edb925033b26cbcae0a3694d0428a6eb8b9b32","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.1-6.tgz","fileCount":261,"unpackedSize":1287673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqO0HCRA9TVsSAnZWagAA3V8P/3Nwc4gQ8gYEsq1t+76Z\n3DduU8twjwOvZylv0lNu/Vr+CPuG3gEc8O97dxY8pg6daKJUYXwbK8uUfwvh\nBT1PhfLytWBADBucrB52NoIimwLQwX+TcxCzfdKbiJz1l/AvtYKxC5edyQM/\nKdx6t1hs7u6nSyM/3/Bn7Wrk73lA+iwh1dfxlvge7rkP/lSlCZ8CTQWvQYqb\nnt3at/qehMVhXtR83uWPfqDn6pL1/epA5ZIsOAXbkOm3QkruFNCb1X4K57pP\nn+tT72nf+8d2E3aoPiIeS/iZmmAxuLssRjQwyApoF1o+JaCIIoE8AHH/Ctm0\ncGC82qljO50cF348wOw1FOY9cljHac/ULa3PARupqSMmbJ6E/PIiV1zVPfGT\nF1hOjDtNn4jRDttTyKt4A8he/CHz/xB206+5GvnChYmQl8v5eoKU7UvulRma\nRL1KRP11aAFNApq+lJGd7ovqgOQmW57PXMy7joKx1syDt94kCbBvhcDFbR9J\nRFzKt2lf8JSjLTutBe4ioA5S1gI1r6oWc44C2sYDXfarypIzXx3xw4MWny5p\ntQztA0rsaIHClqTXqfZC26BpGEJap+ve8qxM6qGfP3vmFZrUEOSCYf2mupom\nxae15xGPwiorycIWEhSEc7z1EkHEYFu+gi22KvWWLWuQW3g8wyoQwFfHnfrJ\nMhHA\r\n=wM6F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz+gnEaURe+UW8F3HUXTLbPvtd7mayzxuHybAyWCdE6gIhAM9hnuzZZ8RYhoAlmd7mDXoClKWIXvUMdeDhlJ7SmKtr"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.1-6_1571351814701_0.9636551254624222"},"_hasShrinkwrap":true},"1.24.2-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.24.2-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f3528d28739e3de223842163bacb650be28dc3f1","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.24.2-0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-6v7pP0ij1LQz+8HPki2t9pgqgPLWwMHnGsGSK0C5mO079oJbLrElAXVH7U/4JT10FenQOCn8cLyD5krYwcFgUg==","shasum":"87ab0d546333012a77dc56744edabbc91860a4cb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.24.2-0.tgz","fileCount":261,"unpackedSize":1287975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqb3NCRA9TVsSAnZWagAAb00P/RmRdCJ0AX2xVP8/5uXd\n6Ijcm1IZXnLmqvYuevJLyno90k7Pg4pzBlV62xhdSLrAY/AjBKew/WNFlrf6\nyeUMQThJCGR3KU2tFuWFQDozObQlSsIDcUZHRwpCs2BwZY2PyoeuMJfXvyM/\nJBTqKn5i1XddylPkZlVG0C8Unt53BrRnFAyJ+Tyv6lF68u/xWhvrpe5wpUpj\nLO3mx91HUYhYKdmzP8GyT6WdvKvpqY2ZEA9GDoyWfS1aoICcHgYtvEuTz7VQ\nnNfxr8RuspXtgyygL9YJYurKu7gZogdHuYUEfIFnjjroqQcFkTu5zdKhOtcF\n5FPuuj1dNk4/KsNFv2RYZD2RM7giYWrQanZ348/PpqIWCWI6iEa0x/H+WPYX\n45Oohi/WVdQEpLgeZBscCWuFMt+JT9kyu9inDvxoupcbrInuSebsrw5d30zP\n2BOMrFLa0mKdPx3USollvQjPTNmnS6h8fTH1Yu+JF0fgHuI+rSy15wFmojV6\nqw2/mdDAAbbc51j4jPC6dWDgINPd+F3Z/9iDN2IYJJnNzLGF0/MWPg+PwQKx\nYGeIDVmP6A+3J71dkFYav6S5mNy5kDG326lHPCM+WLFAAty6Aj8vqf/cCi1K\n4wJ7CY155RG6yWH6Bh43mjDRhtlW4xWFnEreylFwCrF+CW23TbWVDvhtuUoH\nqDpI\r\n=vJB6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrdwQor33Gwpw5D1+c+S1G2vMCi93+pyDfFUycAq82NAiB46btxqXs+4zmMZYx8Mtz9OBqwdHwP8064ODYOBDJ1UQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.24.2-0_1571405260509_0.16872122651563437"},"_hasShrinkwrap":true},"1.23.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.23.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f60b1244ec720a6df0a9ba929eee50ae011158f7","_id":"sfpowerkit@1.23.2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-SVi4HWJN4l+Mv1koQ9KXzs5pnZdr5eZce5bKymtLjsdHk9wEhwmCn7/XhIxvboHphxkBiN44xEIxfkqEc57mQA==","shasum":"db642155f553f2fddeae2e86cdd64f88343ab458","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.23.2.tgz","fileCount":261,"unpackedSize":1288232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdquevCRA9TVsSAnZWagAAJ00P+wWqfb5/sMHMvW2kRErz\n47+Z4jn1m6z2aNmet2ZTa9L5/AfD14WQodkRDAN7q2KpPI9iNgTY+Nel+g7G\nm2Wj5pIADRvkrF/5rI72AXtlGMMEGv1QFP4X5DFIl2TXaqberDn2uiVe9VGi\nUDbAKioI3dOFVofXmgBxX+nTIoIi5PHmvlpHystt9egBxeN6mpFjzweE03fe\noVMd4dioe0eQrrHo87zSFXt51kZagOQd7FdQ7TbJKG4KDcVkrCBNgWsELMKh\nEDal1ZPsC72Dxmg+r2V53XC9rqaMRwe45Vk5AkYtAea9VZ0OZHEjPuGOPjyD\nfokJAWqvJ/GGGl/U63Qk7B4cQGhzsWL/5qpXSpMH09epb1p9cGSyBtfr66kL\nLbhBHVjDeQYwLWmInXr9IiG3FeT0l156g/07GxaE3WDwqdJq1+r7FQiRmCPA\nm5M6VtpyZW+R3z6vEaI1mU71nWEB1A+ZZFehEgyEJ1SWkqE9cKjuBvU83nfb\nmuM3+HcKLP2ZMJd8W9/fw1nfzBJYJGkRZjETQUNaPnfQQ6rMMpWn+h6wih7I\nCFZbHN7QRbfPow9fnHmuqelxadrUUY4QNMlGhh5RM7OrGDeGULnIm79adZdW\nh3clAmstuURpG9cJbR4kUJfGkdIutwFXaH5yDPje4eu4GDbcTDZU7d3cX8Q3\n9TVY\r\n=Gg1S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJSjcdrau4s4hExGGxSIsuEWGfh3WYlOfRaI66x8aufwIgSLZsDIY49nvQ/7BEBG8URN5My/N3vVgc27f6pbRtrtM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.23.2_1571481518435_0.19148695937899718"},"_hasShrinkwrap":true},"1.24.2-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.24.2-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"54eed87a0b9c1d6dc696f77e585a67953dc5974b","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.24.2-1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-hzFzqYNNkAgoGwRfTXzgaBoW/O1g2lQ4w9Rduxgvf84ORcuBvNx/IUbpSjScYA+U8XzOfDreTt75ABiNUhkPDQ==","shasum":"f7cc9ec7ad4475512cb4bfe012e3fe754e7c2289","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.24.2-1.tgz","fileCount":261,"unpackedSize":1287975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqul9CRA9TVsSAnZWagAAWdcP/RDktZ/cx4jCeTkLyCH9\n6xzFa9/HY2U8EInif/BmAyzGVUt0aXbSxPj2othMb4C4yEK3nClJKY9b4xTa\nTuJwb53+SQAAIFUNA1l2KUa/ZtAtffKDYJ030YEpXBfyucRtVce/5jmZPgib\nxnm/fYnT+YPRz31l7AqtBKAvtttI6u4HIQuRSCgCM2LWjzjYF6B4BXqFkLyn\ng7vFan+1B8XhrzYaiO0mBR+4dVeSgt0Y5qo0Zkouox3PtAkxUwGjCWzglip0\ndcnoXesDTomCYdEFSwIIQFLqeXxYfLC7xgUcCF+8fhDLdIYsFl2hChgrU/E3\nwK6laiMKaUJD4zCHt1ZoPDjthnG8pmmXGDKCUT4Q0c6EZKgr6yvUcYiaQZKI\nePvvJeJsOMrPWLZiUupL+aV1U6q7YbVs6soKsfa+6l0jmy4NH+RRdvKBSGH3\nPFL3MA3/CcBUAc834dzMhl/Z5dK/j254Ltb/nvNDGQ15CNdmZ4VoNIHhk5bg\n+qSj6uK7UhtfzFNor9A6MXUTcTApAp0xt7n+iCrEMe7apeYBrxRDdiATVBVH\nv46qf5xuqhnJPQSqkAhnBY/V4Wm94Xd1P42Z+VgENJEQHOPBctR/ly9i4Tq4\nYMesJfme280r9ZmHsQy3GZmA9SmWLw0ZaJF3j2qWHSncxh4Mw5zu+gW9BudM\nc7HF\r\n=0g2L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICaOvH/pUJjHfXjDWmXtG6sqD388JvKRhNmU5vqZbmOfAiBTlL2fmDzYDpAMJyLU9kGylEj7t6n31Y3VnGRWLuVUvQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.24.2-1_1571481979917_0.030906180917536386"},"_hasShrinkwrap":true},"1.24.3-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.24.3-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7cdefd4f08c80b56d26324f292dfa1d339a32b0c","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.24.3-1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-xBKiJJqm3zsQTl+sdECH/MzkCaoFsdZbuxU96aJLjoohLQmoLV5BGP3NJtWtDZbmhWPqUDZoPhIHmiTYeTXRiw==","shasum":"56ba4cb69582820be28b32804447b2d01d9c15cb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.24.3-1.tgz","fileCount":261,"unpackedSize":1294549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrbsaCRA9TVsSAnZWagAAKYQP+wcp+UBCGE5Te++gEHGd\nVBf8cfWy3HUEgyD30IrYdH1NOC7v5RDJzwnZ7Rbr0Zt4M8luhvPnIX1MUmx8\nl4uxjlLs0m2KBqMgle0/SIRXohZnwzlKRNddmQYrSKR+ubDBpzyiImQjQXBT\ndqcpuZnkQYrW7a3ZCI8WByXO7vslokvAtdsKNk9LpWp6JVPoV7xY5vzVrQfW\n1Tx8NsUnmZb/GSlMQLkk+Xrs+eEgsaiamphKgVJUoyks1xhV6hFS+ELpy2yQ\nphBJH+qW+cVgiEqJ6oRkqMSkVI393aGdq4zLpz5Yw8hzAPocH1eWpRFM9FXu\nhz6e9Yu5PiOPkebbtmENPtHnROMy3yzuNbqRySRM/NlDGwRxKpxc/leRBvYP\n5ibO5gL+WSFZKk7ZqlxymWlk1DiEoRIZ073qZib5j795w9DZ3xZww+03n56Y\nTu+m7tWGVdsG+MXt6F+Lsvdu8Ispknd26D+1DDrI5T4T57p70i5FJD04c/tY\nepnswoeVbbEpWEw5UROYmCZ5ZhK6YWjrxsYc5JfCr0XFCPQYRwF3qrvHguvT\nrmazZzEES5Gxv/N994K0skH2/XxbiWUpA/Z1ooFpYUKg2m95NzDFMGpDqqyf\nZgFff/M1jRBjnGyuavll/orWHFR6fEx/Mz74859bGbkKxpgRlSS5z8ZwrbbP\neG25\r\n=fS6c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9nranvLjT1uR/fGJn5166pYi0LJwBrsKUHeSWrYu03AiEAr1C9SO2Gd3KL0RGEH7+mUuCFXsSihCwQIg9zsqGJ3xk="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.24.3-1_1571666713699_0.183971448287785"},"_hasShrinkwrap":true},"1.24.2-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.24.2-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a0980a1199d0f5ec8d268cd1f885142f94d84593","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.24.2-2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-BA42Y4AMsIUkQA1mpzjpbjxNmX3o+LWA8cjRzRYbkmKzPC4rh044rsEF6ARIX0lZMMkKc8gkXGQbd0037VW8qg==","shasum":"da89ac9d5a644f0f98f7a63d0c2bbbf5f1b42056","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.24.2-2.tgz","fileCount":261,"unpackedSize":1375668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrw3vCRA9TVsSAnZWagAALI4P/14AuOimuSggTzVD2t0B\nYqjE1x+Du1WEgfr7Wf7yqtdKo0DYS0pLQUxLPymTTyj9bUaooUyV7kdTm+b+\nwgQ6tSaLNv8m4Ha/gxpS2k0TQHHnqNb2hSOv4i23FubAwK6009ZRURzOihJO\ncjJFKXpahE5L8N+VuZlyhYpsSBtiuM3vbNQRg3BtjU3It2OC5jW+cmcDMPVJ\nTINnT44suVjcq8VobZyURAAvlN82bYShOim+qQD8t4ClGnbeI7z0mHSn1feB\nYOzcJaWX2pNMumECRSHuK2zr5ViItjcgS6euvSjGC47wG+hOusL6bLNiuby+\nq/ZMumOGeMOJqe0a8kYK+bCP3lARK1ijBQYwHO9gqmDqFi71hByPF2+kx47C\nz9A4ahW2XpimKPktnzkzjr2hj1iVdWhLBI32T0dYpR31+SZJq3ciz6PJvOR4\nDSqgP8UHCvjcGuIO32S0LuSXX44a7hHt4uN8Ky/OFmTjdvsZggOYzP9ij2XS\n9Sxz8Ql2MoZZL/Bvsh5H30wM5dDWT+XVsN9HKDZN6pFZa1zjuk1MybrhxliS\n+UhmmutEoOI4NGvfNamrLyXae7rJVeu4+sbS3zjW7eoyIuWLCF4ZnhTjugai\nRk2FfcvSuhGSPYs3p5gqItrp+HCt00pXSznpXBu9LCFwUYASzCmc6V7+hHj6\nlXBR\r\n=nwmp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1pFFgLzIBHwR+yCOCGZYPvrp7fE3g0cDYrK6MG+QTTwIgAaXVXZrf9p05nNrtbghTMieaGDJAngGyfDD7RL42IP8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.24.2-2_1571753447826_0.35286091307190537"},"_hasShrinkwrap":true},"1.24.2-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.24.2-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9dda93244ac3865201aea62f45f98ef3db45475a","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.24.2-3","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-uz6uHUUVF30juvmaweB51nIw3p/Q8DtpBaMX21QgvdiV5HCQqu/usyK/hhEwK06INVFZlbi5pKJglMbbr/NQ2Q==","shasum":"4165be21b41a0aa45d292f56f4ae81e916147f2a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.24.2-3.tgz","fileCount":261,"unpackedSize":1375668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrw/4CRA9TVsSAnZWagAA8XoP/RfVJhJhQmd/89QvuiKn\nbnJxDFrylZPbXXsvTkRTcPFTT1cu2QgTQUcOwtdw9vl60SY+pLoyGcUrE37M\nGwtb8PPi/YwdJb09eyyntW70rrXw4BptL2Ct+NYkWmYUmIC0TDol2JIsdeIA\nXds/MQhETotllaDxoxtWTb9mOplQhUsHcfnPwmOXdvqbzUw8gIvEYRkwLWIE\nEDX3rcMAX+W/Cb4BkBgtyKyKxNkhIO6V4XyYmJpM7sE/L2NhjCN/wkSCDKsV\nLhwmtEBGPOciosE11E63rjr1bWnEv29vGR4rJNcI8plm7HP7Trh3HPv/YFlZ\n0gB0JMKWlkCjnN2bXKlgMQMZJ6q6SLyJbmLM0LEyo5LTRDYY35j6a6sqAJM5\nD4+5rtAAmLkE75eZd17QrgQZtmMCe/V51JU51MNoiujAs581mOHkyhUhrbg7\nBBRj0pf6wT+XiTzc6Ms+VYilb3tT6JWkgfCLPWoGx9dG0tCsjN6BE5uogfNV\nNKGYzuREwrHAvw363PCQQEHqcxKL14JRl7w8DewLDT8Rjw1KjDu6qqHM74dc\n1in53EZUr1qwYc/JAEftFAwm0esTU8CU4U48Ve/qF/dU2uSW2hZ+CMROfZOV\nwYKFcUiILLNnSfaM0fCIXl2zjmyTWuB/y4VX9hKJ9+6qg9nehZsXoD3umkKP\nOM5j\r\n=YVyt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmqaE8FV4qkldRKf86GqEcrF+DGww+MVqFaVb/GBroVQIgcmjh8N0QpLj2+yf6RL/+xD9vfmeBBPdwQaJJeSz9DGw="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.24.2-3_1571753975543_0.06480682617777767"},"_hasShrinkwrap":true},"1.24.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.24.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5d5bbd42e803f0ea2645b7f74059ef478fa9ce9c","_id":"sfpowerkit@1.24.2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-YLj58gB6tmGUJDP954xQMrBEfyVcft55yG/Vzxdzr07WA1K4DASnJ2c4UeTtwZAYpWllfQjLEg7pb/g1OaJBUA==","shasum":"16c6bb9a71d2ef9041ec7690b4ab9e242e6fb0db","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.24.2.tgz","fileCount":261,"unpackedSize":1376387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdr5CJCRA9TVsSAnZWagAAZIQP/RQHfKOKRkn6G3owVtY9\n7QveMUMa1mXYY0ZmkfvkVNuWiFB0btB4ZznHHuW7eiABXCVp0JmVED7UVJH3\nvX6yKHfA7mui7ECAuJahwuntpxXssf3z7jIQwSTD+EgWVkuhbhkf0TFL0DMo\njKbRSMOj8eKvM7yR0MDnhuGg9cQsywwpxlma9LwXNEuXE4V1xPx+gpyieUou\n5Doj4SiX3vpa+QhqxpRG/CdX5vP9pbk8ehZQKtUgGPsvjUd5mR+TR6eF0/aK\nxHMKubSbWyoajwj3IbLR6Mf5l1V1Q7Ph/DFyWMe5sd6VbGo44XGWj5oGpfC7\nyxDi6BluO7xVZVOm0NI3Ob7oH5yhG9wr9ak4TR4fvbFCrPD1GtVrVfW9QyfI\n0GpeUKVJmOTS71DscaDPELFhBhNsiMswv8kKu5QkPUCvvF/GnRIwsR8iVGZx\nagqIErndWVOcaiZRlMNW+DwQEJr3SdUYCJUzWOs2YNSz6VeTpVxCw50uajPU\nCj2g+pS0agb/UwEVeE8dKCHuEN7UucQ5MiZt+MW0MEj6Rq9U2SbvlU8wZDFM\neoIrE4Xa+6SRHOW2QGePIDI5g2w7BtRd9Kd4OJDbR3le0BsgZNHEtXPK6MvL\n6PqxgOBH4PQGW/VrHLWd/GoxorqWuzPpWSn0SdmRswyDSt3hXFEpFSKO3MlU\n7WOf\r\n=WX2Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLFSoftUGpXCZm7pQpEVvV1w4NkBnWIbvU2E0EgU2j4AiAcFfiSKEdbgl9tsbE+SiLLx7XGe6l666sRpeRo+DdE1g=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.24.2_1571786888775_0.05932419701545055"},"_hasShrinkwrap":true},"1.25.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Paul Davidson","email":"p.davidson@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"29d924ab7068ee14932361a23b1155b73d0e2c71","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.1-0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-tGuE61T7vZdH8ytQqpi5BcY3xFqyrHCtDDu8tQMS+FlPaen+k2R17hXI203euLS4RucMZw02BwVOjS8B2NbLtg==","shasum":"7efa63aa7b9be1ed2f41b9720ae8a4f5e5bb57d3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.1-0.tgz","fileCount":261,"unpackedSize":1382242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdr5aoCRA9TVsSAnZWagAAxWUP/1VYjBdGFVlZbFMKsKlV\n4W58t4fUlklLHvhuFkh4J7Z6+uA7Ay4cjuppiNr9U+sYmywyvuDbF+2SHX4T\n+UnAQti1Ew8Ul5I5PUHzpeT8Xu06pw8TPfXh3LfhOqtXQqkGRykiG5WtNjhx\nEi0GOeK19n+BxWqGEo5SVJbwB00/bJCGy64Dx6DlIV2Oz1IXDzFsTDsyQL1a\n8hdiek1p89G7s3B4bHr/vglS2lQutYulO7aoXrxsW+fBy0MQiXYugic0SIHA\nfyURZTCmnRY50pJn7gUHdyetItm/N4MnBsszUqXDc6d+wfThI3Xif1RCq5ua\nsTP54iFr0urTn4rj/7B4uZwmkP6thihWIVFjeFczfYoKz+scd8x9EkpaBkc9\ncqVBHtu4XgKFDsZRbGlYXUlcP9HRRHKIP++aVAeUZiZeLO1IMs/FBtzyJej5\n2X8EdqO5iGbYTMEE09bcMwP7aSVZh7rzvQFBa6H99/RSj1waitieVXtUj0OJ\nqPZkQgFhNjDs1kv7ggnD9txp2Tg+/Hv3u6nha6xw3C5PkdMBz9hAbHRtORsh\nN4rdhtnWicDDiP49LX1fGiIIMD4lsuubcj1o9YKseZF013Fm3cRkqc6TgA71\n5ivUVU5kKoEcNg7S2KbdZaCSpzB0X9S6MPE2phv7jzfTIBqPM/rldmDH8eGO\nq5+g\r\n=NaS2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf7fRNzLM/z/6S+XoJuH2Qhs67ybTD1ZePNpOHuydQ2wIgLMsDE8ZjEPTzDPYhA4spse9awSY9kxG0fCv0nlQzzEI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.1-0_1571788456041_0.6583601127514573"},"_hasShrinkwrap":true},"1.25.2-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.2-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"40e1c80f1d96f3bf4bf432e6ec95f3459dcf8f57","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.2-0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-JW7ig7dfNprtiv4q1TaE5v2uKYVXXC27Pvs7WI/qfLG2WaZ4QHbl5uZDYgbz7zDT6JLGMZhofbUhZiaPptQRyw==","shasum":"f54589ff42f58bff72c999ac6747b5aac8d86f7d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.2-0.tgz","fileCount":261,"unpackedSize":1387965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsA2wCRA9TVsSAnZWagAAxZwP/j6hXTZQOzXXGUGb0CYy\nQXwrhX0QE/2ZIXwVCHQ1+gs4/cZUVheVHIRJpc8FnfFhzeBlu2AvUfIXw7TY\nbASnTbtaWbCd5YkKof33no/dDWag/7LabTSgAsbfzIMsPROrCG7ZyP5tbzdh\nJVY0sDLJB8HjI+m+8RrXcl/9DfCw9nJJ/hIkjBwap+8cgdWBonef2SH7Jf9E\nVExcWzkLTsy3P+dKMeqzexWi34x+U8znHXBrW7yvpPA/lKY7dKrwWECeQeqU\ngtBmk/R0aS0qHTPW9dKTXrfOVnAyy2mNC1rM+VaZohLrlNdVXgufVnX7yMNJ\nRESWBRr8ZRYf1LEkSeLDbIj2h65zJrnphpnXRBZ6JFFZokMZsc+fUnC7ZDES\nejV3kZilDa8+n5MiByy+weT2Kz9rnVpJH6sQqxunTtWrrqkOyQfpYSbC2pm0\ntq5ZryIfL1Fn5ovVDEXFNvRGrAQeJMdV7AAEg0VY7DbiIZoVfw98v0zkATKt\np89dvZrC5TimKXQsG3iQos3Cp/yeRleS+gxhpdSy7M731U8V6Nhn1kMw1LVJ\n1wRyOvzm28VSpUvlAOtSdXREZ28a+Wj2KUqn8G4XCeqTxTKQWRZVoB/9Lgjd\nod/Y1eU8mXsR1rgea5u9ZruxRcGKXlShg2+sHt1E3TdC0gr/rdHHB/nqgh2C\n/jp6\r\n=YOJx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOdtcVsx5XNFuq7/GyAoQNnWPYgXLiuKFR/GVgPqrV+AIgKm1NpEeKJ3Re7F5Xj0Ed7/ACE0yOOk/Vtca+GmCu4kM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.2-0_1571818927564_0.9383022345697929"},"_hasShrinkwrap":true},"1.25.3-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"712f9252d245e2107fb606a0a9ab538650d25f0f","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-hMr9fHKY8uEOqNzbYp9PsXq0QUwDSlp8R8IiPj895Uiu1QwDDZcPbIsm2eIvNAzlsd+cXmEMYje9ELy8yayS0Q==","shasum":"da2ede0e8925e54d762e26ace792ed788bd23eb8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-0.tgz","fileCount":261,"unpackedSize":1387958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsFcCCRA9TVsSAnZWagAAk6QP/0z4Gg34XhzaeiAkEngS\nljSP7WpJViOIamIKJqy5TJbicZtRf4yyEjGc8v0K55b1n3k2Q57MIfgXP67Q\n0gs3g9D7zYFGfkPhcMliGVQ/N6/Jpur8o+T3DYOkcXyM/ulaz8DGeBV4gUbC\ntAqSy1DYp0502ItXgvRYe7wZC6blnMUk3/Uelr6InMIQo/LgjpqZxUkbEaRr\na/WqP4jChwvtc8VThFQZVjdQUOGyifbGdQpwqQumXnSwAH8Tx/J4dqDpe5dp\nxssfO2McteJ98wzUFslEAlc3e55Qhm1kKaPKrNj1bL2d/2ae02s2tAcJJQDg\nM4+fEFLaz5V/eN9s1v1mHhc/Z+wFK7hLQZDNZ005SGKQhYSvVTEQxzI8efE2\nA3DXITdRabKe0NRk/vINkFwTFDhFpdc0c9x7F82Gt3uOeBqTVmhcl22CvUQZ\nH38LeIg8m+DEcfh/GWPt28fJFtnf/6ZEp31x4p0U6ofOUMd3pfdLm0LZmzAe\n84D/FPFTp7EO/iii5m8w7z6LUqeXEyMlZjKiSOiqPPA1rhfg1ILPs9gcCqM7\nQSmCZFeB99ldfQUrMcxQk6L0JLmUqJQC1tQDUtaST5BVPvUZYlBplAlitYn9\nFHKh61zChASK/kf1UvWaHZSzBpRPFFg9xRhE4n3naCqvOVCkrxfXo3wXfdJP\nMArt\r\n=+Xf4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4vEbJcwaS6B8JSfWDpS30fG4l/9yrftsyNAEqMh3qVAiBdtLZ5dM6qPIcyr+u/VPHKHeFsjzgq9C/1Ur4CoFophg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-0_1571837698144_0.6401620720804277"},"_hasShrinkwrap":true},"1.25.3-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzipper":"0.10.5","xml2js":"^0.4.22","unzip-stream":"0.3.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"045493359f2733d6a16419a344a3476bacc7b034","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-FAsIK9CyfCf92hDTwIMvQNin89xi04PESsIQGtG0gYLDwePQ+rdIYXnL81SjGv2+SY7kqNFG0yW1cGgJz63zVQ==","shasum":"a2c340aee39632c221ce4c6765280899919ae4ff","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-2.tgz","fileCount":261,"unpackedSize":1388004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsoDZCRA9TVsSAnZWagAAk+wQAKMvodXA4T6vNPx3Vk9+\naXJAM3XgT46SiIaUBpkLS1AwBCF+Zb6hliGNZ7hCWhlQY17i7fx95B2s4xPX\nAT+b0uC7Id6sHjSXhmiSa2Y6779TdKEsMJCYXsI384NjR2zruPRSuOGuBoHH\n745u9PDGb+Km8I6Tb1tItOc2WshWEeJD148lBs3EzEhsYdqLMgbJKfY4caxZ\nH6y6nfq7I25i6JMzZsaut3ZOGb/JYGvgHk/C0ocXQmWCe+QFVEEAQcKiM1dA\nHpnD6yGVFcMs5MadelhVqX4CO3nVxxCveQcQdaN1o/E15AriNHABNr1QAhMN\n//SqZosUkafvu1TF8RBa7DbpT5ToxmR7G6Ayy+3zRxNImST28E2sDQdgfVX4\nDocvlwZIeKdWF6pullKmhvkqEdgYveEwQd03+luTzZmf6O2h5PrgbxHC9pnM\nOXmDwXhk1DGe790zDP9YaUv6TRigqr7TaJ86KIl8mDkmnBQAxt+j8Ggi+DRI\nNmsdV5BscikPwCX6+/3d3xDSrHXLsFJasVLpJaKNKX1j30MKN22KtQr1hVUp\ncjUJ7p4oVHoOUcaRMsuOKPWhTKincG/XVoMuJcLcnHCWgsY1U+LBhOSUwWBi\nmdRhwCOjezuwbajD0Ez8BWfghu1DG1T5/8vK3ivIEplWSkw7QPpRaty6XVmV\ntTIo\r\n=q6Tr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYwX0tuPDMsliYGPiGb15o2w1KyTt4RQJbMUsBGRB7wgIgPwWj0IOCQRdgU/g9/71PYq5cGaCLG0vfQJOBy1kI9Q8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-2_1571979481195_0.20217645574586962"},"_hasShrinkwrap":true},"1.25.3-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"aed6406639ae2e5a16f53e013d0963b4ca082d16","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/retrieve.ts)_\n\n## `sfpowerkit:source:profile:reconcile [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:reconcile [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-4","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-SGJaRFDSZn/zNZruJWYtj5b9eXx8nFvRkrba3fqczA6OYG1qi8Ignxv1+j7YUAPJ3UAZSPv26ajH8H5K0rIWgg==","shasum":"0c8aabb463e3a91a58d77ba08a0d20e65968ef8e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-4.tgz","fileCount":261,"unpackedSize":1395579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtmYpCRA9TVsSAnZWagAA5O4P+gMHm95ZjTbGF0haHwxv\nRddt3O9wG5EuOVBe3r5l8B6ot5NBElItxVjMuDvICzSDdHtUOJGpqLXWE9tk\nYOyLRMpx7/DjZNla+JIPUVOCYVnIQ0b+TO6tb0oCkNM7NttFr91wzN+hpys7\n8GIImD4QzWDGKiAmPivvz55EXdwHLc2QcHHgoBNTEHpjf80ec4YGMN4lwYQY\nKN9OpnE21KgZaydPSZss0M7dGnIsPmAJmAIWwFVOaTZP6Lx5LgNUtIViE8zr\neTtLq0KAn8ZK6kj/Ko7fmSV4yKhBrgnUn0KH8smHEEA5MVb6nPSSDz27A4+b\nHeSefI/cYZto+QxEddzsuXLsJZp3rOEV4keMXTAUYfEXsGtDxGFOz0MghsFU\nbxYdqJqXfL42JnZgRXwrALZ2i2iEMfwGrZQSYyK98uTSft/+wZFSe93k4bS+\nJgsj964QslYON/qmachp7CBfBcHXytTTA6q0+8FUQQAJtTAVwUs5l4OjzjOQ\nkMO7Y01WcSmFCfiv2JtGwfLwa6QOoThpzd7Vvuy53C3Q3RPe4VmHxdSPiT9j\nKdqAw6cra0gcwnNgawXoRgcihUPKEQgmgxgshs95xtj/JN51SrRvTf1dMEGO\nOKUNF87HoO5Y2GAVIT2DHpmimm9TJ3P/QfGi0DMLRn2+cF+BtwD0VwadE54Z\n72Sj\r\n=l6hC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFWc1YkTcfSgPuWlWkr26tKEls/e2WB4x4ZKKCeXfO1QIgHoaSW+6ylmJEn6vUEzXhyxaAHY+XdiZEuQpL/se77xc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-4_1572234793331_0.6754362440495665"},"_hasShrinkwrap":true},"1.25.3-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"44fe19a8ca766fbf359f8cf2d6411da990255e4f","readme":"# sfpowerkit\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) [![Board Status](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/_apis/work/boardbadge/6d1336f9-991b-4cb5-8cce-4173c4dcdca8?columnOptions=1)](https://dev.azure.com/cloudfirstanz/f7a91473-0e1c-490e-b0a0-80f9f8d82c14/_boards/board/t/c97f3cbd-bd4a-4d08-b123-9ebdd5c7c79f/Microsoft.RequirementCategory) [![Build status](https://dev.azure.com/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-5","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-1eum3ebeKW5I+xmq3qgpaC8PKvpcXdMVFUD5rzi9s0lg5Vp+C6Pnyw5veeHgpI55i4/+JP4U3b0sZueyCBuwQg==","shasum":"6e3e0dd2b03d8991a0be310421e6cecda1536e26","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-5.tgz","fileCount":261,"unpackedSize":1395115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdt4gSCRA9TVsSAnZWagAAPRQP/j1FLvyZ5bwKfFRANit6\nqwBZJSP2e3DKiFlUjNuBfDBTAh32/GU0ktHFgg+4j0e82bYTqhxU6VpdJvtb\noLj8azDycMhpGud6iQtUUBBzB3+qkymnWeOzZWHGs6LVg3i5eW4OFHuVAt1m\n1an8mdYyKo+2hXuvmy0x/F7NNvDdzZHhb4uGGSvHO9p2fdONxdhJaUUuXKti\n2pMjW1LEyHLrpJtgNYiDKqZO2mtl0/4FnzPOpqQw7m1Kr60rVplaWuhXpVFu\nlKl0w591jEBW4ogSlJjeI49pW8/enz1bvdNoT7jjOGsJBKOab7uGvhe4RVzw\nE4LB2sODUqBitoVhwwfEaFtzVcepTH0T1Hr/xpzbb0CpMiJ5kiQF3gcW2SEU\nJPGt2KmwGMq3i2YQh89r9sW3gH1eXXtbAIEGET/WYSCEFS4FSepFHMmNmdrS\nv4YSgop6YNt6bA8+7SQJ9Ih4qtZFQc3tsJIdXVOBXDqlMqvqsQkDLuCY6e3n\nOergA47z5eRV7OoLRmYhfSkXqDkoUuPlsETdyEd9os9wVsW2rovy1NtT8sSr\nKCvYTqh0lLJd4qacpRvxDb24GZ9/k6tE31kriTgXDfeQI2MBiCUvfMgLD4kJ\ntgHZkoawDUfGlE/VLmkdOXA6cYJ37qY5ZXCkC2wlDV2niy7/ngUbdHJ2cy0I\n/xtn\r\n=HuCv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZz9mITedl95Ga2qmcUjZhaC7WGmnQf1ffTdIu96cptAIhAMfDKofefpF4Ea7Id+Yf8ZruAiWbuDdtb30WZIz2mMju"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-5_1572309010122_0.6800841693387505"},"_hasShrinkwrap":true},"1.25.3-6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-6","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^1.11.1","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2fe9619985af73c6326471048c7633b2c42e667d","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-6","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GXlUcri6IYHbPBxs9w+LUYqSw7YtKTqLWjh35QMQpQtcznd7EKu69MPWRxL4EvLSxihrTbh4rbSsc55JUi2xsA==","shasum":"ad0e7c37afa027d9f7677ee9aad911bb28903808","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-6.tgz","fileCount":261,"unpackedSize":1394754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduC5NCRA9TVsSAnZWagAAHjQQAJHjftRPEfJ0omSyZ5DO\ndmigkla93fZxqddfexKqqWLV11oPWVYEBo5cMxMmsJH0oaU1Z0ahN5DysDLC\nKVUKZgpMYlPu57im5zO4MPWzpkz5yx1gIgVEz6pysaFMAxfV8RsQKULUaIJw\nMGXWKC0aQKvkZVbjB0iWgrp8hxzUWOQ2JklJ0fCg5W0glO2+bvsVLC1aCpYd\n9T3y/FZ0T8x+nheRLWTDCQQmZoN1adqr6dqwT4PBcJaK8r3YQ4EFk61BbfFC\nVK3rytD+XKl1kOcXgrmCh8ljeQK3Ok0VQM4dyxxYnslFIjrXc/nXc53vzXlX\n93cFRx1MWUVXb82XuI4a2VSGrUQhE/M9YrEVUGd1tpeUfR6kPu4zf+gI1jBU\nGSRJTaA6yJ4uTbzFfBrq4QoB16yQadPUVzndHu/Oxiu/qHJrMdlqbFSOCDAO\nlXhVmnxLsTHPheK0eVr2recqsHN6Wo4sm+TsLvUBsy8FqKp6pFMuxDbLJSg+\n7WyaHbG9+uS3lVrIARHUpnWDev27FVQtxfiWiz8DbSW5sNBg5TdNPE7r7NrO\nnEFmZT1azU/uOFrWE6I6LaDlYHTl5tCsUCXKEMBPEcPgH0xsltf3LdGtz1VD\n9RvEOV3X5kPmSj7BqZ/ZdT2o0V77o6x5Yms+JfMep77zwZWND4F3MUl6+s9+\negrk\r\n=KYir\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDln/gPps7N0uKeiIWv2WAYLkXPuWjbDKx3jSafjhIXbQIhAIBXcsTCwB5IaRXGmhCeaMeMv1C10q4bfRhOcXoNes7K"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-6_1572351565178_0.05192180878544117"},"_hasShrinkwrap":true},"1.25.3-7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-7","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bcd3f3a041c2ef6f22a163b48c7cfcf50491b3d6","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-7","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Jg7ycyj7VczI+i3Vhf9HEeD2PHteUFgnKDwz2jJld98RzIpOdBaHcMjEVo9mfVpmE4wfjGCW/2J85ESVIhqjtw==","shasum":"b9f4b0779e6cdc2c6098214b31bc8525579484ae","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-7.tgz","fileCount":261,"unpackedSize":1395995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduDcvCRA9TVsSAnZWagAAHkEQAIGVxb7v+CHxJlPqIViN\nDyD6v1Pl5t0Cj8RexMrJVUjZrJMAK8v6sktvehYztBicL2ngMoWlmw2NUOab\naYBAMlOVa707qnnwZFy8ahjDepCiFCAdas8reu5M6geN2URggmxSbKaLX9pr\nLUi5Ay/7vQpIjw932opaldjIyVb+bpaXP/vD0pE4Zgco/5XIIyL9oyji/x5T\nW/4n6koozdjM2XcVaeCpRQ7WnXQcAq9s3dVXaRzO03rrzHSJdeQ+t1VNcoom\n8ePdLGjQM0z7nDswgJ6WrQBE0F7jkCluxAMHT/62CcQt/PMkDrHHHmoofrt/\nsgnmJZ3OCX/2wa1mSX5eHcPPCqsOGLbAWKUyyJcgJd4pMFkYgtAKFbKvdL8e\nMnMT2DcSaiaPEaffyAPviH6rVwSesN5EU8kYAJdrcc5VOuDOAeXVy9KdMJ+F\nfrPufx2ZdDW4eqRB1NOPWLgMx6im5VWAxVqzcmaXqC9+gNJeV1jlu9jJMfEK\nFffa/kXmtXkCrRtI34mLrIhqIV68r5vQpYNixzKfg8vaY6btf66iQf4HJtz3\nSmlNFxzpMpaSUW6tngwVpdeGo00YeeuAAyXWg9FoDltfBi9KcUSJGenhuVgE\nPAJUtYPmSEjq00OlzIVoTw851MuRPa4TkM3NQykXhimZAf3TfC2mQJ5KmLOy\nhiD7\r\n=R29+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChmn/5cWcP7e4Qi0l3c4gEtk6dg51JZOQ/Bp7D9DlfMAIgWLF6FwGuV9QSeHHzfL6h8l8D2ciUBAcZdyV0LYVIIrA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-7_1572353838982_0.3726967278996909"},"_hasShrinkwrap":true},"1.25.3-8":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3-8","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e1e1f9244a35f3e0991fd494f03e5ea2ac6004b0","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.25.3-8","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-tH4Zh/uzNz1GuAbeXxue2WJ3mmyVeem/yrNm8n69HcVVBvad8cDOhS0/8dRqsh3T42cIAnWoi1w4eFOwcemEog==","shasum":"a3c64d278595e6d3c6fbc86b3d6c56a7a549f080","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3-8.tgz","fileCount":261,"unpackedSize":1398681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduMwoCRA9TVsSAnZWagAAFDUQAJcOR1pYgPglYWmI5/LA\nfMnBtl2myCos/SZzqq1JEgBt0bLCTRz6vq5fq1vbJH9Cf83WDNMk3lRo9pJ3\nj2LwjUQMZRFLwImWhO0IeKya4hqf3UgrFY4sDiPGoxuxJTmV5UuuakJTUbto\n/n5mMY1fUTZAMibKWMpMhXx4iu5hQnK52pBpQrqnRw6/TccOFcD/jNfMThEE\n/7bhvariOk2eYLDGEerGzBBhiGL34CrpWgibKqamSn7zFShPJxEcldoEncvq\npH72nwRefIXOjlrnuXcCWxDbBbOfKnansZPl/nNezEeBNFFLOKv3+a6/D6s8\nyUAy610HbycC54pEGPKCYW01DpOaEj9P2/ZHlcmoGpI3ZOZwuiwWMAZjf7Mw\nkodUxcNIHqh3xZ9WPHDffSay3/cTRKkVZevbn8ixPsEYaS7MtxGywYTHtrYV\nBDedcGigrzc0eoLaauj0DiI8kQcIivN3+3bNYL24x+4RDnxCqvhJ2/V1ScIG\nPuiwgoyzuB/V0irGmylsnVYTgC5/7cncNjRGew/6AOs4StMIFaNDnubMVUm4\nFd48yeyCKUrwUJ9AOwZEVtzTc8QzcNQ/Ma2aX3vl376pBIZUhW0GTqWVNxYD\ndgE8/a8ZpI2+jCfbliZRZptJ1WRk+bur5A/0w0U6UO7yqiRGEebs/5XwyX7f\neN4+\r\n=Nj+Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGfF1PGpBBjnVVs3ofFaymOGkpktzCJwwxqeqOUoHT4gIhAJoUz9foo7VME4dJTdJzmoBnpBmuw70ljzwecSTVhOP2"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3-8_1572391976110_0.347967253350175"},"_hasShrinkwrap":true},"1.25.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.25.3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bf5d2aef3fb6f346e6864b36ae6f7eabd1b0ad99","_id":"sfpowerkit@1.25.3","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-x0OtacKuO04ty2WugH0KkYBwdFeG68XirxqDq+es6QpQpRPziEoLbwoAIS2um5egz3P9+GG0knfMQF3bI4pXnw==","shasum":"7544aafdd4cd978e0ab7e3cbb3cd0bdec6689b0b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.25.3.tgz","fileCount":261,"unpackedSize":1398675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduSI/CRA9TVsSAnZWagAAuDsQAI+5H/eIawNJalyPGEaG\nX5+VDaXCmjSrYyh49mPmlHYZqRvlKFEyhkByMvdTLXrTZcXY9o3LAKKBdRFv\nZ44cl7PGb+6cNjQJWVmqJCX/vUY3wcmGrRkDMLCqJHc78LrLs9eH9sYuH5gd\nn7hHuQDcOUt4DAC3BjQQCtJHDUm+aQ7ZIMkN6QqHQXbPpwpdVBiv98TDkM8q\n1bPMDzpc9gfGsgUSPuMUSEhzgKdSEIvJKDHO/IAJw59/Xwz8gkR2JTlpq8ia\nAk1I6rW0UhXV6hJ5Pk7OwNuV0F17Wm/EZkTQNGXD3srYIPtoq1S3wI00e/03\nEDXRqjXPQCVjHdkNiOw+oTmTfedECnYfmGEV3iZgr743/6Wkbem4lSgNiVks\nrTJB83HYXdGQ8LxTK/boaiXmLJ7E9eSpc4szVZDw7ij+F2/4eukMcZoRwKnl\nlcPSHaxyZ9cq1vsS3fit9p2sS7b/XhgxSdVHUEcvIqh941q/v1NdqCWzRGyX\nZfXx6hBuMVRXYS7i1SkWE5tHdwjEcbsCcgHZ1yS7jgj6phSxS5TuhQlbzxmt\nsi+UXlUruVZa2BwL4wQntHG1pVm3KuiqgQ4k9QvAP5sP94/MppYc0KGjTQI6\nfFME6rdMirgE7BqFexIYHzf/d/zl7F7Zc2uSox0bsuYfexIBjYQn4jmydD1o\nn6Vq\r\n=YXHV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkBh0FpKugK+uGzAVqPjJPnBjOapwkMsO5jwDsLl8tFQIgZx6IRJIBWhE7lG4/dCeH+Heva3+bP7MLtXpLsrvtlSo="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.25.3_1572414014492_0.5274736809244269"},"_hasShrinkwrap":true},"1.26.0-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.0-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3c72083a7c35d54854b583e1335be54e98796714","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.26.0-2","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-A2OJ1Za/TTFxWUOtZuYzN92tznWuvtWYefF8UQQemQuMDGWaRIdFPILW/Yi7sDdvsUxYFo7gSxnlzRbLj5e9Pg==","shasum":"bb75e8820e9a426f2cdb5a1ce7dc260e14e2aa01","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.0-2.tgz","fileCount":261,"unpackedSize":1398681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduVeKCRA9TVsSAnZWagAA3n4P/1r/Jz1kOEk5pE/lct/6\nQSpgIHVx7gvTNJHmCrLqrHkUDXUpblzblmaRhwa94Mo1hb4l6ED/0aJtgnCz\nY2HrxrKBfTDaW99TGolirtR+w3TzJK1szurQ5vk3dZBP4t1UbYSnPSrmIV72\nIQI+BMewxiQJ46hdZ101JmSEhEMryJZlqxM3veQjJrMA1wXXhHX6sFrVyL+q\nRIAKICv+eL6JXjpRf1eq9TTYMFVjrFwkV/TsA3E+nUH4oad9tx2XaYwzN2yQ\ngq/+XduTul7nqwVIq1DkslnsQNiostzgY/3Ss2AnBjbnB23gwI+TlyjUImP5\ns8wz6Zd7YciFlfv+NqyB3DGoQdBYnQiW4QnuvNCc0TGsBmEczzqsVCnkkX54\nrfSrScivFzm1CBmMFx94JDE/3w3FuMJss43cvu6YVQSXGYjI8aMYawYusNBJ\n4kvF19kxm58ebZKzSoxFF5x4Ep4FYAME1YpbUY52uMxml1PMeGUhyAfhPjd9\nj3XBtwX8dv3I1KsDr5vfMirzJhxYafBUZM621JTzBJKIFvNfwv+z4os1ibNY\nIWTx6yb8DMVNGRFAUCIsRthHVD1N8yBNCzGgD584eTdAmUxEw8p7sP9rWLwJ\n3ODySclTt0wqkO4SE5ft1CNIniBcW8ploCS8TMAYmWbWaS04GlAJRyMzGu1u\nex5Q\r\n=2nBy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu0I11tU6nvonTNY0lBf+uz86GPNcwtFIxi6UXd5342QIhAOkkNfHU8gzwpzd4mup6cHK8ZWzgVvUYEVArmUiZV/R7"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.0-2_1572427658013_0.07365043460600273"},"_hasShrinkwrap":true},"1.26.0-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.0-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"18d50f7cbf6170e26a3f45851438e75b6bb3828c","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.26.0-3","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-g7LFs52HOPHp+/FkjViflFSoNVacPGUT5IQdZbN1l8pdO/BBBO7Hd6M+kWMya8B1YMbC9xWJAF+jBokiR5Iyvg==","shasum":"86300b1f42db322e4456baef3f7772c83f0dd553","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.0-3.tgz","fileCount":261,"unpackedSize":1398681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduiNCCRA9TVsSAnZWagAAugMP/i72LLizAL/gFP5BMulj\nMqZA51cyaEkWA/lQEhyDTy+p/ieHNaqzevcJ/W1Kuef5tx5Rf+4d2/Y5dZor\nu7FwOq6X+Wu5Pdg6O6opfIeEBWFJjO0tI/J2Egnkt8yoNx8ukvzAtMOVIU3Q\nZq4SFt5A9MKHXM5qwUUZV6hiVkUoZ4aykN+h0fXJAfMkCdkZrSUjZuYJuh3/\nci0bg4Y11m5MqZuvfYIUYm5B+e6DxIerJX846htrlD6VidBzpdvA9/gw3wq4\n32fYxuXE2emAOAcGaLABqbRXZXds7nNPYklSlwootwjyxFXO3EVV5Q2D83ci\ntWvZXWeil96LPvYlaXQm4NCyc8KMI394DDwfUJ+5hFmlPeqJ7Zm00Y4eyWCL\nkqJvJiF/or8wThSFUyRl6/8MQPKWAgTWea/uMznggmy9ZSmyrpDPDvDX5ZE2\nVgdZb/1fq2fZfwKHDzGzDBWAJjcBk1XZSxRwkM2hpI0QjxuEtxcQXZyoBIzM\nxcG0PG6EOz5nY6/iEdXJO894GoVS7sl9v+r8Iq24jVif9rp5tmuttA/Ekok4\nc8CgAG2Gr1wA32T4udNORlXDCqav+veGcWoEFPl/bVAVoNnZfD7q+SgPl6hs\n0YrSOa+5BNLzyKWVwE1/eh2fUskBUIW/pk8+NmSlPqDIfKMpg3bLs4AtuWUI\nrb87\r\n=fSgx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBllO805FMyi/AhX+Trn6Scj7Z+HWWsepozKeKnT4IOdAiEA+TmgVO6cLtlI8gJPXq4BDq+1f5Js+7EZWfW4uZ6Av4U="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.0-3_1572479809811_0.742753734424197"},"_hasShrinkwrap":true},"1.26.0-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.0-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c7ce2440149b92cc10f6d10815edfc4470cddef5","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.26.0-4","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-eUFhv83yBwVb3l7gkK9YZik7RUtwnWeGhS0kytsU4VxpmnXIoOxt+UOB4xH8tSVIB5p7HzL6D2iKWHWlAbvgxw==","shasum":"bd85213470f4f178b8b01dbf14c9e1663e5f624a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.0-4.tgz","fileCount":261,"unpackedSize":1411000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdv7kCCRA9TVsSAnZWagAAzjYP/3qQkqbE9jsMf7lc/i+V\nLgNtwasqn1DWVaufEoKtaA5Ybjvz5xVSF05ObHsACiEdhh8Kv2gP2yDKkDLi\ndRfpyAywrxTlhbv+1iaMFHmLd6vYNAaPl4b8PQCNuI8EyhCssaWaGyMv2XRb\nn1b3GbQB4ENwi7rDAkJwz+f+OFd8VokIeci7kHcb/Qio65rI7C1r0Iijy1cx\nVvXVhIq7/GTMeNdKxEhgbnNsF+ID+BcmkCVFwS2CmM70qjMpTspYsavN1tWJ\nO5uRxxd5Rdq3UUvwvW781TCFSY9w83nOivS1RZiiPwdtM8J5k0GadSSgxys3\nACrVPk0QSDsZ1OEiOGFC5LY1m0HodnnHsG0EgQ6/X9WAmCh+VYmAaW529Pru\ne4kARaXKx/9BtnLS1rZnrmXjLbB97prCIQ2P7IAQTe01bi1WQ6do3UGaCBTX\n12ieUOV2GNEVXEEkTkuDTSH65GasvYxyQNPUbdl1WKo5WTka8JXfaNb6S3VW\nwCrX/3TqEsVzGK0pvftS8/+CjkNiNlvK86T4mOrfeagoqaTiuruIcnFuAhiC\nhauakVcWQ8Pq3v773BUZkezMFqAgjfpGED5twCuVmXNO2Cs2N2suwVYCBvtc\nhnjQ6WXDGYk534HPFcbBvwPtc6OH+4iAqX0cdesP6F1Be6c0ynXAN31WqSBW\ngOT3\r\n=g+al\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBY91BfHrhAqNsdK+9KYBE9GN/bIk+F98bIk1FKim9hKAiAZJFps9o4Yw+X5344IFZyXLJnb19q7UFWGjibb/DjEXw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.0-4_1572845826175_0.5507126700809803"},"_hasShrinkwrap":true},"1.26.0-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.0-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"30607d32fceb6c47f93260e3a3e1ea094fad0b85","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.26.0-5","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GW2wyFVGMFbr46hr9Ml8rRIy+wRKu3a53lnITnDc1+hRuGtr06D2eRTLkNZBCXVBi2lj9pmF3DT3N+XvxtkIjw==","shasum":"a8facefb484e6d15ebfa77b574c68eca99ed605a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.0-5.tgz","fileCount":261,"unpackedSize":1412233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwM6mCRA9TVsSAnZWagAA1lYQAJVYzmKigB6VYQUyOZ78\nVteRrnA6gdxA/0KuQfnnYhgqRSA907Z1S1SIqo/fTmglYkVYpv3f/ht2FkVv\nPGBRiFQ+xjgXL2vwxl1swg4W/qR6+SsIfU42NW3MZV/S0hSlQE3rFCgKJWPt\nyKpJaXuV9igvasTjkgsmRFTKzqR6zWGwSlC2YnONeqDux/Oeb3akkXgqpWgJ\nTqPXtC/C8Nrh5r8xvuIAs5XJEvY/KgWNP2hFJmZwlJ+AsWVzSUNMBP5PIVc2\nShJHBBlQxe4DfpDzPcsPwnPo/I4wJZXP5Zp3IKKzxs/yFdWLlN1SX950PXT6\nZa8durMvrNQhn76+wKuMvHvm4ynXKLPlaxY/rK9DyiphuoGe+EF5vyOIHgiu\niXlvxjKQmDkTWwQ2zAejoWjvV1VIZTbDBsV+jGtmeAmEPOBhChQgteW4QmaK\nfeQBIuk5ayZcteSRhDCAMQJkR3xKpOUs5IR5gmUXjKUArl9OLh97dFfhvF01\nimUVmg7BY8uJe7FTyXQmSSaFbDcbCSiuSVR3Ch0vbM92Ros9MVh7pYFTUiSt\n20zS1jCmDV+xn9gbrXnruCeS2mVUCpZo6WQvpcnGAwJvVNzPNdJhVpHsOW0E\nxsq3zZivuAmPCO2hihb62qose08qzKPAztPQ8on4/YXcDhDUnleuBPP09Y7g\nwTZY\r\n=I9ge\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGU4GaJm8IvJhuZQXW1sbMS6wJdsqzTZWYBvEaxLtE2GAiEAwpPn9U4Cgmr4ZC+g0BR4XrAvsfcSB65ly6maOcOLsCI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.0-5_1572916901992_0.722179918858372"},"_hasShrinkwrap":true},"1.26.0-6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.0-6","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b9b4fcec858f55670c17b4e80de2a53bf17e4858","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n  {\n  \"status\": 0,\n  \"result\": {\n    \"deleted\": [],\n    \"addedEdited\": [\n      \"scripts\\\\Alias.sh\",\n      \"sfdx-project.json\",\n    ]\n   }\n  }\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.26.0-6","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-VXBfPTqMTTR95HSkvXFrmpHqwZlfIC92bitMN4GY9WKP40nW8vxVcYW8c+rDJyt6IkTdddT/rPQph3MNIiLrjg==","shasum":"1a60fec348552a0efa4c7dbfdb4f5fafa3ee4bd4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.0-6.tgz","fileCount":261,"unpackedSize":1412262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwTA7CRA9TVsSAnZWagAAPdMP/2xY7zubjKm5YcoGt3UZ\nfPIJyVocTb+22s1rL9tM4bL1MqBEyZdApk8fcaV27yPpN7nbJ+IwipTK26Gt\njzJhkwNWZgkzWIdb6SRbMI50hTDNKqHQImPW4BiHv/7EwHigl1vhLGOPM7Oz\n2QrQ46wKHSMny32WyiU8xjvsnUcWiCJDez1odL9240VHVL1HlJWohubL39FL\nWUD0pFINEvjUNL8AxVQ2LytCbs9g/Rduj02eMKdpXj62RiVJjSvgz3iG1XIE\nQ8O1potBKLWTkeifX0rgSeYZ1nHq1NKhu255M+bNQA1EhdJJNCkj++mYSiAp\nlHo6FVBdOWjZaocofZDC0mKvmqXk2TqWdFtP8COEuXwFjtnSQTVFXkur/xrD\nhAel4COB3BS50noTu+VesljmfE7FEZhvAfHccdMn478dB3fJjSGQZIl5IfSA\ntQ39lSfGVVgsNNRTA9awsA22pHgIkQZlK8VmckL0MG0RlKZQg9TGHK35hrER\nxZJNFoOkKk1S+rN2+BPIftU8Fi4eQkHSb+wPhQ0LkmZsXTNJaNXZeW7JHFoO\njQn2Z4g8inGlInl3ioEuY9VHwPnsLlGRs+IYBzGVYyluRfGK8VtJBehokOfQ\nawUtwiHmEqY+0m3hIbZyUrsR7oyJbl+oTjmGEXuA6BARgRZaYUoCBMj+yjCh\nbUeh\r\n=qUlW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxKyWF2cIlPsiucE651u16NLp0UL0PgE+yrxwyfy0EWgIhAOkrx2HCBz5KkiDTGDMD4D/9KiOJYwDs6Ahs6E5PnZkO"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.0-6_1572941882297_0.6774662615837674"},"_hasShrinkwrap":true},"1.26.0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"35be90682a1333c94cd4fa1cb1d0db44356e7eb9","_id":"sfpowerkit@1.26.0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Wx4LQO9pnJ+q37E0W8jj78G+8t8KtEnELvnfdQBcy6NPoG2X6+ih+6LKJmoO7wS9IYqjHnDlTPNnk0fEDB8f6Q==","shasum":"83161a14b8d8365e975dafd91417e85fbbd49a62","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.0.tgz","fileCount":261,"unpackedSize":1412623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwigeCRA9TVsSAnZWagAAQYAP/RjAEOcf0XCcRuGpUzqP\n5GVesbn/ndyBChjiJfmzeVsn4fuqwGXgj7mWgAlygk8LfEUjswD8fqz0Y78X\n3Z7K/eR3iADZLmejKzxGWBlsuuNuhStGMrPgQljcP3VT06K7+b4cqSp84vGm\nTMBFa0uvBm5uYq2QQ3UrqyP1gEYrqB9rXmuxbO+lW2Zv1C0HNsaCbvUnMA6+\nldT4dvf7EqSDxcSAxWQ70FFIjJJkfh/mLkxtfkZ+oV7LrUCBbknh1lW8Mh2N\nEtMfQ/fNYB/pRDUsrY6D2GQIxkQxH6f7pSxJWJQ2pbcCGYOebb4gC7tL6i8l\nneg1PCYwqz0jujSTaHvrr3vwG/omEscVfkRyNHWC8FLL8Fb7JfuFTb1lt5hE\nFN1xWziqZnA7KAG8GPymTRAStXKTtspeOVxjt4O5pSLpIb8CboWAq8CJNbml\nL2IcGFr29MymzZ/m4AZ3u0AbIe9ggk+uC7JpXI2XbGvyVXb8ApAHtRgX38K3\nIqwtb7U5T56m+5Jp7w0oQQ92pQepfyP3eVdgOb4JxuHQq7vyQygQF4CqZIw/\nSsrOIbKOjlXmZKjJpBjn5NR09Y5itmNlTCFwCsC0Tzdz29Fc2TYKpLIn+wgT\n1leNpncAhOjcie6PrdM+SHfpwem2f1b/H2pm+ts6YPY+DEtyp6Qsw6xJMOY1\nZrkP\r\n=2zIt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYWxBaffIJi8se+qSVS1he68dlVePIllVFVUaARL6a0wIgciL2D3mfKWXv3D532l6kpjiVJYsFRAVkEuUR7h9qIiU="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.0_1573005342058_0.9433624324647725"},"_hasShrinkwrap":true},"1.26.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.26.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a7a0c6edbefbb7c55a498a881724d9f72c7e517b","_id":"sfpowerkit@1.26.1","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-djExs5Z44b6+8UmglzwL2pRDh21CqQEIMNZaM1uK9HT5r5UbUynVsWbbbp9Yn/O46VuEpELYgr+eKtjtO0aUOg==","shasum":"50ddbc33997031edc5c2813c4cf32932ae67be6b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.26.1.tgz","fileCount":261,"unpackedSize":1413280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwkK1CRA9TVsSAnZWagAA0/cP/RWggmUGpuvTTFm2lPbb\nDq8ZfNdkQxG+nZ6JUdbJYZK2HtLG3ysh8KYRerH8PAqxN0ltx1kNynDttk5w\nT+sROt/dOF3pYtqntqTFqiMHfQ3m3EUDE860jaMPrmKfKwgS9DfBLG3PWUfi\nwaS8Bz3abU6nVt3JeCWXQlora4mP9YVkomk3ITIN2jxno28V384iN+98rEly\n2fpr/NOkPp6qgAIf9u5Nhv6l0WhQRvWHx1PKU+78UwW2KpkadW3JAHD+YVlO\nhUm04cel1cDB2SpvY5gZE8KvRmD/LK0AYFpkdjTJL3jNwBabeV3D8rGSEncp\nPCyf/M3xAIS3bKSb0Nxpzf17PQuKYDTxh5neKfTGjv0ErMYykBnJaJe0wPQt\n7DCOpUt5SmjWZlh+OvcdtK3n0rlWQabrxRaUm9yX/oFess8y++P343hUdFb0\nVey6OwkH49IClAcKk4E26zlwx/t0+LBAcjoC1vmmdCoYmPU00UFP7yjC3uKy\n1wFDu8iX0aIltlF0inlxKqLQstcw1Z6l9bcMEm55ekpNxeM81Yyy0p9HWBEF\nwhCdCztFGd5zjD5w2sCgbvcp3ExIQPK59SRJl2W1rQXn/1QS3HDUqEkvfoG7\nwK7YTx3VNZXd4Ps9z6Spkeskytm4qS8wVqm5/O2jimOiJJCCPwDRzgjXW11B\nDV9w\r\n=+Kze\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4kMxfve02w8JnUiSgcgvEIqDH2xQEinJ2vBXHy24M4AiEAgtMeG4gh8w0xxLQ7dCsRTbCa9g4uzSLk571jPQlFzA0="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.26.1_1573012149120_0.983147357239667"},"_hasShrinkwrap":true},"1.27.0-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.27.0-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d24e1f80f79539cbbdadb9e5af7f4d1a6bbd507f","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.27.0-2","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-RorZKFTs3wcWzwIobCN2ZZ0y/zm55zYvBz0piLk4liW99QghBp6s5+X9Pk8/qssiFVjHUnnxYGRLEcZoj2eeRw==","shasum":"93fc11c76cc3cc1ea72d8944e6cd0d09a0f518e1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.27.0-2.tgz","fileCount":261,"unpackedSize":1414534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyNJ2CRA9TVsSAnZWagAAD5UP/AmXXlyW1FtPHHwhKNOK\nyLHa6iRIGG6YpTU7qWbnT3FGBDA8aoHlTcfxe1PXKK5smR2Qx2SLhQeLd3iF\nPbeponqhlhqJrx1Ejp06c8xiQxDLKox/oEesW4Ji0XBQE68Jugi+crKuD2c7\nu8btLa52eBj62a9u64OzlpnjzLtd0ZOpj6Gz/u5rpAlDRzhW8Q4urIdOrvk/\nYpeUMND7VkIDn0ESoegTsDPjHJ+wAD5bxFtTg+pLtDQCpcF/WQs5Lv0ACiBS\nTR4hrgR5ag3GLZITkri/+w934b3NqCgm2LfJpOU+DwkuEv+A9HpsF3h0us4+\nrwYBESHD00AamvxoH2buQPh10Svhd9mqIPgk11u8OY3ZMf6hIJ2kEAFZXY1Y\n1bMFqOwwEBjHtedVh9fh7oy22LnoFdnLVDuIAOgj4gnsoPEkWQadTAbOr7cE\nVvHM5894I2ZEZMu9qOYy+N2nSvPH/+E/g9MV4gpWV9s5DinYPvzjmXYSnkFB\nYiRmdgyiqi+ciD47e+lrHisRTOqpz7gAH+7T8dBu6D5M1qwMv0nI4QY5o3LC\n8CDV3cB4mYq5lE0geyrrfaEMActFTvp+0j8FjB56J0n/EyvaSv7LpF+dLTkq\nmgL/P3nMQibDujb6dBUa26cvD/owtDv9SHuxo667FtyAzDlgdw6K1OdeYigK\n4Z1q\r\n=pISh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqPgm4yQoS8dYUf2LBdeZCZBHefo7S2hbluwrkIJvVIAiEAr7LSVQwk/kqwKFO2LWtnlVHPEcNo5XHFUsWgUQuv3Vc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.27.0-2_1573442166065_0.08078300819780626"},"_hasShrinkwrap":true},"1.27.0-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.27.0-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c60dce956e13202ab31ecbeb8cc2cc310d953be0","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.27.0-3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-JdKWH/hCEF/AgayKYd7k4QQLwngq92IiNrwa0fz88XfAhfjEFEo2NGdFhrGZLTgf1u3TQosRiDPMEty3RsfIDg==","shasum":"271fa52947d410e74ae9b6e6ad9677fe4ecbb70c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.27.0-3.tgz","fileCount":270,"unpackedSize":1450255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyy1VCRA9TVsSAnZWagAAplAP+wdtMAn0+Fl22EpiZhW3\nCjakgUNi+sYFTIvuwUt9Pb5TsQYmz8pf3YnxnSWdgXUj569TNwX9QHVjWvAz\nM7hlW8b0tuIgt0IEJiwMoyhPDMhrxufn0rHK4tgs3WeJGdVfy5hq7tKUU3BJ\nIZGj5vi5Dx2TtirBFJd61WgcY8z6TOltH3gkBGG9XTiPBicWztaMOvNyPD53\nNd3m9LNwWC1zEnrYEXARHW3vKHQI9BcmL8PDaK/8fTU4VjBWBrfHUto3RNdl\noUpyzb/iKgAUzzPwsngTaN6WVlEGGCJNxP/ltKnzw0FsF/QT7n3FQOaRICzf\n8Gn2EC0vqd7CoIyd/GLpmy82vec9Qdk8bDHiv6e3gQG3Jg4nG34WMPpQRoye\n6/Jh2QhP+vrHXlZgbCGjF4GKbGZ4YEVtszP20kTqwj1J50PxoQm+xztvNHcD\nTaeZnyEczU1JFQMDHfIhKqAW6/z0wULv8KXn8+3gtxvwPW8iIhYmeFO9oRUu\nIPLpfeVSP1DMTzHQVYZA84rCiiVM3uhoMZkMlP/9PI/OtZ9BtvqFWRNaFm1e\nvywaiWAZCcl9pGsExpiAjyqhZI07W6Dc616TXS1Gyzdb8uMuWHYqgpbQugKH\nM19+KuT9jjxb/KLcRC7sBrzRHbU06uYKK4uYd9WnvtrQ5e+dhYTxTUxQOV9Q\nzAam\r\n=D5Pt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPCJ1R6OXhXwgBv0XMF6rghNu/A0VLbuEEMnXtO1IqTAiBY48OKdlBmwzFO3Uz5miSV7hLM495mUOBVwQoYvqsv6w=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.27.0-3_1573596501238_0.25503510052294365"},"_hasShrinkwrap":true},"1.27.0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.27.0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"907e4f9ddf1015acac8a5ea384c48ed846e0865d","_id":"sfpowerkit@1.27.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-3TVOeXeEnTnqxR+3JPoeshxNQ6MeQmB57FcEXiMHpTiANy7rm+Vx7kbO7z6nxMEEhtGEP8zoburVVjCGU6Ca6g==","shasum":"f698b7c3510966112e71606c8d320c1c2be3247b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.27.0.tgz","fileCount":270,"unpackedSize":1451086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy5GtCRA9TVsSAnZWagAAjaUQAJIiQv9sj3B2rbGbsKnt\nzlHPJ4PheAbTLJ7JjjJqL7Z5ynvSsO2/YiKKBWo0TRL0ZSrHUIgTgCMFUKH/\nsWnj6sccetuvOhvYPyd4rtk2Lh4Bq1JhGfAXMwdCKeXteP4WkSPQ2TTtiYeX\ny0OTaXbjc4vuslijourdIpHtYaJwtK0FH2M8twqFYfIwg4AxbmJdOcuIkHhT\nJcOpBuK0joGXb4kOQ9O6GktQJ/tSXEDuZ5znv0q1aiDZthw2i0oRUVG9hOlX\nGXFf7QgIxUgA7kYyApSgp3uG8LKeQrBgFiXzpa39OcyOg2JQagxxAo9drSKl\n+lrN/ehMu1uc+C+AOI/FMgyOXULQr901NxYt6+RgX3F95BFZd/x5bW/khkIN\nzZT/76L/ctqrfc99RXNUUWBJTlfMPq0cUTcZ3N2YTndUByNWEhKnKGOoeEVD\nltgUhbsCHVniYrxkuu3b1uskZXS4KHuM8Nq5HmVit2JXe23EujIpoxpzXMpD\nxWytg9nL9mKytE4ctCtFJ7XWtC6LXeosaUpVhlN9GtjKKBuf18wnKg4ps6lK\n6WLmkpw4fk7jj8g4JsY9ozY0LzOfiNrnUm4ZivHmA0zJxeQIQqt20WxxhHuk\nXoMPMcX0dQPci2kjVxISkbH0mLb2RtWvuuojRqt2Av+gWkjbykzbAglc0Izy\nb/29\r\n=5j95\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa4FF2yG+uH9o9728pTKtvnWzLpvv5kAmtXE+CREWm0AIhAJMd2U5qevYoCH6Mmd9wOlXFnAidB84HTASlfdSsQU3m"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.27.0_1573622188985_0.2707141021698576"},"_hasShrinkwrap":true},"1.29.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"6a7a172a4b56cfbd9f6f729f51f72985c81b262a","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.29.1-0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-UE+GioPF91+6Qz9i+wLRDdzakxoZhYEmybcHL0KCx79vnAvleNmq4bijD59bl6zeOAYpuAFSUI26ofUF5h5rlA==","shasum":"cfbde4157ae232f02591c0e2d706ec9b08d9433d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1-0.tgz","fileCount":270,"unpackedSize":1451092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1HoGCRA9TVsSAnZWagAAGHgP/i8zAxkZPmm9TADijjep\ngg9RgoXlGcbGa6gOsbq9140hJ7m0SbNkRAJXfwn+xlHIgN9MvN4hxvCpR2KG\nyJdtek01z1jQxq7nqoSwUvjCNACsi/Ay6bY/GDv7JIksi9MP4i5sDl9dxaUg\nOagFfbJ4ys6xHFVecuFwFzVS5mREGtInDHf+KHkTa8Tcutp1TFHSn6i1Rlou\no487CmOaj2mngQh0NXuSbgkM56waQcbNcyIVFXSHEoVK2eJ81NmKKJ/+2blI\nwsgSD6lsk1Dot9uO4bDSduEc/xnkdqIjhEod2ys4+V9FCWvZZYvSoJDWgBU7\nsbv/fJP2ryCdTHK37jyXjyjIdcGhUYs8TvqC5iIzs83R6uIZwpq+cUmFQUJL\nJltcm5sYjWvgeQcfW0VF8KqXmhUf7u5YiLptjxteYhB+08rogonLFXn25C/9\nT36DwWAJV17mbXgSsGQEcR06JP2/PilbBG1q+P+CVnKuxn6YprB+bxwUyNNg\nDVPqiJ83R0Uy2Hu66FFhnIUZoiMGPTA7oC8h6GxF1aNNEBcAmx1RAJxZYIT/\nYmmpdqib4BjpNJ09va67d/HrzomDJzUPcVsy3azHwkoExgVWPsjveWJKNSgs\nxW72Mcoxjei43wSGSMeCUsEmEBVoAiUPmB6usLR77c6V3uwRNzjRw3BQ6tcV\n4XrY\r\n=bXWg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5Mt9POqG6Au+vi3pKZ20vkmv/3U95p5s1tOO5MiVvYAiEAs3gFQ8kyvQEoocJC3Qnkpwh1zM5qUr1LfUEN4hh8rH8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1-0_1574205957602_0.8650595906863956"},"_hasShrinkwrap":true},"1.29.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1b264893c0256ad8cccd71fc62a0c77101b1fb06","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.29.1-1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-h+rffTjPeq4A1MVeN9SofftfdJ1N5puvyY8GYU3XAxv1sMsHYiJ9Y3Bx+32nEc+gCc6kzctjzJVw/L5Prw05/A==","shasum":"c69e7a96e46ca89d5bb2b7c8e686cbdb6cd69542","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1-1.tgz","fileCount":270,"unpackedSize":1453074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1HsBCRA9TVsSAnZWagAA/IAP/306UZEdlvy9dkKgH8wv\ncZ/PYJR6L54Q5viRauXuBxMpfF6PR4UBKlOITvKgvIYV47WEN10s8AEmbZZx\npu9C67xXk72MZI2xFZo2KSuI4102vXzGITdRoY2Zxw+/nVi1KwC9EXVtjek3\nUE3+dQXWUokuLc8nFWrngAhqqAJ60egsUz29iGaydt4OlNLLA9mIzsHnXrLa\nAOTvizARXLGGb+dpdN1Inzrv34hfzBoA+N8cgk07EyYrOhKACkLh/wcv7X3K\nUoNVL1kUAlQ6APx1ZzL4pibvmfPoGIZ2PW2tGmXKx4ul2zJgLGkDq3GR+PGP\nqkdWHcXBn9RVo3sNqfMRvHGB73pBA/EXEdc9nSZIC4/pT6YXGwmV9U4kUx92\nT1DPGhDlBGr7rBy5BwkEKh7Aq4Uqu7QEQjOJrk2Q3IfC4xNEe27yuppRacfZ\nZspJRwYJ+1x9ItlrkU6yRH/msYZBYVQl0c2WiMvO8KCdh2K5PGATz6isvMoK\naIn8ONad8MCmp7OKedpy60eXQS0i3ygo8mxo4XSfFFjHOJFP72YXF3FhiaHh\nJ78Vo/Nn87EEUxiSH/qzg0IrAwuG64YIJHS4Bs6r6r8KPaK+44+6GD6hkxgE\nNWjai2bn2e40W4v4VWGnHaj/REjFDjUCkBl+KEjm7wBHpl/O3C46f+owZrtU\neaH7\r\n=NFb1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8J9Du4b5zDzdSGHJLmYIzUksF/oT1uzJOC+qEWCf2SwIhAJFCexZGBjPMG+aOT+0uzrYaCOjxrXQ7w9BIh7MAIdt0"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1-1_1574206209018_0.5790619908252905"},"_hasShrinkwrap":true},"1.29.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c1d5d745d924a0b8fc3e38d38efb69743dfd827c","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.29.1-2","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-bGtgUNIRweaOZWBxBDSCNLPTSq/khZcGBzI2az4oI4/v4etK9J24p9v042btMhq56VMDCPG8UtOpTROmB5W+jQ==","shasum":"fea24e86698dd5483c7395addbe3545697bedf95","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1-2.tgz","fileCount":274,"unpackedSize":1476985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1pnkCRA9TVsSAnZWagAAIEwQAKFQClUDcBudQk70iL9K\nFy+aTIB1W/9x8tSbTzjHToHkcZ/uBk/tLXvnK312awGSmmuRtl96aV/Pab6M\nOIRQjOA0HdyRE1FK5NlCkEaCCRtSHsGRQdGydg4JWl47gPHXd/LKgPcBaUkn\nOcELGvLNbGKEITJjvjeBeURgzVtyjC8ZjkwVJ/mWAWPb2+Y1yb/cjpC3k57i\nE+drcJsHxeteB6BP2LXJl3IS4zB96G6110xyy7Ogfou2vm3u9WG1GFFzevQr\nRFUWw2NghX+bwhQoJBe4NVEjnBllyfOZlQPP8/+oLcgjRTTlaoe+jaoFqICW\nwa+xvoVr1saG4tuw+3ryYmpbbeyCs7HdRhT/TKLKlspCupU6XmVZvdjvrdlX\nEAfMhcB8cBAVnkcC96m3hZCp3CURJbEOuBafCVw/OQOrRFCAgbE7G4ArEvs4\naxnL10rt43pNv31KYhDU3ontFtRldwdcwIo6ccgMLrzhseP76FKahzvLrXyT\nFmI4l5aA6WVXlAWIjXgYfTP9kIt4wwM8pokSJnKd7U8/MkTuGWw3kjrzfBcz\nQnfuZvqHhapjE/w0edGMlizAYBDPtlKhoFwX8w0ctcAi4yBTi1XFG7acF2IA\ntMiuVgrXhuNm3ONeC+7jVNmlbh02D/C+t8tcm5U3R9aWYVRTjK5qwnsYlJnL\nqbp9\r\n=f9ar\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGU8raTU4iS7kzcDRW0d5CicN7nDXa20//CPEwJD854PAiEAxNiG/0AsJ4T2EOaHR/LAuIOoYBl9STqaFG5DgHnxggY="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1-2_1574345187796_0.7912202676979414"},"_hasShrinkwrap":true},"1.29.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"fe1cf75971a521ea5d3c6b22852fe7d996714af0","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.29.1-3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-4DZj2ox8pDHJhe3WXd/orTmUZ5QvrvavuapgTlWBC4/lcjc9PCXpVsUNmS64mSQjLlHusfwTaS+dFqLJPqC4oQ==","shasum":"edaa0a8a4dd7bae86049bbb9b5f8d2a2a63c06aa","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1-3.tgz","fileCount":274,"unpackedSize":1476902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2GKmCRA9TVsSAnZWagAA3s8QAIcmx67SMGM4Nk09g28w\nmZsU9uLMn2KcD03eLXYoNISa4vqubXE47YvccsRKCwPFEYJ9Ro2/XJqIK9oy\n3uvebXnj0MklaU4+IkF3o5kdd78ZAhWU03aYEvH/K35n7QgJFA3I4pgSBoZU\n/Orf+zadazcVD51KJxIlpRVhX4LvFWU0Ig+2VL3HZ6LaYffDd9pm3VN7YwWJ\nErYmfgOe9pOSXc1L7P+K9iU4h7RfknU3+5kQzZVnMB7jqZICj2OvbJ73nTFd\niJGzwEiGJtOkuSPD97ypLiSM+Na2k9BTug3o27GUz+TIKnKrR2Hs2RQeh6eF\n+w3iOIh9cu37pjoir3E67Mw13MTuw3UAJGxF+94NaE9+HXtzntvTWQ0NPLQb\n/K6TZn6ljSmCHhmNeqyho2rHnldgpoE+gRqhdNeI9IZeRyxQBAgYGyu55K/r\n2DrnEEBSNsj0axbSy337clQUKaKYSKbndGQJesbj2/1REfhb1kdnSnlf2gPY\ncEHAhkyvKsvLwFKPF0uxAmYxHFQgGDJoZhXUNpXYfvz9zpGx919RTJXxvxn9\n8gM86pL17M7AZ3ksf8a0FEAHjK8iEtpkbNC2SQ5LS9zC8MDXi2FamLk4h1Ai\n9FFHY2Y4qtrSKJYNgu82eISo1LIqztAAPDvp2IGy0POMcXPN0wqdnTe+RGtC\n83JS\r\n=Ft0G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDb4d/hYbpZEspRxSD0OCMHEjTOkPC8zBgiYigVZNzLvwIgAUkxQ1ypiQH+1GbfGY55x5ZWGTgOi+EyDx5VkFudNvE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1-3_1574462117675_0.4704033328881525"},"_hasShrinkwrap":true},"1.29.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"049b7cec2317740f3cd8cb2c85bf1bae7af7d0a4","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.29.1-4","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-lGCbDlSzPaZfI2h9oZGk9G9UF4bdUlI8G2CgzOxej2ZhFpsCZImskBMI4AF9m+VdjuWaWe3lSTK6/kBrgjDHpg==","shasum":"0d8b105d3b847943330abc3bc82a919d14b2e697","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1-4.tgz","fileCount":274,"unpackedSize":1476986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2lmACRA9TVsSAnZWagAAtqIP/2eGXyiZBZjiCrHy7BIT\nsw1f+wcaDkiUW+meVRg84HK1uFLAMnx7CSnI33hiuraif4UMn4bwGWb973Yj\nlfHJKAojNx5BLCt4S+DEjTs3LmWb1/UE8/nxeaGKODyxre8Av0BG8YAhQD28\nXFSzeiUHYb2xM4gP2yURhTmhLm7u67lput3XGpGXsRNvyGaMiYMZK5lyQxLU\nYh96ugvJf/TyDUJ5ssE53WqkkXPgjspZ1FyxoK7CWo395UXDf0rAwQmD70z3\nq58Ymn+uUKPR5zrLcCEdDDHGyO0zU6gZvywMPDDOB5CIlR4SZ1CXxseCfEIp\nHsB/IewvEmSD91QiUyMyh+mvPp9oJIywx14FAPsgfXcpeQGgInvNWwQyVkZx\nlwzw+ZpHmbvenJ6MWiaBIBjLIwwcnnjmUlug33o2IW52VhcqyKS0E2SNt4bn\n2yaYSma1UMUBPkBN4K91nKvSLrg+29n/e9lciUrYFg98hyGzdcRFstpTJdXS\ny4zTemYtyZ7q0VG7UjQMJOzAWP1+0IzRz+frVIvrBQBaysu0ubRSigBwsl1I\nqLhf4IN0bHS8XNiwgb3lmyXwZcuoyLRhOYliSQY08l2FZULBjLIhlw+vZpXg\nobsbbu3SHlxebemUCgB/liVoiMn1+DOCoR/TSaNU6KH3GBjUPtgsBnQqA3tf\ncWWC\r\n=MOdl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICor7VHsB56iWqLAw3RmfoV/vIEAFaFHQtx5tz6O7G4zAiEA+viaJukI0gbcJk6qoMBPaNwL3ZCxqny5JKfrXM4i6h4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1-4_1574590846765_0.32797670829496783"},"_hasShrinkwrap":true},"1.27.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.27.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d6ec53baac40f3398d83b7cc10d79b0750c29499","_id":"sfpowerkit@1.27.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Pc90/K45nBnDiYMyyihn5Lc6mNKUy6MH08WB14KWhbV4e8nyg9MoPNnVr+HlGMJ9OBUPUZDtCS0r3lLdo8KHXg==","shasum":"6c6d9754400fd7412a7e3e14993eaed2df5c8778","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.27.1.tgz","fileCount":270,"unpackedSize":1451170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2lneCRA9TVsSAnZWagAASZIP/jcGNgokkRKsqnM2yyGF\nNwjiGdVPRxZt2X38VxKEhG3ACevciyDt5tQanJg2Ws59s8FUASC2lgsDyz0b\nRh8noFTUVen+UrnW8/qSfWbAP36MTNqtArETQ/0DeOnifK7Fd0cWLg/0Adkh\nCnnSoiaJSD3CAt8C+2HI27G/tccooLHZ9UWjeM58DdO6LizSplpn6gXJFUE0\nwrvlo7SEKcbsyWU65T1QdQ88ALUk9vzVT/xayrje5EgK/a8SD+eJjdxBY8rk\nP/2Wg0RZlF1+U4yWKrbd6H1G8cE1MMQ/9y+p8iYcbjEnOH4NE5AEijpeIN8F\nMFYn8XLf3/fkb/S3klOQWngy13o0gYnsqvIn0wqwMNKfC16shDDI0FVArkVx\n0zTnpXNNDRHUAAaSui8XWs0Lxw1jZ949NHw6mr9DJakkKx1XBGJIFqF1imuX\nLZTGLCo6e6rwIsbxbwXKpum+m2VA9u12/ElrnEnbRmZNX5A3IZ+A6ypGAXEt\nOr7VWVV0sUdZn2CoPWfSbZDP2AiU55jZa9H2TZkryej6lcxMd5yWF9f4+jM2\nGEkARKAdNWZXVOxE5YzoRNHjG395OYb14rdrDQZLjxHPWf2cabNnrrWihEOP\n4gZTfl7EDykJN4O4Q6YfiqYeUA/FO0jsdF4ar23pv9gyTSL/Q9Z4EKL+3D4w\nxqyl\r\n=q4Jm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHi4Nq2BmHbYQ4sdbVhZlBiMNp+zEaY1wmRoX/Hr8YniAiAnWwH917go//iE9/XsORY2XMNTzzpAssD6iewXJS54nw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.27.1_1574590942358_0.30558383331808403"},"_hasShrinkwrap":true},"1.29.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"400bb7ae67b8d177768ed4b1f4ccc065f195e87d","_id":"sfpowerkit@1.29.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Oi18Up0zE/vM4TxoKMQtAtK+J5J+NkCd0kyy7AzLwzFX6DldIWyrLC/Y/5/CW8ceeHDkJftPcVxstffb4uTerg==","shasum":"874ec2b589c15698a3d1a9e86ebfa811c8ebd5f9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1.tgz","fileCount":274,"unpackedSize":1476980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3gWkCRA9TVsSAnZWagAAAqMP/i9KtNlNJ6frE5HGBA0q\nCSBDDzMbZyHShIj7cuP501PF0AF6vzLEzP7RtnoUxAWRmrFxJdmKsW8T1itm\nd/AxwoCJJSpkPtrn7wsEe5xVb1J5T68EsyH4Vi73kfFpdkX9nfVUGt+Vulre\nxxa6UVhPwMBci6zQyUPvKKgn1j3hnpYF2qIM4M6YyvYFnwXUmXCwzdRuHJ/8\nV2sVTXZ/gMmvseqadiNHrOqKPKi1+KncaxsGEm4o5BrovHB3+nRp0VWdo8cq\nZYFZrnL4EarrUjvSDi4mZy2vk3NtQ43oe7A5O3pbSmv8DsAsFE5P2DmV2GdJ\nxyFdhF2HhdsNzqXxL7li0eC6L92A3KMN8CPQWgvNa1+ZDfzc0kwHS3E0vVeL\nM7G8S5R1q1o/GINhxn/7WedXEihcJDrLFRPb9V8KYNyX7AvGwON5qJEKstvY\ntpyiVU8M+Co+3oFn6XcIE6x38t2U/kpIao3l9Sg4Fisn48HLVzPH3zPg0oxn\nN6pyRLnMji/beX/9CynJZ7u8JqE1Jm0blDB0y4byvN0G2wjmEYeN/YpTdJag\nGygSjGPFPITYPmZsqMR0IpoTijRIrAVHe6PLCk4e6MV8P7+z4TdHCIKnfQzK\nkk7E4gWc5nwH9qIQhmInzba+wIssd7WsO7hNFXvU55PLkrcBPxzafIh+mZjc\nc0vU\r\n=sbbC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK5SUyEgq/7vckDoqkjmPs8wY+w6yyz78ioaJK5+dpwwIhAO9Cjj6YikH2hdJ8HSx3cl6SGrIHF1scsmCLyYjvPw9E"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1_1574831523562_0.9132285675516585"},"_hasShrinkwrap":true},"1.29.1-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.29.1-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"334eda3e7157a99a1e8558508fdcf48480cdad13","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.29.1-5","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-n6V9HD12e74ULy50D66fVTJsQYa+flDp2eSGEisMY/Vw/WsWtaTImzeE/PWQjks+cvgOq6mmEeXwmQoodx6RTQ==","shasum":"289d99fa59011c50490c561ac36dedaadce5ab37","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.29.1-5.tgz","fileCount":274,"unpackedSize":1476986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5aEsCRA9TVsSAnZWagAA4L4P/2VTFNkipSVwq4z/8Z4l\nYIugDIy7z64E/i8GitQQCHsHwKFr36KZzJy2KF7Lo9txABzTCsi3z+bsU6uE\ntrMNdDXTQyjOzKULIZ/CJOFIb0bK+MCsG0DgB5jMBxSISyQSRBcfaqBT1B3j\n43yyGKlG7i4+MFd0rnNYFYXAGQU0/MyhTjO/Elqoo4BB4d+CtULqMWqBkGLL\ns/rSjtTq5eKFOqSrKlqqeuddngxNWkHyQa+2r6B/y0mflHy2mRtNHfXc49Yw\nnLZ8JoQkYeXPNfjZYd6SIHjk7f4hHLra+S5kVbDuZkfZfdNgm3/hOwvs8bBl\nfXPW5rkSSfk5dCowNT6NDhqTg1NzpAugCfOHc0UAsIkt6Z1h0ZBAq+NYpHwg\nT5yrO2XEvfRSXoz8vdVGuCANS3oB3wRDpeBLMaKwZXF8L5xfIDLG8rFmyoOO\n5iwo3x4M2Ci0x8ZgR7yYkJeUutdWHFlv6LB02G2BpvsXVYdnNLt7sSYQX5K7\nngeZ9lE/janal2suGQyod0w7T5PxPI/Ot8KrFKEWp8JhnpKpp08x5Oo1lsCP\nb3CjJXauZr0EmIa2s/J4L9gYH7R0TrcvFJCzJvA+ERGc0mYORBq2tEvGrQGr\nI/sk0yrkXF37gxrqhpSHx9qzA97A2Ph2nt2Hd2lo/hbtXuHlsbux8wDByA1Z\nltjh\r\n=TlTB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJa+cI0yKaayRwdZpxICuUdxEaZsWjfeZswMLdzn6WgwIhAOnUDtXh/u5UPDigXyNo4IsxlTtOoIhZ7UFMVABvaAZw"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.29.1-5_1575330092369_0.7896456800772202"},"_hasShrinkwrap":true},"1.30.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.30.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0905ba5ace12557dba745010df934ae3b297e8be","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.30.1-0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ea0SNuldkhobljq+e8DrCm6oHkXx4qtii5ns9XgTJ/+A4yiSwG+mYrbJXqKcNN+XaI1UJ7qOiZf67sMHYZo5Eg==","shasum":"21cad85086a693a2925e40ace47acaf974b1d6ce","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.30.1-0.tgz","fileCount":274,"unpackedSize":1476986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5aGOCRA9TVsSAnZWagAA1d0P+gNZY4Jo2shyJsRC+XMP\n0jNG1wPb7Q3NYcAbdxL6NO67/UBJNw/3/AWm0Y4UYSaD4ml4VdIjY5qPfYku\nvoLGPF/sqQHCKvadP9E69XuJOlEiCRPQfBtYFMoQ3E3HvLH2tfrWrRHHmNQM\n4PlacvewE4xQVXdUgOYygCQi+WpwpVoUzChkozMN7Le1+eksOC5E1dxHm6M2\n3YY+vqROhhxBAykCeFz5tqEpVCT9K2hV+nod9ID2yWYXv8VzgQ4AvpAxFyjX\nolCGW32UXdEB/4Vf2D8Yd1E3zinmPpkvAijLnw7cdA3LzlcQE3erGkn5kGMd\nFZoqjvXoFKQgkSsahf6fehYsE3YU6FBHXM5b7YXzKJ6oJ/w/MRm91hjBn9QL\nrJZD1yDYCtcXjQdHe26yf1iOTJSVPIPxriceLs7GcAfJ5oIdo6sVuYlTAlvm\nOp7ZbdlYDs1binRuKgMwDVUg3Yx4eA4F/VcsrXgBLO9ySYqTeOY/Rp1l8jjE\nHhw90jNGe7i5ECzd1bPiLOiQgNVW2Oo8OL53vrw6BgqjrEpav5JB64AtPp8h\nz7EBq8UeG1xiSaOtLL/mVDH2sBUPbmPYzi10mttGvjr5GJQScKT36ZC+vWsa\nvMLzl/xec4k+3wuePJ8oztFPTF7IDlmJMIt2uFyjzpHnXb8GRmieuiC7UvIX\n660f\r\n=B14D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMWaXRuzRr25mdeyh1ikbfczPseSulEJ8FFJvd2shmsAiB7mxyE62ehKgHgIvrP+mUKa5iKmtv/z3H5XBa3e8eLqQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.30.1-0_1575330190195_0.4377328946284156"},"_hasShrinkwrap":true},"1.30.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.30.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"136ee2f3d09cc59ef5529ccf5ededd59e8e32ac2","_id":"sfpowerkit@1.30.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-R7NEHUiFTowgzkctFGIqdtegN71UqhF/LNiOfeEO3+NA778YGmpYOH+n/MA0NVRp7hqtWABvpeNu6zOAp3ckXw==","shasum":"336ef1ab42cea50c38139acd6295419f11498b2a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.30.1.tgz","fileCount":274,"unpackedSize":1476980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5uRkCRA9TVsSAnZWagAAIiYP/RpHv5F29OG0/rZd7lKH\nl753kQ09B7u233ByDkMML0+CS4/vmlHP8jWLwNj0+pDOAhlJkplxc1xALrPj\nNQL5mQSruVPvwrl4+m9HszCapQ06bZN8BlCfinovQhQAhcAcmRFL8MScmOXf\nAAUkdYFHoZqXHDPQi3rsCT15CCjh1sT9U9TjVYCoqbcGOinrBNvjYBs9A9Zp\n5VIno6GmH62YfiznxJyG2yC3ohQjvH9Nn8rd1CZ/XDx3wZdHPe47mazj4mDd\nCxLi9sbsBtaqNmJTiXV6kRl3C7kZsd6hU3edvpAUeawFnraUhZNYh9xlwAWw\naI42b4ev0wpExh407QtqpThGpJhPi8+NkKOzaR+vKs/vHVWZXe8h1tvNjjh2\nysYAPhUGofTloxuYOpPNvnjnxBO7IZd9DVWkkZ6Ot2rtVZ7Bn2vs3xZdvSWO\nhIFzenArZIoz/hIClOM3PHJWOUPDw6QoP4913+ekGFtATqcIJj6UPe1ZekIc\nKPIgoSI2ya81TUXvMXCaKaOeuUZsJJcBoHzvlr1U0rAg+xq5yOiaq0JhDMXJ\nPJRtKsiHYE/Dpiur1xsnsbn1YyqYcn61poH9oB+JXaPD+Y0zu2OP/ehVyhW1\ngJzI9j3YrcUJ2hEEJdbv0Aoe0eaCBJ9Pn3s65rySDg6QzYip+LuE9mTXxMAc\nPRc3\r\n=M8Ch\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEa7z5pY6NknuHji/+00z0cuZQlkjj0nokNkG1NkgzxvAiAZxp9i1gdxCZrf1EC2xn5F+SPmL7I5Af3tv3lnVxH4Jg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.30.1_1575412835546_0.8186814245583436"},"_hasShrinkwrap":true},"1.30.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.30.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b5dbbf55c922b65270283e218a0486eb62f0b432","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.30.1-1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-HhGhKj9Acmes6FHlnm7tihxJ7fvqfABJamHrwrqIYQPPZeaxcxvBK2qiQZYNGWaWiC8TOxQSmx22P2lqmRvSPA==","shasum":"e866e5da93c48fa488cc8a14cdef22efeb69b298","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.30.1-1.tgz","fileCount":281,"unpackedSize":1498867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7O1fCRA9TVsSAnZWagAAuksP/0ee7LFJPjz6bWh3c8ye\nEGOkUkL3RDpFnH/zCW07xSpRIXTSTTEiwVpWWimCeoJDF7bFIxPFkQwfQjej\n6lJxEUd+9MJR4kcwHqzklABpm0qD2WnwxiGERfb6ADvddT514DQzvaG/laqn\nsoZqkXviUVgUzm3LwAkQOef+rYrdEV0ofELZTuGztYpOJHViSo5wOEhcZyb3\nQX9+myVvn3+VdTu7ZoRbIUXrOo9El17O0ITmalw8PI+LTwd8l2VYgYhPYpdO\nVMe+2ij91HEyNVjeuR3ddsw1qFbGJhq4oEzMfK2mXaoDTzlwAi4Cbc4sxbv0\nh/WjiOq7md9/OcsuB8/UrvI41YpK9BdShPRsmKttG/xtQwJbp9FSSh1g7rZD\npFG2gZA6y7QS/JKHMUsyQloQHHNH17fVYaqFSIlQRMF9ezdtdYZwGNRNqmGu\nI7ij1R7RaOlAXEXzF3dr8Nqr3tydtrr3f4CdIgyVtGWRE8HOOgKAkohJesjT\nIRSH8PPsSVoAes1gOn/s1HvaWZQMjLuQZqgB8agEWDigbLXd829ZAsnyj9Hy\nent5+wZPXQm2r+VLAZCKXPJf/T73zlpeI8IFu10mhyNfZcTl8RVnyfPYtMEs\nOT9o5Qs8x+Lfl/vpsXZaH6Kqv9Tnq1O/8h17z3nbHKtY34EB5VHet3JbR4gv\nl0nd\r\n=K5uf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAb3cYz5Jdd0yxYVNyo6McteQqzDw8sWKBvxsnbigEZUAiEA/AokoaBMLVNkGlLXqKcjQC9+4EQYopiIBdiC6+O8hI8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.30.1-1_1575808351226_0.5876531852309608"},"_hasShrinkwrap":true},"1.31.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.31.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1252a256d55f74094f3c5f5ec9101efc8d472487","_id":"sfpowerkit@1.31.1","_nodeVersion":"12.13.1","_npmVersion":"6.13.1","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-1t1UV0Zt20ZKxMZlvU7OD2u8xOl9JRFoTXJFt/BHO3U78PfmHrzVAC22aHIxzy26pKllI4MBzAS2qmk1/vE9dg==","shasum":"72c6c76d055227419613879c630e33cdecf6617d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.31.1.tgz","fileCount":281,"unpackedSize":1498861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8CRACRA9TVsSAnZWagAAtIIP/0NCSv0GvhYUfcBMD8Ow\nJ72KsqK2rO+FF1ha7Ewo20Z5ZqHnVv7H62yRH/HPEeQSlLX0rbmUOIdimAqI\nJI6ABLM5YAk/X8O/ERBVUzpUvrZDWbBNF0TiQN+XnOFo3mfBabetLYv8kzbE\n7SEA2KAtRknFb5v14Nrq6Fw4eJ3z7bZmLKllteLnUTkjUIDuvz/2Ois+wQ6r\nuvJyWui6cuu8/1JYoZiVVqwUbVmz2fxsomFDVR5MMNooGDokW2xxT6KqArki\nkqfTXgAweX0S2y1zADvWDJs2pcw7TwV6D0IkNuWaOhPybPE2XSgHJ5y0ZSty\nhjgHpAi1DiK9cWIVtxBQ9DcY9lRbs8ySmIE1k2zhltTN4OXObKwiHjBYHWbl\nlB1t9MR7JhyxjTQqpRhLsL4Z/RcaBf7BszLxTWA0cKw0mC7oPZFN9aruFXGm\nyXOa6E3RimiCnmSLpx5R57kpENqKBReSW053KDApWEGhEm8vE2JOkbhxwq+K\nNkIMO1iuWi7qEaIey5GSOeKnFwQNU2Wqmqey8pTlVrvxdBX5Ki96NWbeuhcD\nqIHZwLLCQrGnLWMDkjp8M2Fgp2ra4M7dGJzh+fEbjxFseHHKPXPSH5Mc4AVo\n4lB7fVtbvBNIKDf+tScWqmNj3dh6DPhvJsekybcaalCdMvgPaomKmMko2qEZ\nOj8y\r\n=HYJJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmw0yCgqu8y0PY/U1yxU/hifA+HNMbFZh/Mxp5bj8n2gIhALH+nrviSBZLU2X3Cbj9g5vAxNaJKeGWik8cGI3niFo7"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.31.1_1576019007261_0.709672129040342"},"_hasShrinkwrap":true},"1.31.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.31.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3b79a8bc248a704b91e14bf97235cb08e1f5b9a5","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.31.1-0","_nodeVersion":"12.13.1","_npmVersion":"6.13.1","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-Smb8q2WS6NDTVN8K1xRBxEPQnPl4kkPGcAolg3iucCf/FnQWVhMpcVrcGZs+PiG5eVO9qDsIYXHjJMIiwwetrQ==","shasum":"c1bc5b0eadc6f13d6555ba40c8dc30dd4dff9e1b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.31.1-0.tgz","fileCount":281,"unpackedSize":1498867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8CUgCRA9TVsSAnZWagAAaqgP/RT5l7x7co5BKOyQFF52\nDzHi7K1r7RBhXxHptumdRw1iSrkuzeDxmbWwg4no9hvn5vmi6R8qIQEx8u4Z\nD80avZVVbqwjLYRWoHQA3zfNTswK8oevIJUOBa3j8MPGq8kc5KmqlcUdW+tF\n7vUckQHQ4vtmIhyv9yp5kZsWpxkyqMIoKI7k7XEhfWw9yylyP9CXgX11Qn2e\nPxUMIZclD6NOkF1lmkUYrraNzzECC9JKAyQU87J9FZscIaKZ7/u3aCjibRy0\n9iHZz0N+AgfKVv4qPM4whbv2uITIpZuFHsEjzYshbAMrGMQ1WJgU8Ywwdz7e\nypkUWmLoFcJ7UTJTjiw8DRW6gdEotyECsi0NwHya3HvpyIjOLvenQpg8CRES\n0VOgmsUQjJpCS4KiFBCq4uTj2J4reDwKXOdjQW03SOTCsTbsdtPlNn3Op7nI\n51eYUU3sRZzenwt2zoFI/+HBGVicC/cWvnYHKWQvZly8JzW4dKkuTdwyOQL6\n/WIr8Q2q+G7gKuECMKrVlM8KprUGJE91KVzyoyV6fBFsBfMFRLHYOSZ4LntT\ncex5wuDBIigdNiYfAYtxheC0vrokexkH21NE5aygqNQcCHMo/BPhDf8mqbQg\n8wRrgA/bEJtm9doo6X15Rb1dr6CRrjd7/ATfolzWO1s0gICnn0SehUx7AxOY\nV+tw\r\n=sRp6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXnslw6nRb7e1qUOCZg0/nAIvyQVW5iShzubO5ip7rhAiEAwojU8hmQL93nE/gUdU/AUtECi3OagAWcGklLUM8LMWw="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.31.1-0_1576019232431_0.6045492163496982"},"_hasShrinkwrap":true},"1.31.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.31.3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/fs-extra":"^8.0.1","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"6c4da7b828dbc2797bedadbc8fdcf10c1a58c174","_id":"sfpowerkit@1.31.3","_nodeVersion":"12.13.1","_npmVersion":"6.13.1","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-f/fwe4fLYDdTEm2xKc7d+f4DYm2pelmzqaYCBhIJqNZgwdbF0EBZItQkk7YwHYIN6WOQxxFOiE8f1TWIXUrpJQ==","shasum":"29987d351750137c3f7d7ec27b032ff18a6cfb5f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.31.3.tgz","fileCount":284,"unpackedSize":1502507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8Z/zCRA9TVsSAnZWagAAuLQQAJ64EJuuSRpMFkmXEdtw\n6USsxEE+dZ0k97AkFakp9wgl2W+EsHCV96394VzOV6851pEoTfEZd/+flIHL\n0kWWZq8Uag4te/cLjNvIZT+ygVzHe+oin+fQqYHT+QvJABPB+AyHhP97aaxS\nCw04NL5QyjJakfa1lDzAFnaMHe+e+0Fv7ITmsE36TDQV29EzlEOQJ/nxhP/J\n1DGV1vSd3LyPG9PGV9lv8AVC9VqYfG02Nh1ijea+SrgWdQU91mIVAmAvh7w7\nBv83nJv2+PIpuibvYRL4htXEJ+RuLQKOz2KNixgZuUO84PiOajlDHFdpHrXH\nGGeJrjGlTbjnNY7vBon46OoQ/PQH5A/whKWsj5O6WRIb8jjpMjLSBLJ1VjYc\nISpn6TvdbAxrJBPj1jnn0ubuG2kDdfHGLf1pLc9R9gyd4E9fnxix5ihj9XkT\nGpNw/DgJUQC3f28FiENY3BVdRSiv1svEpYvMeoIl48Z9NQ5v6a7LG0RGb0tF\nkuctjvPFEhZlFYgh2mY6QZ2uGLXYazEtdzJOiEUf0rnF3DjOPc6sRq06ipKd\nSCpZ1OYs+1KzSFRyDVvhmkv8ZnJ2qjHE9OR3FZIo+SpELxfLDZlENNENqMyl\nRSdbOAnsyRg9RjIYpPAcU5gNw+ss034p9+Us2lXlsStNi1GT7zNSXwcHVGUl\ndX3x\r\n=e8Mo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNE3+QEJLCncOPpewN7X+Bp4MetqsEfifSz/xMZFpF4AiAkwjmLK6NTj+QRmUHvhq624UijQPcSpLAnXqNArr34YQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.31.3_1576116210822_0.1247530076547696"},"_hasShrinkwrap":true},"1.31.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.31.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.0","@salesforce/core":"^2.1.0","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.3.2","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.13.5","pino-pretty":"^3.2.2","request":"^2.88.0","request-promise-native":"^1.0.7","simple-git":"^1.126.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.22"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.1","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.3","@types/mocha":"^5","@types/node":"^12.7.12","@types/request-promise":"^4.1.44","chai":"^4","globby":"^10.0.1","husky":"^3.0.8","mocha":"^6.2.1","nyc":"^14.1.1","prettier":"1.18.2","pretty-quick":"^2.0.0","rimraf":"^3.0.0","sinon":"^7.5.0","ts-node":"^8.4.1","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4a1f4d21cfc11ad567c9007d620ef3fe2a8cd6dd","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.31.1-1","_nodeVersion":"12.13.1","_npmVersion":"6.13.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-fAWnT4aTtPVxLl3UWd0ZFG4wydz3dz7euENk4ybGhREouI5Mrx8ZcCPxJ6fs8ohEE9WjsHYl3onuKozD2/lEMQ==","shasum":"bfaab2b95aa3f30d3c998dd02723c507f209461a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.31.1-1.tgz","fileCount":281,"unpackedSize":1501617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFDiuCRA9TVsSAnZWagAAPQwP/jChUesPW7HmdtkcvpNg\nOAMSbvhNMFGIvhMUMI2z326DDqo82XhTCP2BKxX/nabFZn9Kf/TkFeo5IdmW\n4Zi2vQWTZxk53kqL4+83FhwUoLsj8XpQ2ZHshy/KtEpHt9Gu1axiwKRYV5kG\nYJPKr/QRHicRmTGMA+c0y3/92C5qPOcVNDJC4wVkFn/i7uQw+EvwSLae5oyU\ncL1EE8iQo77To7nUAlmXMaEUbKLJWuJuMW5NXmaNReZZPAjB4LO7BS5fBrZm\nV02O4PvTK1cWmaZss6dzqV8NGWXMgtFQa2qULJ2oMuz8fReihFv18AyZdh4o\nLmSvUgcRoXcQSgSeXaBn/9UWhRQl+08pIIYVbBp/pKB2nvTBRUkxLAvpcV1O\nseCfPaeyZ7hdkOhxXXtK9SbcsMAyx5N3klrPY6p9UB/7avpp2Kxda2x76CmY\nd6MJuDKL0MhbNv+fa+1B2zQOWF1Xp7X9Ld5btlwnQ6C77179+RU8ugCOGCM/\nB8Fh2s312j6axOjzHCUwYrhcWAN7OkO47GVq7nHdRVpiTconXT3ZN4z3Ws1H\nYDaZl7bN0OHP8HRlkzEc71v2dDuamOeD+Y/m1rFkmgPUDLHxPrsPxx3uLaA0\nb3r+N++kONoKejp/gKnQzdOMUHU5N15ySrN+o//zIJ+/7FOoUYWwnGDKIUkP\nbu2K\r\n=P5LK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjotoCRTWzfqjnnxCXRr9P5NR1Jd2nB0K9x37JQxknrQIgDqheFIr794a4C2NaWKxdfFP9O0f15iXtnWDlXk3A5sM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.31.1-1_1578383533526_0.8144394638851746"},"_hasShrinkwrap":true},"1.36.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","find-java-home":"^1.1.0","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"afeb66e62d280ef37a986d4182c4dd8a75310f53","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-0","_nodeVersion":"12.13.1","_npmVersion":"6.13.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-qRzVjQOb0squWm3rGfqMyId8tcMxCkodn9NE0YRUZDlLARb3ZAx1X959otz37hzJDIgTIfIkdtn/egkUWY4zpg==","shasum":"c59cbbc34a97690f06f785390fe12d03156ef37b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-0.tgz","fileCount":281,"unpackedSize":1478898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFmY9CRA9TVsSAnZWagAAxTYP/2liz+r+kd9ePOstU3WO\nhaQWVDxadldz7Tqs2pryZA0WQB5AhTWq1EEya0K25+EL9r3UOkAqf2LSCxno\nPfU38Z/XUWmQ+0fEBAtMjEf791jb6PpKBelmVpUKfdtQTr7o2jAmCorCIYm+\nBvXnbWLiI6WWK26Ov9O6DOFhxJzd+uanVb54J5ZfhxM6zhUj2shOo+CBiPFm\nwa5Ygl6X7ljuWV5tFvw6mlOEa4UGMV/pi/QMLPv0p4mu9IP1r/Ukdm4jvD9A\nn194/Cp6Pj3uMLGbJ9+bzNV6lm4+flJgN84QTRiwYx+rIAVfBv8qqpTfKX6x\noLciMjUAR6SOJks7p/2JNqokwwLpuhLQCoUy3KmzseaxmzipMFlyTCQ4+O7X\nSFc4uuU+5BAulqwe62KX+n2tO8v+TitrjkHQjm7sjjWeD5OIFE1e7oKv2OHm\nI3aWMaA1YDfziMkLCMgo7F/98icDEhb/CA7qEA26Z988Oj1r55bARcl0d8VV\nfNg9ai2IDLV1XdHNRFdkcyRW7nRBIH5SJQ/xHeYORJIuDmS9PGXtx1ZLWaWQ\npFvLJE0of7WcqklRsAmzVJ8pknWpBEzd9N99A60/l1jBDUPo0aX/ClpvKsCJ\na4zd81zf+DxR39kcZZI4j4FLDz/GG7TDuzsLA782TmJGKEbrsbwyuCHyHIDu\nRqw4\r\n=1JPL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFFutYU+VTORDM3A4TbOpOUo6E92XF5HzinvZdZeHwtLAiB6Dhmdt6C5ccPgYQ0o2ouNUsY2Pe4v8FhDtuMqK8wZbA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-0_1578526268675_0.6365548803280785"},"_hasShrinkwrap":true},"1.36.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"11c782ac3447db50a949fbd117b95cb950e20de9","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n```\n\n## `sfpowerkit:project:orgdiff`\n\nCompare source files again 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.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-52X+S9y0AJ7QOiXJ1J4jbdyqqQFU3sbCMTwzOnAA8gTiS4a8MgdtTtf4TRoH9QNLwlGyOuph6y7/zhWAdk5cJQ==","shasum":"279d00722d61b270f936bb02977ded64cc74ad81","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-1.tgz","fileCount":288,"unpackedSize":1536759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJXQhCRA9TVsSAnZWagAA1gkP/129BZVSBClfEg2rELcR\nJzIxGbatDW2Jh7YKLAu2ZaF1doM97aNKBC4nqaD18QQyBK+uBA8WtEphYz0l\nrRHuJV92hvx9gcBowYFPKBjGBUp2LUounR71UOZY4tBDMvZNGW1lAueb5aDw\nExfCX6TEwY9+Sjs6t4p0Xub4RD5VwA+fiDnCSykIQgd5y7/kUms/iGcC6sG4\njKNwnln8/SwP+9q8MYJX31XBWw0Q7oW95UkoLm7AhtBMdf9zyw9MRRYsoXxd\nSqIHSqxwTi2335kxw27AxsQN11NCgQN+6fIQu/fmuu9wCxCTqMfxdfP/FINr\nI9bC7f3FfLSlAKplN5OicRQXxbSt5VIyX+5Pjdicqs61JkL43UVGt0Cxg4/v\nptpq9wWSoO/sn5tQrJRRhTWyxmH03S31WbC1j6FvQRLu0+UhpafxiJbpaDCf\ncb6KIkDX0pGFEnl0QwkrxXqEmFrTtznb9PJ5v8RpVE9h8ZE3mGwTd+SBw0g5\noowSzAvbB9bKLsSSO5KJGDhs8MZH+zzy4I+q+j37ERDnP9tPh+dRjxxELDsU\nGl76tgaZPNarPVwSei3CA5VMftzsvUopM+7CH+Wzp7w6/QOZEVQ6YaQpHn6a\nVBEaVg6yy0xLTieOPJQoBM2M7MBOTHWjCnSmRzWCp2dkgz8ygZgBSO+K8xyd\nXW2U\r\n=fcKQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwrAz7YlLynE7g32XFZv22iOHfkrv2NusTXIT7MObqfAIgfOHOP2uG4JBmtHiThNxLOE8cWTv48eFbIYOOpP1NAEY="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-1_1579512864568_0.9307982518145064"},"_hasShrinkwrap":true},"1.36.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"feedcca37704eb0aa7a3c25814f3f785865247dc","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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: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 <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n```\n\n## `sfpowerkit:project:orgdiff`\n\nCompare source files again 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.\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-2","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-uRV6VqGNN7xD5ta1M9Fu9Hels+cCdezEVKmPS7LUQNCUh0wzYLxRg5LkBozgDuMYxBcT33KDPPvYvGPXoNMsJA==","shasum":"edef0a4590da77974836fb05b5c719a98a25575b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-2.tgz","fileCount":288,"unpackedSize":1538025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJXVfCRA9TVsSAnZWagAAkqsQAI+Itg9Lt4pEx+114WIu\nY+gDZG26vXqppYMGEQveeux+Kb0sa0UWj1odXIMmld4j39v/swT2qM7xwq1Q\nPJwhJk6N7RrtCWhwCS0FGPMAHjTtukDnSiu8eRJcFr5dhxcndTms959eRJKG\n75fVs2g5mQ4TJ/3R/FNTkUAa+aZZ5g9EnB7/iwMzBKR0Dt4A8C2GzD1MDAnD\nttvfREdxamxefFTP+bL2LZ27NO52ye0QhpvHhNyojCSBF86KRrizzOvih4RD\nYGI2Fo61mORjz3nEHTxOLOLEfLR/EOom6hvUm/WEb3AEkVW9QVFWQdY9PSNi\nLP1nPsovlOvyAMTNAINU1zrjRconZOPUUGUcuM1F+It6nGY8S0kb5BrLCjYm\nPnU1up29rJz36fqfZrwXuOSyyFgknsEDHVzhleBn7N4SRiPxpw5M4/7Pzj1j\n/y/NtJM8ACsKOEpEfl3jm1uMfv8un62WX7hC3bwFXpyN8Ujban9KbBxtTJul\nkD8Yh7E/RrcS6ivkgOXgj7iE0RJkn3uNPHaocKC4gF8gFsgkSOR5VmtDf7z8\nQ5BiYTHo31c0BPqxXTRUY2TMfr4PsLuQn6lrwNp6NRqPrbl/lRQL/7DW3zbQ\nnumht/FoQrG64doYikRE2BnaE5VB4/8nLOcmKz2BcJZ8qn/0Kr3PSc0xW82g\nRHr3\r\n=fc2h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpNQeoY4d/RFjyYqCmF41b9+VSmPNLah2eEH73Yx0bnAIhAKJzhGlucaGyYzT5Jc5QzEwdKvmQ32tppE6Rw3Lx97KJ"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-2_1579513182579_0.787138207261054"},"_hasShrinkwrap":true},"1.36.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c9a98ed0232b7fbb284b0971769c2c0395313961","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n```\n\n## `sfpowerkit:project:orgdiff [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-3","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-BlXG2HMUqeJoiyMXbUML0HZDY3MzJ2cfulWYTAUmoPjGcTvnGFNFN+WWbzKfpBpcQ6LyoFFq77yEo3s1hPBoMA==","shasum":"78024571abb05b8fa5d3ee49c9fdc0b7e7898fa3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-3.tgz","fileCount":288,"unpackedSize":1538241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJXXECRA9TVsSAnZWagAAj/sP/227g7TB5vOdPAtSIY5n\ne3ggGri7czzgbKtCG5LpCOUZSvrLayBJcJXi3J9x11fyW/1NljLyVDxmcKmm\ntzjlrOD8k/UlzqzsHieda3C7eaPcjJ4NO18+Xj5URghut7x240UIMoIkRS2m\n7sK+LwA/oqQtzCz0rkU83rV2co1woq1FLv0BV3Khjy+/odBtDvJOKvtKjNju\nrzwB4VpYjBinfAonOC8E0/lpfBEGAh/zTGp8afcg3iLLZCU0jzwPBP44jcVv\n4QXwX4d9+pUBXEsZLxYKseIrrqfWxwWNnGmYNKZc27pCTLrMTdYgKUp2qBjs\nzsb9POWukSQ9CsLLzN4zQ+NThWzAXZ4iAQkUilsZXjN0UNZasAT84Y38OhL3\nJ2+vb321N8PKszKzNmbiznBn40nTrPTt52X0RYvAnIYsrsEyx4mKWjJEaEK/\nB/ROZg4vtBisQlbfygdxcT7iHocu5QgiRv0ISyZMwaMOvZcT74dyVBinA/NN\n7HvAz3cgznRi1uK92n7/XZekr4Ml2ofqx3vXDwe/fc0IGWhaB2rDCGORvXFr\nhwe8qJrTtvWTiWtNplWpuIiO8c/lIzlIKIzk2uZW179osVTEpCC0wgDk/x0/\nHPQAvVWRt4pfuHo0ueaH0yCNWv+jVi9l7XQgqvOl0GpEANNmXRnG0rAqsq3y\noB+/\r\n=eeZw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJhbPADxd3fRGBg17JBCsCBLcuFlFGnJPrBjPh6P6BMAIhAIQQ8//QwB68DD8YCZEc941ejhzBTyvBNZgt8orXeFKF"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-3_1579513284129_0.947518508621014"},"_hasShrinkwrap":true},"1.36.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ddaba2daf81eca385b7e72b81876bd8447ef3dcf","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff  -d <string> [-f <string>] [  -e <string> ] [  -r <string> ] [  -t <string> ] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -d, --output=output                             (required) The output dir where the incremental project will be created\n  -f, --difffile=difffile                         The diff file from which the incremental project should be generated [git diff --raw]. Its an optional parameter, you can skip this parameter and set the revisionfrom and  revisionto parameter instead\n  -e, --encoding=encoding                         [default:utf8] Diff file encoding\n  -r, --revisionfrom=revisionfrom                 Base revision from where diff is to be generated, required if diff file is ommited\n  -t, --revisionto=revisionto                     [default:HEAD]Target revision to generate the diff\n  -x, --generatedestructive                       If set, the command will also generate a destructiveChange.xml file in the output folder.\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:project:diff --revisionfrom revisionfrom --revisionto revisionto --output OutputFolder\n```\n\n## `sfpowerkit:project:orgdiff [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-4","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-GDr7Yk2AVaY5Ir1hPDRLhtq4QcAIdjpJs8pRgbxwuG56gI1NDEM8KEBLhvZe80A36ITXmjLo+QEyiQeaNiADhw==","shasum":"37fef9cfe1ae15f8424f60eaaba47e2a4994e04b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-4.tgz","fileCount":288,"unpackedSize":1539522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJ7OMCRA9TVsSAnZWagAARTAP/2jxgOiU78/iWuFobZTa\nKQEY5pIsGVIWLELC91BxSBV9y9mFBtSkcEgJFbOt0Guo/TjtWvybkjSy6P9q\nXlxeAywllPtSycPp2t1kzWpJGW9bH07zfCsd1CDlDVzPDLIVH9MOiwctQd1X\nsc55DF8EA+bkpo2dys2oTqReyAgqFmNEzQbw//6PcCz1PgTbdK2uBUpRs/Oh\n+H3MlMXFLQNAWD+JxMM45JlFk641jm7++G9Sejk3Yw0c6x5cuIy0no2qX+HJ\nVQfqUHMun91N3qK6eNy0qnBBcJqjOT5TOD5WV2VI+HysTtjTv0e3JhOfqS3j\nfqDn0416RwkHdQdNTBRCQ4CT1k3U03WyrtnDX4MkA+xzHNi/9jKhTV2HMxyH\nTPWIJYXj5q/gYOyOMyaVAVYUEbb0EZd+uofazJxqFk1SoDOuwstw1Yjlt/FE\nKcHbPIDgLieoVuO2fZDSLUhIj78biRXPRRfIHCLprwsWFcvcACuvfTa+7gpS\npGJ4C8z/sueB3tKR/J4j7rlq5MvKSLwma6PPyCKYkClsXE49IW2IuaMDscuR\nZnolyN/rTOUnWeRdjfSeSY7tYYj0r2t0W3ve4RcMWfB8G0hahR0mMJwhgbSm\nGupzRq9riTguUgL7C2s9WMi1M3tyFR4rlcG5bKhscWtSc/8f2L+DatpNvXoK\nW46M\r\n=aU61\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+lEMkVYtejYSagrOxh/SzoYzGIAZv96EEyZUbl8xQqwIhAJeDoJvTJyOsseTMz/fSr4BJ6jDKX5PnAECzfFpj59RZ"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-4_1579660171574_0.9974534749267936"},"_hasShrinkwrap":true},"1.36.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e893a66d2c57ab81b1a8319566845e151b999816","_id":"sfpowerkit@1.36.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-dd+QyzOweXWirSNgfj4CrRW70RsLQYQ84csUPk2bD1iGJofrivCMTc9WLA53kaTF4zHTCDSqJyAQwcc7pVhhFw==","shasum":"989ea9785def325a9f5e8dd568e4382cc09d78a3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1.tgz","fileCount":291,"unpackedSize":1542876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJ76pCRA9TVsSAnZWagAAvSkP/0Xehror9X6istigiTvk\nKfohDYTZbvonfA6hdxIU7b526v/euGtST2I0nXr6PvAIaCHQShDUZi2uIf7n\nP6e509TPiK8+N5vLagiRU/UpXI9QgL6RChZ/gKqXzXkSA0yRPWIAhtwu5fN9\nFCJvi058PiFFl1dzSog84eXmSOObzHqA0SJ+9rx/EbAWrRF7T7ycpCyQms+9\nm3lsHSuASJXllc9m2SJtC9hCkc+J5uEu9hXK5FZLEcohxauAFK+lftOesk40\nqL7Hy9960Bwj6+8G6sze40+Q2agGqvi+HY8m+3QGHo/6xrasnV1fw6b+7SPs\nO65Rldr5Wru+5SmgqpjH/9Qu59iOTWGEvHQ2i3rHhf/OrzCAh5NxcBGXSRsx\n/liWq0GD5D74kvehbjyGfecXTFrwymy0RHbsv69jb5MyeebhUhYUak9D+33j\nNgklL8I1AjCW1cGRp9c7wcve9QsA/NVpZKTmBW6CKeRSDJ/01OzgSDyTEXmN\nUMCsmFg+RqjCrA1G8pyOWdKv1Ir9rXoHIuZ+5xToPB3jPHSt4hvl9wjdeagk\nTDfc8h0lFsP9BOSAJw/NzR3XrTqLyEJqUyD1+o6z8v0ccXjHVMv1RLk6uNZy\nLl8c2epdyOZl26yYkig+JGkp7zAsfmfjBUcePVeWxLK5bWFntu0HJIJSeElL\nzgMC\r\n=a6Y3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG49STnghhuaHPrgk8XTH9kAUltYYkjhW4RSRZrKZnYEAiAWhcv7oqYhn+T12J0kzRDulLMLNzDQzsn7rCBme8YkKg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1_1579663016915_0.5807191654699049"},"_hasShrinkwrap":true},"1.36.1-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"29936de355af28ce892934e5a5062607006a330d","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-f <string>] [-e <string>] [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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  -e, --encoding=encoding                                                           Encoding of the file default to utf8\n\n  -f, --difffile=difffile                                                           The diff file from which the incremental project should be generated [git diff --raw].\n                                                                                    Its an optional parameter, you can skip this parameter and set the revisionfrom and\n                                                                                    revisionto parameter instead\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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-5","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-XiFFWPL2IUod116vXx85IuQMmPTFEA9QhguLWxSqAvWZLNhl7OYFKyOMSzEolnb74WpKsvmJlls539izg3doMw==","shasum":"b073fda02423ab0b3d3b5890e9a4080847da751a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-5.tgz","fileCount":291,"unpackedSize":1549977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMkGFCRA9TVsSAnZWagAA/4UP/2wFhCh13Obxm4Tzdk87\n0mGmcdLS6Rra9BasFH2K9TRtwaDNXooq6xZdzWybcNB7RBv+VbkiMjN1kWjK\nN0YbO9X5qciKXE25GeRucTftDsFruVL3iyblwbBxfQCjl5ZMYxNOVe09a02R\n7NDnUur+WnJKYrniwq2ZEaNZmMVqG+YAMbpVvwnjZhKKoLrwFfd1bFy8nP3c\ns1+CDY9Zj3h6jrcePcmTtnZ7Up5LAKx7fS2FhvJuQuLZFWMnN9+Q9MULXv1t\nnVNXZsdlKcFXXXmHg67YMk6MUOc8yHdmY80PB5OTdUkTU+C2qdJi0C1IGNAa\nb4TJBYV+CVSXsdlBOvmEWubIRyhGTg/B7jeujmZ/UQoXZDKksoS4mEEoOuMG\nsAByHUWY0IJ18CTpSu7WsTAZ+vdBLWDKpK/Gw0iWj7sIZEhm19ZLDG5yhHZe\nvQ+KoCsTZUZ6hSSGWnskI0RM9JyXvNdby7Pl1b4eDUCJoM0blyfIqUVr/pZt\n9Nqo3edTJmEd5J040gcoVetq+t9F8rOW646AExAD1284d8vBRa19odZG330b\nOxdspPTorHc3k+0WTmI77VrvguQoKxRbP2qC076S5P5y11uzkJ5fSUKzLunK\neH9Mz40VM2oXzFPW2acSz1RLkzHbUSJffV0ZrYAYIS4LytLN16qv7HK3/5MC\ne4tO\r\n=ZE0l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDlhzUc0zWLU/xHWSCQYmZ9lcEl/O6KYnFLHr5+agAxQIhAOA1M0c/uY74d8a82ecmtF+IOC18fGZo8+0P0yodrTaT"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-5_1580351875635_0.5756477230599453"},"_hasShrinkwrap":true},"1.36.1-6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-6","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0d9414e994e74ccb3db14a70d14db50c4d4edddb","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-f <string>] [-e <string>] [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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  -e, --encoding=encoding                                                           Encoding of the file default to utf8\n\n  -f, --difffile=difffile                                                           The diff file from which the incremental project should be generated [git diff --raw].\n                                                                                    Its an optional parameter, you can skip this parameter and set the revisionfrom and\n                                                                                    revisionto parameter instead\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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-6","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-nMijmJAC+NtLpGKge6HIR8LwMJYrAPTj6370m5bjOAtVkKc1KpFpjW0gYXCeGyS0DHJkVmoYvgUakdjoNeeprQ==","shasum":"6671733da830b26e4f6ee7c4d58c8ef1689efd54","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-6.tgz","fileCount":291,"unpackedSize":1570493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeM9mGCRA9TVsSAnZWagAAVjYP/R9Z/v3ExZtp+hpN7E1H\nfzwc+6FqSKq3mBb5mhiO4HTI4lIOKSIXmArsjrEV+s5RiCrQFLRFk17urHo1\n9kbtCuvfKIjHAYwnhimC/Vx97N2pdRDTiWvmlaGMBUtarBeT7mQNRLzfN4bA\nLODKwfzRONy6dEcgbMoqF8sraqQDofuTb2Yde+SkG1jIhrFcPyu8YMZb3s8A\nuAmw/uonqe/s3vYAtOwURk7P53yYZde/QB/U/pt56q2cmy6H9rPkmi8hzs6h\nOf27RQ8zMt5Mq5ZEk8dG5Ep+OhKAOFfSHRB1Yj7qXlH8hW1g2hRpFkZsoy+o\nIrguoGXTYeQGNWUxw4P1qOmMlds2WPNUXJ+7red0NZLKKq14h3yD9pRbTfug\n4o8zqkcc0SvNBkQ6xO1R6eL5I7FpTLQAz9x/lmoej3FnyQ7iEz2Gk5MGpsYb\nGp4QBUmlm4hoQhQiNMYGuiKT02+Vd7Px6qbjIrTKHvFDiMUGeibqMZrfHu0z\niFLEG35Hey7avM6VSGQv2AZVq2+pugps+xLuNs5V/rdoohUX2FkT6lszDRu/\nBWO0FX8I2TItYK/bLkiQRlJo0xX3uUnVLGPRtCLmYdInm2nZHJ3kc+6Q0DwN\nUlX4yU28o0ozc1Kut1b4DTsRGdHQY7MllZ3X6qwZH/vKRFLAbYM+N8QltazE\nAAqp\r\n=nL9d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVuXEwtv+2g0IiofnVf2e3xqXz6/pGK7WUHFIQIXqi6AIhAJyFbEn7m9b1Tx31DODe7O59SVALQvU9sowynYaK/QfS"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-6_1580456325899_0.48088526718451363"},"_hasShrinkwrap":true},"1.36.1-7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-7","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b85cabcf2488f3678b75220affcf7b87d5b8ec84","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-f <string>] [-e <string>] [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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  -e, --encoding=encoding                                                           Encoding of the file default to utf8\n\n  -f, --difffile=difffile                                                           The diff file from which the incremental project should be generated [git diff --raw].\n                                                                                    Its an optional parameter, you can skip this parameter and set the revisionfrom and\n                                                                                    revisionto parameter instead\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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-7","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-WSFxb2tNh/p0KR5ZxevaN5yUOHvDHWV/KLF7kZVHcXYnPk8PbkkB81ZOA1e6WngyjV5Yx4TnJdX5smO1gOUD8g==","shasum":"8a3d340a1db4a8620a2802dc444077d8c4749b32","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-7.tgz","fileCount":291,"unpackedSize":1571896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeM9rVCRA9TVsSAnZWagAAdhYQAJjxSO0gZNj/M4vVscQm\nZgpDLFw1Ddxhah0Vx0g+idU7Tla/IG0BRtiL/uDw6kI0R8zkBldmXwqLdBwz\nKKj9eRxOaMiW7AJtDhkC9h12qZcHA82h7MqoK0XY29jYrMuLFHLBBYe2aEIi\n/dXYrTloIS7ZTIldnDCtPVBzS743kGUzybc3hbxQGEj73yYixDNed9TXXvy7\nL+BqtbsmfUnQlEY3kojdWZEvOF4kbaYDMKIRJTWvpM+PxU6vHcHSkxZDCTYD\nLCwh9B5MwseAQ4xreq2VBnvZgU8HQJV1d+MmnCn2SqlYzN2Mw18ckygDLn2g\nNjMbAabBjgtJxRXFLEXmUmMdBVSKe2EPQCrlyU2rLLbVUR+cc7CKKgMNi45X\nwG+UcZkeixPnRCEwLAGRaVn2G3nQfXydxAKpjd99/3X9US/P7WLYElSa8JqU\nywtYvbpiJui4jGRaQfZurYh8DC7kKaqK0krv2cyAxQXH1Jir61kZ5GfXSCgJ\nToqyqEVNFZyDvVpBR2KuF1i3IvcSmYcTY1gODSW8vInKfitQ8LJFVSL1AAml\nJfn/1CysZjsngu8UQvqZFb0WCtpcb+y3p/DLF9tVhomPRikZQ5oINlIZ5h4d\nJTNXWiuIUB15mWXiU2kXO9aS5IumVdCwkiq5I7Dm0CLgbze9Gy0srdQ43quj\n8J9x\r\n=7Yal\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEqsxAOpF7Lt1HD/cUG8KbPN2YKOKTPMV9YcmzEUVWGAiA11SV2bKKhoQJeMeAVJeGZgIYgTrjXtxma4rhgUJ+FTA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-7_1580456660827_0.3477288072160094"},"_hasShrinkwrap":true},"1.36.1-8":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.36.1-8","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e2e0e2224c7bee969b3a03ad47c0f05801ba65fe","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-f <string>] [-e <string>] [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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  -e, --encoding=encoding                                                           Encoding of the file default to utf8\n\n  -f, --difffile=difffile                                                           The diff file from which the incremental project should be generated [git diff --raw].\n                                                                                    Its an optional parameter, you can skip this parameter and set the revisionfrom and\n                                                                                    revisionto parameter instead\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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.36.1-8","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-8cDv/oiyjlzRdaQujPhsIE7c3AfHdiiOBwiqIFh6fqmgzSmntLh6L7symQ1jPtte2wULqQDs7y/abc0Jwmx2sw==","shasum":"b8482e2b7e7e2eb6841ab3b6ee5a13ee781a1d44","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.36.1-8.tgz","fileCount":291,"unpackedSize":1573658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeM9wKCRA9TVsSAnZWagAAzqEP/3hy4KnauM+pbKqtAewT\ntP0P9kX7CFfNMVWyDPxeYviwyHrVIeLRYGxf4xfbHS8VMwtmu3aqQjCbDH/r\n1YJqz530aKHm/4oEISLtFbc4zIlVKP5z6AC+Z5/arzpYmOMqeR4IWozo17+8\nZJDYmMZAhFJqJN2PIJKntI0zIoTSdup7hF8JDrTnCMoqfRQMRX+L4TYlMOSY\nHDEAQ5FR8ZXPgBIfsiE8HWUHBtvRR0tJapEDjF7zFr7wLageyiNAa4E+Xovo\nTF6pfIWKBv32fh1o52K38bVXe0nqGj+69TA3iLwSGYGNIEErKbEQOAVhjgTF\nLw6RKg9N6kvfvVEijLz24jSe2gGjw4toCFuUWwKpVabtgBOQdFv4ycBImP+f\nKKnT73mwwXwyxw2j0DriDqblOlvk5zuSdvpeH5rOLhBVSJC9mO2IrMT6jQYR\niBItdvlhY9xSbEH0DYhE4zht7f0y3OSZARgOQX+UWf/F7fs0v/8cXUWUQfys\nJckU6XCKHJCK1WxHyh26/e6vCbQ49eUBEq+8+SHiOZBcNB41seL4wtbMSg6h\nybHMh++sItB1GZMbfOCGovEcuXX2j40t0MCKEhGrSZIB1NW4J3GeMYiN54rV\nj0DEAS9A2hRymAWFrYqCMhEyEos1QrinusU2IycPNFiI6qBpcVl1u3XyCPcy\nvUSD\r\n=g8NA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVnsGp90g6J7kN0jZ0fWqoSv32V0r/R2AkW3YMijviYwIhAKZ5P25JWdHAgeW/yULnvBorhPc+l1KAUGgeDz2LRYck"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.36.1-8_1580456969579_0.5098400074597005"},"_hasShrinkwrap":true},"1.38.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ae322db688e9639357a47158e0ed0f95ccc006bc","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-f <string>] [-e <string>] [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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  -e, --encoding=encoding                                                           Encoding of the file default to utf8\n\n  -f, --difffile=difffile                                                           The diff file from which the incremental project should be generated [git diff --raw].\n                                                                                    Its an optional parameter, you can skip this parameter and set the revisionfrom and\n                                                                                    revisionto parameter instead\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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.38.1-0","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-F4Tbl41/xoTjxHj+OxOXav7pF8MR//wIqLF4mqBv37D/eklKRlEAknbflDl2Y9Fq6msPFhYB/8tdzWdKWKbw6g==","shasum":"486cb11c51bc3fbbf692e589b0bfedc964af0ba4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1-0.tgz","fileCount":291,"unpackedSize":1573658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNRMtCRA9TVsSAnZWagAANNAQAI+/YG+D/ZkInqku62l5\nKgHT9hSgR3O0n5AcPIIvYkdQn7VO4bM5uz7hiDCzVFsJj8L1XjhGZB4jh8Ia\n737nrWadX1rgcTr4fzsolIC9Os0Q5akQbKDhI114qJjb9vpK/PAU7uzlVHbc\nkpU+tblfHsPtyClDBezDCNDfiSrWuthKf2zO4OaY0oVivWFxDN0w8y50I/OB\nDU/XibLoOwp8l9ccsG541dVxSBDfp/yEZqw6EY2LCroqOJjlClGsE1cv8qOZ\nwiapQRDhuAUz0hVBsbpiDG+qJ2NaodihGy5ah8reMWTzxteeucXZMV4RUAeJ\nEj6MToO6P/inQSk+3402aC1io27n2hk1RuSgwAUFV2GHmCL1rQeXhNPUe0Jx\nYUrU4lE/HW58DEmeM608lKjBZ3zTerKL2KFFURWMy6R/+gDCAaf6IDl6p3cb\ndxA2kyl9M6eCYxFVFh12o+bB2ge1QqFLzfCrrCM8g4ECbzg2/FH15TVUD0s2\nT6mjwGcBsSZ0fte/nrXZvKoz9lg6Ynz//Z7qq2VbXzX9l1YUh/gQat13g4+i\nwEtiCTSrEyw7vpxJNCvQgz1tKaClu1wqFP88D2vfEG+P/rtRmTuqmiNSaKmD\nhRqXImFMstcec0BeFD7zV2Id6X9L2Jiuo9ClyhNaI5B3OKuhbrM0b4UWWXUp\nMuGE\r\n=onkm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1SRkjEoiDPYAYU5Rl+9OR8O10Yaa7P3TUn+6zn3ty/AiBoFdQYOMl3ICce6C9rhJKzNtxGyJGy00tDtLCk6RpE8g=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1-0_1580536620671_0.9344336352169962"},"_hasShrinkwrap":true},"1.38.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"549c9e6d416c5d81dd83cfd17e196011cfed72ca","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.38.1-1","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-cy3sD5/+tEVL82TAv9FfbXyELOqXbTjOvtRYmtyp4FBbVDSGBJcQHtQz2Bd4SgLaWCdrT6Ravj/k/i2by4F9RA==","shasum":"aa636c2f4d9b7c03564b28d64b03aa7340cb84ca","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1-1.tgz","fileCount":291,"unpackedSize":1569691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeN1p+CRA9TVsSAnZWagAAafIQAJOiUc6e+E1gGMQisCK9\nYaZADE1b0SqskImxZIk8/WtlN0VgbTMpZ17/NniyjsEUAAQ8W7vOrSYzNZjm\nXDnHtLmvmnRvnCUuWDMBVA5gdQib6N6nnlQi/eqggPcI73BI1uU7dx0LHYlL\nHT82YLvzT+v5vzbU7YcE7hy1ET+FWneeyTkh9JOm7ekeh62RtZ58OwzcdBue\nZIyS1c/XZoRxaS6i/1/QNzJs9p2ICMOQ2m1nN43HxsFoSFQHVVbGvgol8NVS\ncCVl43qS61wu42S+FjBy9TVMcoQ1Rckm3W4YGEPurfNIMPFL+udICt4KwCgr\n0kSbH9SCfTGR99w//3XVqfiAxJPNGdtdvsk5uXgu0+91YGOtRN4nOeZSA5Qz\nuU3AoiRDV7jk1jziXBoD4C9vKql9nYwg9DRn78AQKHVIfvQ2BXpI/OW91hq1\nE5Zjsq5K6kgq211/9jHl7FWb1qwcWX63PWfax1W6TwyEB5L5CwsHyZA4gdpP\n4MXzzc+G6LyAVSv7Mh8A0VhSN+yCuqEPza7MpbHBYIsE4tWj49H4apAlSjLX\nAMij4sx/XbxclGNF5C9lIYLunDAo1SInaPClGmZE5wt8K5lX6gzOr377NTRC\nRKjqKcT3mZ9uJeHkKN2OM/ujrayQAXzdNSp9S3oUtGMGNmkN5Pnur13Ou28R\n2NJA\r\n=Fh95\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/eI8WVaX7PloVn3DE6fuas2FL7CSWLBZaMb9T+7rbEAiEApWyepV8T6uydFFTmg7ooGLdAaJx4JRsBQ4Z4HBDlQT8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1-1_1580685950056_0.03246447323126622"},"_hasShrinkwrap":true},"1.38.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"66098e9cc84961e981b5eb467deaff3389cecded","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.38.1-2","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-2193vgMVQ2/X3vYEMMYh3MCWz+tazyxT+VDRZIjoadfFshNjmo4J6qJILHYxBUere9pXK3SSqqAYsumPuc+BLA==","shasum":"8d1520ed1d2c12c8cbf38f09138dbae7de76ab6a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1-2.tgz","fileCount":291,"unpackedSize":1569926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOiixCRA9TVsSAnZWagAA3wcP/RN7/KFGd2QuQrmQT80S\nt/GUIDyjj9apBHMNCQ+qRSAkLsA1PfoSoMU9lufP4wAV+7XLn8f3eNZ6dQB0\n7egfCAj+bL6N6r7cDYSGzKeqVUqsxNqNw9yMpyOcPPRiZlPxwq60QoF//ijg\n7XyhwRmf9Jq9wTgYMPUfMeEU3d3FI7ZRIGT0U15x7TuC2nKubTUYcbrg6+wv\n22Gh4+qo/l7QkJll4wNuQVexEToVWNGqFptXP0o1GsGgOeIQcIqu2GehOhb1\nMnl/ELr7rTyMwukXlA1nQiSNjLTwd+TqcDaUl3sOEB2vlDdHOwwJ8xQeKMa+\nsDn6A9uMqCG0yVcJKUkYpOtBeumPxBmrEFvXiB3v0OxnxEWsO7LxOcSZwG66\n8Gn/x9Y+SoroGXxrLdbv4UtXXDn4ix+BfoWpT7dHpL3vEbYPE4bSjtzCXUZT\n8huNrFbX90gcbEo0zjHOqGgHXNO3nQEYZrDJembjInWLgoKMt3m1o2e1WRf/\njh0mR2CuiikReRrqVrJ2ACVx5hRDxy/0hKLkAvKs6qHzXOQqn5Na6vKa4/Q0\nRX9sCGIiXGOQYVMkNY+7O/HpyKFD/vL76IsZb8XBjWRk52ecl/qfsPcMBVJz\nhV/hs4sCWLaf0a85GxOardomklg53MCXtdMALNBjL8vgPloJV43sn5br6z53\n3oQd\r\n=VA+d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnN2xJEqGztACFlb2NZDrjo0k3R5Ya27ZuPgFWGeDZigIhAMHHMUFwfRq/dMhGhOBtZf3C4Ofx8otTBa5ZJG5Znd4O"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1-2_1580869809068_0.3799629498912944"},"_hasShrinkwrap":true},"1.38.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"489e6426732a948ecb95844fa02ac9604dfbfc2e","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\n\nCompare source files again 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.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.38.1-3","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-eH0VlmXUW/45wwcJN0BlrGJmQMrioIneDHmH/pcXm7hVAjOWdubquK7jLKUybDW+NhmyPBotRvXteD5ZvwV/cQ==","shasum":"d42db384d37e308fd588b0a70a5149f6e6c35f63","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1-3.tgz","fileCount":291,"unpackedSize":1574873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOrEcCRA9TVsSAnZWagAAjckP/1O9q22Na27Jlc14+yUr\neJKiMqaz/fzUtuXBqFUGJ5bsWaSYZeFVQQT+EVajXfO7XfSNu28aSXy457Zf\not9rhqXp3oXQCx1VJbzmbHdZF71x2dI21gMNJAl/83t7WXBJ264rUMdVXXfv\n+vn4toOpsf9CYarLpoZQlU/WVJ+roAIleTeCCahDbJFZFsjbgfTnw5SHjonz\nuifAjU6PilA8V3vmKqQ7ZfBSwsIhGuxk5dgvI6XxB+DmxUhdsxgg4AyavyWO\nT1D3QfUnMnolKHwdaq9IZfao9lH8IrNSWxux6A3/fzp8Szhntc2H7kTE1vEB\n80VQIxfRJ7dU3Tpc5PZv6CWLPAPqGIu+1LuLH5gzwvpG9r8ZjdWvcsncOQdr\n//y/kHlon1FcHfpQn+Ur0vak/WseI1suCeuwLIQx+46rk+O1h9vg3h4a4EGC\nG9pkvkLjsBaVIph+ImhEzvbnjfEmz+GriF17OlUa8Wkxjc+0Ow9QusJRCoys\nsKppUDTscTDhK6bb3rEcn8hkfXieOEXUDgJHJ0Z7YM05vstSuYyiONrdoLK3\n5Adi32ioNqfVjvmzIra4GQrfHlrObOepFZ4OqSd2xBT7JTQsZHHtyDJKoHWd\n7pNBy4N2p3pLUz1Ea++uoo8fsTab/s6uN4HGRvjTZEZVkF1X544oX+uMZcfX\nU7ML\r\n=Tjbc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ5Mc2hyHo1YyukznL/DzatKgTI9Q3WdIW7EgS8fQR4gIhANd3FlrrLVnFZ99qKZ9goV/Pm1jEs6Pflg9PbIob3kR5"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1-3_1580904731499_0.11380620188839252"},"_hasShrinkwrap":true},"1.38.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"6f7ea5d4f532513c628b25d52c7f1e1afa6dccfb","_id":"sfpowerkit@1.38.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-kItAS3FaiCQefN9vrP4nRu3r02iqchoS8bHUmpa+KfFGic2hmRDoz4eka5CPcUsfqOCmioCYkp9DtHidIMvfSA==","shasum":"2ab147e324ef53f25abee8db6b2d6659323d7967","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1.tgz","fileCount":291,"unpackedSize":1575125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOrgwCRA9TVsSAnZWagAAtKUP/08MX5G9oRBntBXexlT0\nP7JGj31Iuvd+M0VcpKSKlo/IE3ox+pVtOW44eOZPIKzfBL20mmg7aXZ7qBqP\nT+A3KaGjtelMbwTtAaqatOQa1b6Go4/6njikx03skXbvLsvWbgl+T8QFpsho\ndoq369J4xR8WHTWfMZYf8rHPYjdy0tDZbt5002fS5oWGxmt4UfdsHx/xGpdg\nKXY9a+Vd8m+IqKlWo/a9zKRl+5SNL8BP56y2LgPvnpAX4WAaf6o12cvjc0se\nTUP3vfD55L7EhvCyKyaoOLPSTPvoXbdo7k4YarHjJPbW3mbwrZKx6ZE8JCfz\ncR0x/Gy+jWijs0eDATM0nw9exN+wS4HE2BqZCBe9O7+gWhZt6T7IzF9Umckk\nDIMyWIai0sv45uYUKLsJGvxlwO7Xnx9nI9i8xYlF3dmYkzXA1iLily3Z6GoN\nkkAzI9QMlYaj1exgdiKVWd3U4HF83ujiRu1VCOgPH7YnJ0luZcCnncRTBkzJ\nsfOf9k8abCgK56wgCIvmnPBY+ZVrTP5wvOEd7fzn07IaGh1UP2ieaASi7rzR\nopeDBsC29b9IorVSaKk8uL3TTJmNFImu7AHNl2Nv9ltY7O2LYoQRIT/hw1ls\nATVfTlm2yKAFGh2Hs0cPPvpPF4bNzR3gic+VECZ6r+U0lki32Yzumo8jtBFj\nTB4c\r\n=gDF4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVbscn6Wn5DMWwbmetkbpSHGLr7zk+Ucvxl8EylqGTeAiBGy6KZH6BIupcHO46KEdhwkXgaSbMTVXLyQ3lvvBRJLg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1_1580906544051_0.35742064810781815"},"_hasShrinkwrap":true},"1.38.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"124369b5ad42e8e3a649fadcd32d61a4e01a796c","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.38.1-4","_nodeVersion":"12.14.1","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-qhwRh0FVPeUBRI9TLDSD4uP3nt69sxInaITf1qoFkgsuLYspcuib01VIW5oPtBL5nnN1hZRAWQ/jTgo2NFNacg==","shasum":"364755523edf21bda66faa848ec58b568a5cc8be","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1-4.tgz","fileCount":291,"unpackedSize":1575174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQbA/CRA9TVsSAnZWagAA/7MP/iCIu+mYx3fVj7CxDYvg\nIAC0gfqc1yCKrZ3o+O7ql5MSpZG8KPbaYsAukBjYej5m0ITrHP5r551811Nt\nSdUIbuyyM+46isB33+he/JsbpxDao89O87PIPjyPJt5X2uulXXISPGnBkUx/\nt3KSoWSFjnr44J/HokfK5CA05563QDtuCFqr/frmK/FYGEHqbgbVhOuhnyhC\nKDZarDEkVbuR9kbwm5wN7LzsG6SPEoIhCmnopv5ggMUrmFiailtkCvpkxcmi\nGdzlIzw5oBTE/ITZuMSDw2V83HOnFgZ2NbqWFwIB4LEfxvglN4Tg8YY54eyF\ng9v8BLiy59hcLX3Fo9E3PFEsOD/wsfVRxDSdmkDs66ENaociBv7WF3NIeU4/\nlwr/qCpdqpEK9gvEDDACRC0d9zpptMgz8/Jq6aiWTyu7oQP8dPmy53Am2hVb\nl3+gm/DI7loYV2dEVay7XcbIAgy+P8jSjE01WGKeNkYGSsjqrqEILvfpZsZT\nWJfLCacnoDgxtZkqPt6uOcgtCB+AnYSkdHdNvNQFyMGLE/uO75plKixNMXVs\nxCBr7B2MAYrU6nfa1wUoVnEiynxkQg/5LRILq2f2ezdOmWS5QfTDLE2TT8pb\nZHrisS6f8WcidT1GKyERHN6D8QWFYzABAhMd19q7/Tlvt9mVcTwZN+eOVAb/\ncX/C\r\n=s83e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBN+J0dn305magxruc4syrSofGH8Y+XvRnmKTa4jcbmaAiA0ubD6tenNxS/W/Y+UAz1oLvp4dM7lFSQbe9wVxQjENg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1-4_1581363260064_0.4153097099526122"},"_hasShrinkwrap":true},"1.38.1-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.1-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ff32c18f3663c6125330036a0d3d620ab635dbe2","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.38.1-5","_nodeVersion":"12.14.1","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-XaJtSPIwLsMTPcZWJNwubZKlqwyMufIy7M95xQZykahre3fvX8xHRFREodLg/ZgIVpSEPajxWht2JOQj0DvXuA==","shasum":"47295b0c5ea6b72342617f4a900e512ff7cb027a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.1-5.tgz","fileCount":291,"unpackedSize":1575829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRIwZCRA9TVsSAnZWagAABD4P/R7l60VCl+CoHyCTmv9x\nu8+qxjrF8z2h8S+cmupJq7eNgp7CVtnNiEWWLNXCOusqFeakH4yW9eeLqaGo\n5D5PojOVe/HxHIv1QF0y88Qx0qr0LNG8XiYiGjVXjlyIZCE/1w3saMeNOjtu\nnoLdmi3V3GfUlNHsWk93M6saTMueZxAxMT0EV+Z9kWhhUpii1iT76WyBnEl8\ntvf9z0tFVzSCWMnuWwEoyxCPSZNkZXoy5Amw53scre/m3KJ/IMdhosqeIGnc\nMRCY7OweNyN+F7z0CIjFOg3fDsnZL5fjh+8QwB1O6awBkS03XGsItqzVuN3D\nZpl2RIw9j2MFUa/D10putZKg5CPeBXBOBTldVlP3N0aLpw2s+ossTyxbZ5jU\n1g4FScRYNJ5zTKauQ+42qooifDNv00WhwB+LDjYLTPHietZ/UoyXsv3Bidh9\nT2/l0+Q2Va8HGcSNvv2TpcorhaDpZNIj4Wj+WSPLeZNVU1a7MCp0/AeN7YDn\nmtfufVYoqfYB8wg4Ktc2NgNAI51t54zkuj9IlHhp6A6rc6PzBJaXQGTXFZwW\nh2CdlRHbu76bOnGRER8JnEzUapJcK9S1gq/SixUvy2eG8f18LWJx+osTh3YR\nHkQOyP6ziNHvcRDImZFcAgIyUMi7XeJeLw2EK+/fnOzhJVUIknnfxSKII37c\nRHc/\r\n=uNGJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCutwpzlhiNbrxLCSCJ3X6R1NiPcXBfuMRAyeW09V8FLQIgfq/7AC+ndOFC5rYY1scB6Q6bewXucYW4YTTSFoqvKyg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.1-5_1581550616476_0.7402215771768754"},"_hasShrinkwrap":true},"1.41.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.41.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d70f3fee49e331bb7dc1433c7e0152f3ca7b0f9f","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/cloudfirstanz/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 -p path/to/customlabelfile.xml -d core\n  Package ::: core\n  Reconciled The Custom Labels, only to have core labels (labels with full name beginning with core_)\n``\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.41.1-0","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-2+xeozWQjd0S5ck1j9wxMQGsA7hp6zeJit2cY7vB5OaJTMzd6yk4Ig5Aq1WveMzid22PpzvLEGxjNrpqMyPc0Q==","shasum":"f435dfc1b574743fa03f68b997eb91e097344233","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.41.1-0.tgz","fileCount":291,"unpackedSize":1575829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVMAFCRA9TVsSAnZWagAAs3kQAIHIQg3kdpzomXNu3PUS\n1qhBCUSnA5mr+M+lgw7KXXZKzZJojsRdyGoZXKa2wDFy5icGFDKDgWwsbYLa\nij47BH3Az27aU0HiY1jN0soZTIYbdmPTO/aYXtZKX03LeRpr6yEV+eYVQqtD\nAGYgBKU8gQUqNYTVoVJE6Ayd/4i4YBUMIthe2Fxy4I3VoWw0nSZn8hfeOHhM\ngf2xjKlKF1qxcyiwfBpYUj3LzSQ0IgR7zsojYQU7he9LGPX03ZSe1txfwl8W\nQyoCfOB8oNdmLk7nD1i6r0ANHbxHMRKZ+ofJZiMSpfmz6DgRcK6cB388snEI\nBrEIrVGj7GPCM6BQcuGz7yQwD++u5NgrCOisx/Bl9r44Lq/zkE5bRY1UidHQ\ncBfZhEm4UpdZJATu05/zNpt2RUZJuELVZhInPScGVSaxwvsdylyBXH4XWVXn\nsBsX21EwkrHWNIZ6nWWxzl7JgbLByJR6i6WUSjxxLV/h85XCzDu9+wLDNw4w\nAVKvB5BrCz7+OQKgRO7d4Mj3VXkCr+HVhpGuTUWNgafJM9hV+6OqrPjp5G3y\n6zz+F04kHE8dx7sndoQ+HnSNrjM+oeCLl3s8oLqIPFPHLlxnJtZvD4rGF8mL\nZ8MRDHqsi3mSxP7nnE+QFwFuII9k7FkFTXra+uWtVd4d6uVvQ+PRWyOnK6bD\nt4mK\r\n=NNgz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSoH6Qccdrkfkv+YzbpqztmKrJ8wJx8gqB9J2B/cZiaAiAMrO30rJ52jeGsTH/qx4kcpoWPDgunEfCwdoH2vgTFVA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.41.1-0_1582612484859_0.30865015553005914"},"_hasShrinkwrap":true},"1.41.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.41.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"956e4f57bf723ef5a0d513e0af8b8758540e2057","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.41.1-1","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-IGrxcVpgKLhdl/HdCMQ5KloaxFmfnSdaVV4uSQW/BdKBnkUdNZx/4gznbklEtrJUX6fsejwZ9TboenJb2eaYMA==","shasum":"05219a76c339d919aa0f90d957b2a94c88bdd9f1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.41.1-1.tgz","fileCount":291,"unpackedSize":1576461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVcZ4CRA9TVsSAnZWagAALMYP/3oykoVbIRMdLQTkX6Qp\nSwVM84gXtAz/nBuv/aYxb2Uqf4bU6/T96qmcwtKo0FBpvnGOgCbKLIgoD9k4\nRx9Bj8zhsieFqz7F9fyepihseBhXDEK+trx/FjNWnqyAjUFPkYE4cgQLuKBk\n3FK86wKFyiupXvgryT5LbJTTp8npaRVXQ5AerogStr0QFhri5me1PQCd63IU\nLdKYALxIB8TylmOkPGLDO6HOvYrLmLMMWu3qtYukB1phrlmCOtbYEU3hgAbn\nCmhSXe5i0SCRTfsgmNKexD37JovwZkluZgvxvPAXEZo7eOKoSy8S5mPyG2pR\nfNTJ68uXZbuGgY594vxCX1puRszuYB1clSfKXITB+avFuIpVYrnVqTVW9NyF\nd3k4WdhhElvRE88UL033BYjTkx1MXiSNRKm5NsH5svLLMcbPC8KdRqrPZrrF\ngd1akrkdzAbWzg5aCFDS1SFNo1uuw+RwJbDLzc1tT4+8aBc2sP6FHCd0053s\nNxs8e0S+iGfuPYhMqt1KWZOZKYhfYnH6Yr3bV4RM5wTb6DcPp4nu/lHqK17Q\ne5Bxh+whjG3uUdPaDq9+EJ8VCIfov+bEFhZk3ZXocWPYVKUmjfql1kvyPiWy\nvuo4ysZSW9aVZjtFEiuYKa1uSLwiRPEZYVR5GSelSs/v0GHxSywc3sWZQg7P\nyxTS\r\n=O+DY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwyOfgiGpyNVcAyV7wcfh3pWgDRpwjYtsdvgL30z0baAIhAI8LhQ4HUGLzQTvdrcQZyzHdyCCW9RsxJXlqarmTiOBU"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.41.1-1_1582679672274_0.9484283216281684"},"_hasShrinkwrap":true},"1.38.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.38.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e504a2cc4428735bedc9120047a68d72b680d596","_id":"sfpowerkit@1.38.2","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-oOFfdoqpfRb0VlDNViQOqDSbBUJcv7E9tn4Oj7S9dKlzmEH+27i7dnlGLzhWEOjoxrZB+u05hKVDCtnh3txW9A==","shasum":"75e4ddf65b5241c9a096e80d2b4d1f355a3eefde","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.38.2.tgz","fileCount":291,"unpackedSize":1575125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVckHCRA9TVsSAnZWagAARa4P/0+jmccDJI6MUYWmGzN+\ncJQXtDHy8qI8/LudMvKsEWOILY8qNhJBzSplrB/zUjM3igNNJz12h2qqjgNM\nQ24fH7plgkNuSNgNLNc6k0vE7qKSKpGsw1W2kuA5dKgWxIFKpA54r5qHfiaG\no67PFJmokdYYJvh/SkJDu/DCOIUoZXIGdZZkXi8F/xmrO+e92w5zJqLZe51P\nMn97UOUvzrr7AUKow3cKa1obB0PjbKdO2h466F1P3W+kdqd5NWB8jsFML0yt\nwRIRphRobI9kolpuAFy1OT9m9Q7the4UVKsytJrGNlCjOmwPkdZT1jGvUqRl\nXtA8quf7DraFs39yGUTu9p4EapwUvm54Bv+I+NdKnd5b9KNGsbo6VmAtcAM6\nKiWFhQZhSLdVsAeNguDH23qNjQxFa1Ehkyrfvcyqc2Day7Du/2UDjuTQLv6V\ncNFvKgVXDf8/XaQ8i9thNMz/L9Yv/WDoWuxoo9X+TBFgEnRqIzkLGkxwq9eF\nl9GqFKIB3ot+l/ilHvCwCxbTxAKspBSXAbNBt/Da0Lbho0lEGxk5ZHQdGFW1\nUrdsvibhVfgIFBfmWFqK7iTIYs5Ufv7SuI7EMvx8BPygTkLrE3oqCHt5Ptah\n4S/QEic4shjMRLtZ2Z7Hr0Xk96uzYeYMIZ9uBqvSon9OsT/xagvD+820+8kI\nrx8S\r\n=RFps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy2rxuhC9pVD7IfCAuphTXgamBYLiGbZRbGDbGbqJaXQIgLAbz3NvAVn9BVZDhFwkqxKFRA3UB5tHOroLC16Hwzj0="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.38.2_1582680326359_0.45118048595786253"},"_hasShrinkwrap":true},"1.41.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.41.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"21165aadd08c364e0de34cb81ddf5e154cadc30a","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -u, --targetusername=targetusername             username or alias for 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)  [default: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:orgcoverage  -u myOrg@example.com\n     Successfully Retrieved the Apex Test Coverage of the org 00D0k000000DmdpEAC\n     coverage:85\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\orgcoverage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.41.1-2","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-urBuK7YaUXhz7UnYGkI5+AAZZeqhrrqJUb8ejQIFST5Gkce9ZkhpE0ec0lpepnMmMdzr2ZFR4RfqSydZH5Ch2Q==","shasum":"14a98e48ea7d17f60a65e7458f0198f4d502f393","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.41.1-2.tgz","fileCount":291,"unpackedSize":1576461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVcqmCRA9TVsSAnZWagAAa0UQAIharZiMlpTZp1X053nB\nf7/Ch/D8jfFJQYgt2cTnYFruJw1h0cBpdOqfCgkYSw28CDQ+zENS2cJixgoM\neeltp/PvLxif+xHim+faVFRGkBNygtVQyUmk3jcRP6qA618ce610+fbdCnyG\npbIOnehQW6eKOQBd1rXfxHoT/nEcuKZoCJUbwfSV9hvprKvkSPQgV6FIM1da\nTl2sOEg9EPql7BR9jTrHlMxCwFciOLlovIfc3gq++U2sSPpdciFSfEnQ1b8e\nh4yK4v5bzRbIrLAVuf/pMNqx73rng4zJ7udjONBzM4XuulQCSUpFv5luKS6g\nFp9aGcp9Q1Z7wKeFXtURHHxuCo2p1jT1dgrWSfNpmq5MyWfUoVwQfxbPZIGQ\nnBPpj8fbKEjCFbWhsb6JM08X2eev3530Cqc+A2I5W5D/gTfujsljMxpDziNA\nh193l+hSR87p+ii+wNgszGtlyG6ntQSqZijbF/bQM6iv488neod2lC5kewRd\nKTYR0XsCzoYyKOhhPSa8zEvAd0TSKFFTH/FzxXO21tO7bwn+BC6ujLiTXPVK\n3admVLrSW6lsFOhxDFCCuDshudkUOgvc18l2yC+ZDbLb4kZJiUV9JdeDlm1m\n04iRbj33eJPj7vcTrm8y0T+nkLv2qr9BkUY9pA2MRLzVZ9cs9ManIiZuhQi9\n6L2G\r\n=dLQb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3E8lOFPvLAKge2kpVq8RrZGydUPIWh5CMmHYYBXS4bAiEA1lfVcJlVlXBpz7zUO4H5wdlfA1TAWvbYgmKEWnzQYXg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.41.1-2_1582680742103_0.6710097931059904"},"_hasShrinkwrap":true},"1.41.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.41.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"96f570cf2ebedf7089ee75c683cf6d1db7395aac","_id":"sfpowerkit@1.41.1","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-8FjpFbRZ/L6s6cm8WOICk4vb7aLgZAY9RJvbi4JLcAD/jgzFmP2nmMpcDonj3paUiLvtMqn0hkiilDG3N1pViQ==","shasum":"e0032f7f3912d5551fa55fcfafe2f1d107473bde","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.41.1.tgz","fileCount":291,"unpackedSize":1576455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVcu5CRA9TVsSAnZWagAAhs4P/3Ab9pZ/Th1Dc9vmEZ9r\n6d0NAVNORc4VT6ivQXnojbp1EW2ioSEtct7mDz84RKQdIXe8gsn/MitRb399\nzWDWF1/AUzJ4SL0vOyTtxpkZbai6IVHpQ3khOuaNT1zW1nUwovoTIT2GluZU\nvyCf95E6kIWYC0RVIorHsvi8Em7oOQLOt4pR/xpWrE74pJZZw6x1SAgu8dpp\njdd3LWvnbaXMW/R5WlIYhwS1EpPAluBev9KI5JPZ0WSsaQO0ntqIg/orn8+P\n2KBdPuIxYVKYdYWXBP8wmMBBhwrdbrT0Wg9VXvM9jC3lR6gOmbVt1/zNcvKI\n5nSShGC9xjT4sWGxj7TqNbdFM1Q6v8MhTeEgc2gKCTiUlE5SVKjukuJARNtG\ndZJxmD/KC6ICiWwZ+0p2wTeU5TCo+qMsyBq27mA+frd/GdgV/qUGTjfrV2R7\n/KK9KafsCUDbbeD+kSRRaecwjP6fnfNjzEcZ8UmlXSGoEsJDymk3Q7RrCC7X\nCSCSV5ci1RmWaYZhmwep34d/T/hOX76ij/cAwJq/nrqlObiAdHrHH9lN63hm\nDGTlk2lWpOBgPcQs+5odzD4UOZCrTS5yzx2ZPPdRQfZJ9imzechSIv0zQk0n\njURlw1dIkVj6jOTyr5fRHXqNQonSND9WmURcvgk+qvA1MOpUwuV3Q6NrM826\n8ej4\r\n=Fvxo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZekhxwRAeTWKbQ1W+tQEgdSXLu4NZ//e904HuslnkGAiBIgWESaU3nqZuG3+SPS4SaDi5Jq51/BpL5iH+TCjBZjg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.41.1_1582681016395_0.6134079425930146"},"_hasShrinkwrap":true},"1.41.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.41.1-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"48d0c1a3b08c06873e6cbe819bcb66640e34d0b3","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.41.1-3","_nodeVersion":"12.16.1","_npmVersion":"6.14.1","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-fSZzPLFf3EJFFLrKR+N3eYoCBMPH+LgEoonU/UTAkhSb8LNNF+rXFuGzvAmUnWCJPebLoZIVDp7ebBBSDjiiew==","shasum":"66a887f58c6ddbe3581548100018fe3d1f6e488a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.41.1-3.tgz","fileCount":291,"unpackedSize":1588586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYar9CRA9TVsSAnZWagAAb7AP/jvBX5toSlaC4LA9VoeP\nJ0EVqGMyv+jHXdRdcXUO/4YEr5KyTTu/XRQqNRFBsM6mEo/Zyn072KfbsTph\nui5uAUb0Nz2mIZFvqZJ4GnZ+jbfh9EZujWqF8+Q983bdWfssSeRGEP/kppim\nVy0GM+gTtA2DPfAuJj1wulJubg+iTkO0yNk8KAHERLBWnlWMpj3u0WnPJKf0\nXeIoM8qGen8gP8lXROYB4llNJGdxkmgGgw9zfSJFE2PlndOIffAzkvI8dDOo\nSKgXHygJde1ll1EmwVHd0sZAIPL5cAEQ8lf8pqTLe8QsO7R+RMCJv/d3prIz\n0g4uphKbbDFNVEyDhIiQKONKqrfpablxJV218GjsoAd1NcqErNq2IPnivd6q\nLyWh0GcNDUrPj/9HnVDvxhprPxkJoWap6dyV+dhUiSE+XbMrnzCrLuJF0Dmw\nHbA8lHCZQn7MYAD8Yvvz3Xj53vb2o3r4f9Y/SIF0+23YxkUMXUn7VZAbEaoK\n6FhIaDAgMuOmuM7F6bk1kVJA3tKM1i0utCweTiiWbLQIQmYV2XERsEhOIKB3\nDpZiah2a9JpPliQioGGBB0uv2UQkJDug2JuCbk1Vbh9xEPuMp0FbrsPaZ2Y4\n9DFgbU/4wuuwCenpDMMu/S1vnR7y+4LmIUZm09qfHVkRBA/BGzyO4EeHAaci\niWGt\r\n=oYhY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJITS0x3ZnY3qv9nLZxPhLeOtdHn6Iw2RrgJ+dYOvtjAiEAji77e9lBVo6dgrou5BlOjMAA8+s4/yuvl0o6ApIcdSI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.41.1-3_1583459068451_0.382232509387296"},"_hasShrinkwrap":true},"1.42.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.42.1-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7301ebe5663a590bda1c233aec6eb0ce31379381","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.42.1-0","_nodeVersion":"12.16.1","_npmVersion":"6.14.1","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-wn44b/3tGMb0I2t2Ass0+14aHKcx6/Zqyz0PAOO2TIZmzTdrEZlouTnfcnpVNxvpltKppN9ebN18+WReJkX6JQ==","shasum":"d59c3476161042a02b9b03d4903fd8d75a2324b6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.42.1-0.tgz","fileCount":291,"unpackedSize":1588586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZwu6CRA9TVsSAnZWagAADP8QAIlz+gJOskp5T3FkRfxE\nxzl2IVIIa+bYP5Fm1UDql+D5+3NKqPF8HpUuBbRneuANl8ouaMF2MyMajMFh\nzOgCz0PuRqrgFJBXMxGBuikFXmrqgjPX3uV9loBFIZjLEaR0SzQWMeMZ0tMG\nrrzwdG0h6W/GCvfPb+xrRfbgIzhubCtibdjSppFxb14RMlWUWaZzqM+LPuCb\nWJztUR3piZGDDfEX+ynCYKaeIwdQcsgCuTbO92ErZC+FMoPa2Vu7H/r2Evne\nSXYw1l/EEnS/SyUd0rNJfI4lntnkXKcHuKSAGpuaPlRsPV1KPthTEFM9Wyig\n6cqUpLrTVBTwCxE1B4k2mNPts5pm3r7CBu7spk6OqEtSrQ+N2VHGzEBQ9VuR\nCplXWMclyu3MmCbnS8lCMSmEJkPojGeTIWPuFLGlEoUtA5mhY7OfWu7eFQTH\nRlQdsmZz0nspexiDw+2atnvzb8Uo4Kb8PYImcE3I5tOx3fBYjQT0ap1XdcRo\nj1OQGkvbuMeqzA8G0QIlMziHqYA8dLNh80PSoQoafQ9mRNm2Xy85TAK74WbG\nZAIdo6AtGoC+0U+4pgtAd4Bddc7CAqkccE1viJCZdSyu58rFqK6Gk1yy+qil\ngh359VXiUCLvUfyM8y/AH4pVQkkXJs/Jjv5Dv9XMe1TWe+k7CRXxhaKicv6v\n8B5I\r\n=8/QK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4gBS5HpC3TrPuSi4erFMrZbfs+HS9Mwodyhx91hJeJAIgBaeqU4ZZntOUuIJOAym3ezxvJl7y3H2lsbYKAwaP7YE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.42.1-0_1583811513840_0.2472034566976522"},"_hasShrinkwrap":true},"1.42.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.42.1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ee77a90219f1ea855e10ebe4e774a209adfb2e89","_id":"sfpowerkit@1.42.1","_nodeVersion":"12.16.1","_npmVersion":"6.14.1","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-VPwdmTpe/Gp4rvIjffgib1RRDuz3kuqcGKArDRhMzGeHOL4aGKBQbvwtj4b8DAW9zDBsWJXbvFqqInMMvmDPtQ==","shasum":"e22df99fdffb3c32ee961dfe97dc0017156f837f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.42.1.tgz","fileCount":291,"unpackedSize":1588580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeaFsFCRA9TVsSAnZWagAA+wIP/jYvp1hiBzWO7nfhVmy2\ny9HuqEFdX7Q5hcFnrZFtGRNcbMaVLp5TcraLqoLK0s7PNaqgE7bACBd8tYwy\n0Cw+YyNEp2CbE4mu9z/38b05UESEewbk3gG2u48BMYmvCAvHHP/FEI+F5Cxk\n9z7GuxDyKNC8LBTc6u50s43mWPt676JpTRtGYmmAgQUTCPv6kNhJHcsnvz8K\n4d1JaSOXRH1x1ks5/2QqytVZ0APl1b84jNNgTemSKA7JQx6IeQjwcRPOfzr4\naCyngFYVbgdJikGBk0eIp3JT8P93pI88bFT3h1kwAmBzcOxlgkp9TFkoq1iC\n55h/CqUMhrSOnwGJtA6w4qZJeVoAQTsIbvYFe9seV4rR+dJuFHfw1qw5ARdl\ndlAOBcuTLzzz+dkOclSNNT2YVRN9ZVvPena2GuYwvMubylTCM3Yn/dRJorps\nZeZUwkwDp2CSrA/rhAoe5sNBS52fWKadh9LLlZW5LpZ/rtdieu3Sc60rmiJt\ntDzd1eYgWvqV+RGEfJoCbdTvGo5zeTvh1QPV5KGRTSbb+XKl+Zwm6+dsd/i1\nLLuZBaEYIu41pct8O69xqalwMsMGldDTpLkVWd4B6AkRtsah9LTTYWa/D4kn\nlW6Vr2plR/ZvDnWRdFaa/ue8+raQY3aROWSw2pmaATtqhAWEZC18s4+ZO3OU\nS3ZW\r\n=Ag+B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsQY6w5k93WhCsZDrKcQ8mLQVMpA9xHcS49GTNvq4mqAiBB7aJrJ2qxLMLxWANPgOtq6ZBlF14usz/T8hH8qUKBGQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.42.1_1583897348620_0.47728085605556037"},"_hasShrinkwrap":true},"1.42.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.42.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4b4cf1f237520f4733d1f10eb8f3a23b1370ef3c","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.42.1-1","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-HWSIGhrhltM+uq0auXEt0WZuAVzl3egesCbTku/diCxeaCkvOw0ccKvKp6h6z1x6vORFuSlcJmq+dhW4MMI7oA==","shasum":"aaf669a7feca205222cc82682895ebddab2d8447","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.42.1-1.tgz","fileCount":291,"unpackedSize":1591451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebZb2CRA9TVsSAnZWagAAQU0QAI8JRViiqc0G73QiLu3L\nUGND9YfycvDBcc+eFQdm488M57grEmESGL3zwgiiJ/0xbwe8jixvvZejlRxq\nAuTEQNMetyhFXnSOUx7I+yNxrqnjMBAIX+lAdRTssvSveLaashvGZgJbAThU\nhVhoZDndU97qqGo+Djbh6YqKcP48N5UfpEX361R8wKq32aUhcTK2pxir7iD8\nzQDPO22aTbOa5QvfFmJQk652PyukA02zUFMQaPMrSivFIwR/juMp/mwWMTTU\nc18Tmyiu/E+8jlFomw01Ux/vShR2UaE5H7a5hPrjZKehbH1LMQb0LLEV8MZr\nADfHkkZt3GqOhetAcfGF+uKyinaTWPy4mfCgOFUkA7fSKcdFZglmv1g5QsZJ\nJBuU0rp246zO/FcQd4jGzDcOhz9rCsm4O1XbfZ9pyPYnrlU0w3PH9T/wxCO6\niMUX6XGO4YgE5mSRDfv5JELYWMtJa3kMclgEXeHu599BKdAI26OufiVNYzNe\nPHRJn7REis0Mifug83d3vPU5hWzgy44lrSaoh8oFh9OrRHK2nwJGIOPvLP93\nHy7DWVHONTJxiEBYaOx1qS763fpqYzDs9njIdiSQzHMrrbP8oA/felAGgr2g\n81iVm4KbJ3lF/Xpt99FEy+KVsa10RxC8HM8rvotA9hKOGWPO6LRHPLd78d9S\nNQue\r\n=hDFb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrNEwEVceddbCvS6r6bOUCS/DOqQaIZiIGnPynpPOCRAiByj3ruhqeZV7ut9mz1e9MmWwF0MaQQqrYh3/hP3Xuo+A=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.42.1-1_1584240374288_0.05223520148981953"},"_hasShrinkwrap":true},"1.43.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.43.1-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f6a5e0c8f2d0051a181d4e9a8f14c4986893ff43","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [  -p <string> ] [  -o <string> ] [--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  -p, --package=package                           [default:picks up the default package] The package where the apex test suite exists\n  -o, --pathoverride=pathoverride                 [default:/main/default] Use this if your path to test suite is in a different folder location\n                                                   within the package directory\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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.43.1-1","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-vHoAoYi1hceJifL2BmbABnO6LanxNJjxMVVk34/0hgWsmFd8O3y1sAuKTSEaad6ouZfmbjUEsDNSIsKVtrUY0w==","shasum":"a036299dd3cd37fdf44f4ab37a1e4f63e703deff","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.43.1-1.tgz","fileCount":295,"unpackedSize":1608888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefYSSCRA9TVsSAnZWagAAfXIQAIMnawwrb63RPBmW925G\nP6SlSesfWoFh5EHOZh1EeyyUKSZDnEhkNV6u5kOX7RORaB1M97YK9+vSylwN\noPNsgzn9fupTws13yeNoEIhY0Mt/gKI2TmedEeoEL6oxeXEJDgR0kcXBBJ62\nOXIYjisrToi9mRTuitQHg3HWuKjHt1BCg9ZCoFfAkKaCrDnEzM+QPC4DFSaC\niB+Roox5eFJPI+eGpQNsr1Ex9rclTR6IQAibU4WObVvPo9G+zl3CYlH2RvHV\nPQpa9vVyPbjeLYXdMYDwv9ZZIpMtd5bsrdXkFSRDfUTieMrhSDqT+grZzNen\nkG/JPlq4ZmnLdoh7rSVh+We7pSZjA3RfRDOlYJGX0g099C7YqDvzbAoiPCg1\nhfDEpeC+TAsGb0bPm22Pc/yCfvv3Ghiu3rVyVshs8gvBqRfaCSXn1Nq+p0Az\nWbWPwdAZIQ5fV5lazLBUstUpLMKWhpwcXEYEre6HQeJk0GYN5ZwqIGQn5jy+\ny5K7psaGzlx4BOrVrpF4r5EoQAJjKQk5TgRQnG39NXcsz++P3tYRJ/bvzcts\nGcBaDjbruTJhriISMB1FAuK9+1GTnI/l0kIYdx6zhrPRegC1TBqzPAFLG/Zt\nDP5CQU+BZo9XiaIG1osLUWeDxS40SOk/atXYUap87pT2oJTAQS7tE7c3mptR\nl3UO\r\n=CLN3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN9G/DombU21uOHmIwbUs12zSA29P+w4jWadReC8ukPgIgFS2JazH4OVTuxdfoEre0sklgXrkmay6yhE1ztZRt7RI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.43.1-1_1585284242019_0.969826135513695"},"_hasShrinkwrap":true},"1.43.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.43.1-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"23858a90a6fd2bfa7607a8b79f22512c0440dc0c","readme":"# sfpowerkit\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/cloudfirstanz/SFPowerkit/_apis/build/status/SFPowerkit-CI)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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\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 <string> [--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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.43.1-2","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlam_salam","email":"azlam.salam@outlook.com"},"maintainers":[{"name":"azlam_salam","email":"azlam.abdulsalam@accenture.com"}],"dist":{"integrity":"sha512-ytnzLfpArw+361XpjtcYrXm09k5CsV7L0Q7In+newUnsqDr3sQjICYlHb7lxSTJgpCQk1otns0Ebzi3NYjScQw==","shasum":"18b090dbdd04fa575d30bc6ac160b2d8066457c0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.43.1-2.tgz","fileCount":295,"unpackedSize":1607483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegSxRCRA9TVsSAnZWagAASRwP/j4ud8caxueZ9+lngv5a\nB9VphxI4RygY1wRa3IWQ/qdfdCOA8Rmbh/CG5GBbQloM5S0nz3BNOPEuWzmf\nEjgNsJzkUesWsD+9oX0BWLsiFjys/hfnIg9V60pIBP6xnPyan9zw8gH6cyRF\nSgKo1uc0BS8yaUhHexREedOxA0EQHX35WfGII/TQEAjlokHYBTyPimzQrqFz\nJeTzvCIPbI5ytmv7HCautkhLRRZlDK+meSX1/leWEEcotoutsfraLQYeZ9dg\nCATVs+6v4tW3gudOifuuiIXqRsnn1tn7ETQ38w8qdSHxOLfYLbx7KLhnSfks\ngK6UXvzaLq1j8V+WE0+WqhyRnoGX3Sg/b6wdDa9NCFAY7n+lKyw0hvmq04OH\n41GzttlfIDjGUeZp2mM43oAgPUWArlxWcft9Jl0vzQqHAcRL9U2jngkNlMXX\npaqYv+otiipOjTYCsY7onR5eaMUFWpwSiGMqqDqH1VqNhVKuLYxC2j07LLms\nL/pIws3RFANEIXt44TipXKAS5yunac8AS0DufH/XtPkd0hjjVt6JE2warWID\ngImX7L1Io/rDnclexwQK74l1FBPyL5CYFc+QilRWvKodOZKk/1EnXt1AXugc\nVRbgwNZG3cBK0x8/kh+BzZvjuEOKS1Kevi85Kc+Nzrl2maB/pcgQw6PQ8oNb\nw8UM\r\n=EMJC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxt7dQRr/i35iieyK0yTkw3HJV896p1PsviCLupLOFvwIhAIMsky16Mtee7gttiL0Gb6kIDYgYgZGlnJ7f9Ks52I5G"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.43.1-2_1585523793288_0.1034656155551692"},"_hasShrinkwrap":true},"1.43.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.43.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"21722ae34118d8f4e1cae675f9dff63181c3b59c","_id":"sfpowerkit@1.43.2","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-Cfx1xXdfm1ogxJQOIxFcMWXigd70U1/gt4HvkZEUUMY9Bbr+q930JBmC8Zo64LZQAv03ahAIj51uHmOGsxgHEg==","shasum":"78441fcf9a8485b7ae245f3c4efb985b53fa7476","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.43.2.tgz","fileCount":295,"unpackedSize":1607477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg9mECRA9TVsSAnZWagAAvogP/3uCQzs3t+hYuYdt5VcO\nYdpD7nxj/rmW5Re8rKP4ocmImi4C24HZI4j/UmQPQ8vLoLSHbTAvBGhHd69c\nscqCH+1CQ+t3mEiyWdoWS9HTuTADgoybYyMmjkS3hzg8lW5eQMNE/9epuYS2\nKM9jJ+75oWsnJMtQZA8gQeZdsTugZOleHnf1Ix6RCrSfp4pxtE2xOZMyMQqS\nCvLTzRJHYuAsjXjrQtm8LvFljmfOBZLJfSZ+DwLcS9Apj+ZGRVg4biNf07B9\n5UwE30To5kHBDxAaPe0rKQgaV9jI13YXhBrwFr+zQ4ABnLR4XJIddDgy9nNl\nvQ7UHFOIHKU4+Cw9rnLqpBFVcSaojWosjsfAfG/SCQ+k+5lxsVKq52/ubZT2\nevQBNRCo2NPtvHSvbOIcNAPHEX/M/DB0ONqd1OJQqP7QbLp5FZDb8L70RS3a\nePJzOK87DREs60MLDeJ4HUwGCGg+YyvlgaCq5kppUMaQ76APj5NBNwfQzw0f\nxT3N+WzsZsiLfKT9NrJErYCBM0WkApo4/aI1MHmZ/DM8diaLXvzcw0eH6FP/\nwPmo0gNY00vUMngQBbzpcc9asFf28MOq8Ttgr1e3yYK45f4Vd7aOpEbvjj9t\nNVzd77XngkclZdRGIVJrdUkGrg+D43U+wMQB/CP+UQxEK//CNKsYOicTYhqD\nm7JT\r\n=Qgmd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO4rDmpDRMjZAQZ/QR/lnQ98Mv3z9rdM9K6encZHWpkAIhAOzU0VJv7laiO0vKibrThFgA60otyGB/+FYyWhZZC9Rh"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.43.2_1585699204109_0.7573596534321787"},"_hasShrinkwrap":true},"1.44.2-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-0","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3ccf9848077942a31af970c398772d3d7188714a","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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:buildmainfest`\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:buildmainfest -p <array> -x <string> [--apiversion <string>] [--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:buildmainfest -p project1/path/to/customlabelfile.xml -x mdapiout/package.xml\n  $ sfdx sfpowerkit:source:customlabel:buildmainfest -p project1/path/to/customlabelfile.xml,project2/path/to/customlabelfile.xml -x mdapiout/package.xml\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 <string> [--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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\n```\n\n## `sfpowerkit:project:mainfest:diff`\n\nrun diff between two package.xml and get the difference\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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:mainfest:diff -f source/package.xml -t target/package.xml -d output\n```\n\n## `sfpowerkit:project:mainfest:merge`\n\nMerge multiple package.xml into single collective package.xml\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:merge -p <array> -d <string> [--apiversion <string>] [--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:mainfest:merge -p project1/path/to/package.xml -d result/package.xml\n  $ sfdx sfpowerkit:project:mainfest:merge -p project1/path/to/package.xml,project2/path/to/package.xml -d result/package.xml\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-0","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-TWtL6IexryMIclRJAVBcr6jxwqX2IjnELSx83eDngcgaLZOQOSXv2RD/eEirxxAVrvOlIjz7s6HRrbrNkB3gOw==","shasum":"a0a4583b5a7f4ef08f615fd9fdac39ff4072a7cd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-0.tgz","fileCount":310,"unpackedSize":1654711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiE9MCRA9TVsSAnZWagAAOm8P/01SGx0kS3fnWTB+O1ND\nDTK+MNb7sXNTZ2bqrLYqHTjueUs561oPBtob83I91/KDh/D8PwlSdq9hpJs9\nJdvORuyLG9+0JcLhPF0X+EezaYbKZFapPxnrX21uNY+PPhlfjVQbXxTrBHpm\nWgJXZo7aki27VdBbqa6O1KpW+g1bfFLPJJ3AWvjVz0BsUiM2Aui0xdjgCfOf\nbSbpdTW8aPLQ0tOupRL7FHRDb5vNS5sMbsKD5UgOaaGNcgyucIvdVmByRf6s\ntxDSpUwe8StdgDdGZsPdxL75WEK0Mze5s0/WdwYt0kYamO+XPCbYRImAb0DT\natMYbR4SA1hD3i4szVeXyLLlif+QOB+hvJRKwcM67b/X9yW4rm11srEDfc8s\nn/klnBK/5KVf3vtvVAZ4YhgcO+ibZf12+l0n857iLw4qvpxXG+FIovxNFSWN\n1fwLiPsaAfXYuKGIR77Ukc9jl6PnA1CM6HjOYGC+CTLt6r1vQRGllddavVmo\nOWKQ8a3FoLXUkwWacX+wrt4Ql70aCKlJmiWr+M9+3n/3kLC9ahG/sjMNVGKV\nEXld/RJ0WLPk5FzmMZOZmAS5rTdtW0H8DLoMxHPU+87S42y8HSvTkvP93HP4\npm3G7E0ZQTiw0bT7qdjLR4paBSXfOgr2quHbjOdScitvQVj4pKiZdZgLmPLE\n9CpF\r\n=Cdkz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1nMAXrVVrxDKtIZrUYaiu+fG7CK7uXI3e0CRvvgpyfQIhAPV/nk2OgsHaEWrOe3qUUWvdwC+jQ2a7wUsDMGo/7tEA"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-0_1585991500264_0.012283699320431607"},"_hasShrinkwrap":true},"1.44.2-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-1","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"aaa3b583ddcd6639c545bc831c1db368883d2812","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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## 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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/pmd.ts)_\n\n## `sfpowerkit:source:profile:retrieve [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/profile/reconcile.ts)_\n\n## `sfpowerkit:source:profile:merge [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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:buildmainfest`\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:buildmainfest -p <array> -x <string> [--apiversion <string>] [--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:buildmainfest -p project1/path/to/customlabelfile.xml -x mdapiout/package.xml\n  $ sfdx sfpowerkit:source:customlabel:buildmainfest -p project1/path/to/customlabelfile.xml,project2/path/to/customlabelfile.xml -x mdapiout/package.xml\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 <string> [--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:project:diff [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 [BETA]`\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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\n```\n\n## `sfpowerkit:project:mainfest:diff`\n\nrun diff between two package.xml and get the difference\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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:mainfest:diff -f source/package.xml -t target/package.xml -d output\n```\n\n## `sfpowerkit:project:mainfest:merge`\n\nMerge multiple package.xml into single collective package.xml\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:merge -p <array> -d <string> [--apiversion <string>] [--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:mainfest:merge -p project1/path/to/package.xml -d result/package.xml\n  $ sfdx sfpowerkit:project:mainfest:merge -p project1/path/to/package.xml,project2/path/to/package.xml -d result/package.xml\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:source:picklist:generatepatch [DEPRECATED]`\n\nThis command generates a patch in the format of a metadata packed together as a static resource with the intent of solving the following issues.\n\n1. Changes to picklist values are not updated in the target org through a unlocked package upgrade.\n2. Standard Value are non packageable, hence any picklist that has a modified standardvalueset as the controlling field will fail to package, The optional fixstandardvalueset flag will strip of the controlling field and puts the original code into the patch\n3. Fix for business process and recordtype, that depend on a modified standard valueset and fail to package.\n\nThese command is to be run just before the package:version: create command and any changes made by the command should not be committed to the repo. Once a patch is generated and the package is installed in the target org, run the apply patch command tofix the above issues.\n\nThis command is now deprecated and will be removed shortly, please use standard methods.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:picklist:generatepatch [-p <string>] [-d <string>] [-f <boolean>]  [-r <boolean>]\n\nOPTIONS\n  -d, --objectsdir=objectsdir                                                       Path for Objects folder located in project\n  -p, --package=package                                                             Name of the package to generate the picklist\n  patch\n  -f, --fixstandardvalueset                                                         Consider patching for standard value set controlled picklists, Warning: This modifies the source code in your package by removing references to standardvalueset from the particular picklist.\n  -m. --mmovestandardvalueset                                                       Consider patching for standard valueset inside source repo, Warning: This modifies the source code in your package\n  -r, --fixrecordtypes                                                              Consider patching for standard value set in RecordTypes, Warning: This modifies the source code in your package\n   --apiversion=apiversion                                                          The api version to be used for the static resource to be generated\n\nEXAMPLE\n    sfdx sfpowerkit:source:picklist:generatepatch -p sfpowerkit_test -d force-app/main/default/objects/ -f\n    Scanning for fields of type picklist\n    Found 2 fields of type picklist\n    Processing and adding the following fields to patch\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Modified Original in Packaging:         force-app\\main\\default\\objects\\Case\\fields\\test_standard2__c.field-meta.xml\n    Copied Original to Patch:         force-app\\main\\default\\objects\\Case\\fields\\test_standard__c.field-meta.xml\n    Added  2 fields of field type picklist into patch after'removing fields picklist fields in cmdt objects\n    Added  1 fields of field type picklist that have standard value sets as controlling types\n    Source was successfully converted to Metadata API format and written to the location: C:\\Projects\\sfpowerkit_test\\temp_sfpowerkit\\mdapi\n    Generating static resource file : force-app/main/default/staticresources/sfpowerkit_test_picklist.resource-meta.xml\n    Patch sfpowerkit_test_picklist generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\picklist\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/picklist/generatepatch.ts)_\n\n## `sfpowerkit:source:permissionset:generatepatch [DEPRECATED]`\n\nSearch permissionsets inside project and create a static resource file with permissionsets, used to solve the recordtype assignment upgrade issue in dx unlock package.\n\nThis command is now deprecated and will be removed shortly, please use standard methods. refer https://success.salesforce.com/issues_view?id=a1p3A0000003UjTQAU for more information.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:source:permissionset:generatepatch [-p <string>] [-d <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --permsetdir=permsetdir                                                       Path for permissionset folder located in project\n  -p, --package=package                                                             Name of the package to generate the permissionset patch\n  --apiversion=apiversion                                                           The api version to be used for the static resource to be generated\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:source:permissionset:generatepatch -p Core -d src/core/main/default/permissionsets\n  Scanning for permissionsets\n  Found 30 permissionsets\n  Source was successfully converted to Metadata API format and written to the location: .../temp_sfpowerkit/mdapi\n  Generating static resource file : src/core/main/default/staticresources/Core_permissionsets.resource-meta.xml\n  Patch Core_permissionsets generated successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\permissionset\\generatepatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/source/permissionset/generatepatch.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build [BETA]`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-1","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-z0b7sqZBxMNJanmSdj4Rw0GQpSVxPE46gj7WDAYLn5tzvmlYg7M4RL02X1pYd6Bp2w8DfdJACvXLTS+Nb6mXxA==","shasum":"0211fac62fcf9fcc43b801603e616fc7a729567d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-1.tgz","fileCount":310,"unpackedSize":1655291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiE/xCRA9TVsSAnZWagAAoG8P/jvQCD8IgdUQsFj9xKsi\nRLgFkbFoD5ANGJvTaEGtt++HrwRXaCkPmFFNWvM84Ow1TE7H6+B+nITd7dNX\nRLjhYjcNodsIAw0sUUeRZ0wezk24+ya+qVInVRhlI/Vi8sDr1lcE3seKrTAG\nDgJ6ZuuP8FZZ0gvveySTYAYc9uCvIV69rtuQzVwXhdm4YNjp7DHAvMVU8s4C\nugRHV9pwsZG/yoeqe//LMXBG374M0MqxPpONDXCteb/WGtLMJoGCtEnoderz\nz2KSypbpFjJe02ZTUKO2qhGBzn+3oCcpSqc/5TGFvQIZWxqtAR3Ypd4hGQJh\nbhuNuY9+l2ft9cUf7KTbb2rjvNQ38OIs5+FBO6xMNdMB6XsYvNBYnvDSW6HE\nIjd6nDuECIg/ueDo7U26j4QAx+T/GGdwWkVU/1pQ7OTZP3CJGMfzlzZEO5sY\nb+GJgPWsodBNo3hTZ/jZ8UnwgTu+6QVD20jSXTAnf9S5N7QYn9mE2qr+3C4M\nxkolk1cucN55VQf/52ohayxTGft680CFiyQfuXg9CRODbk315SUijP8Dvo26\negPXlIMiRA9d3XKOMCktrHUi6gnD4jXX2ASFpeWs4BYdG0IIEkJCpCPDqjFS\nn4NfI73U/2mGb4p65m2/W1F7NbgB4A5k+8dyrC7ePOPqUoviobwxwiK/o2Qn\nP25q\r\n=gq+e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnGPC3GKv1B8CEByKCLGoynA25J3Vkk1+e/kynEb53CAiB7jIyCO/IIGzOUdCRCHwhI3rq/oLk0nQ2okkVBumSHZg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-1_1585991664852_0.8917763105373424"},"_hasShrinkwrap":true},"1.44.2-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"50a0b55310958409ab53e3420db1c347ceace10c","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:buildmainfest`](#sfpowerkitsourcecustomlabelbuildmainfest)\n  - [`sfpowerkit:source:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:mainfest:diff`](#sfpowerkitprojectmainfestdiff)\n  - [`sfpowerkit:project:mainfest:merge`](#sfpowerkitprojectmainfestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:applypatch`](#sfpowerkitpackageapplypatch)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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:buildmainfest`\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:buildmainfest -p <array> -x <string> [--apiversion <string>] [--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:buildmainfest -p project1/path/to/customlabelfile.xml -x mdapiout/package.xml\n  $ sfdx sfpowerkit:source:customlabel:buildmainfest -p project1/path/to/customlabelfile.xml,project2/path/to/customlabelfile.xml -x mdapiout/package.xml\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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\n```\n\n## `sfpowerkit:project:mainfest:diff`\n\nrun diff between two package.xml and get the difference\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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:mainfest:diff -f source/package.xml -t target/package.xml -d output\n```\n\n## `sfpowerkit:project:mainfest:merge`\n\nMerge multiple package.xml into single collective package.xml\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:merge -p <array> -d <string> [--apiversion <string>] [--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:mainfest:merge -p project1/path/to/package.xml -d result/package.xml\n  $ sfdx sfpowerkit:project:mainfest:merge -p project1/path/to/package.xml,project2/path/to/package.xml -d result/package.xml\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-2","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-xvMRWEYn697oZhqOiDvGR6++5HVKoSIhSJQqsR2CRRYmSpitwMqbB/I6RfNglB7lzQQGAMTc+wAmaEIjO6vU+w==","shasum":"6b33634c2731f60c1844281ee2e6b26dae7784bf","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-2.tgz","fileCount":310,"unpackedSize":1652595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiUsLCRA9TVsSAnZWagAAd1cP/jamPDNxab1yV5nRyM8E\nnpIOrS4+74S0zhkVrcVPQzex+NGjjdBZuoPlHk482QGblj+jbIBgeRnbj+Hc\n/mRMaVFymAFftdNhhEHaEsAotI3EoEHUhk5oEXvkJFGfD2vSo4mgxYeDU8OO\n5EmM2qrOs4/GiQggKUK8Y9F3ubgJppbJjRkX7jU019E/6bMXyvLtuVBu32M5\nK0btXQ6w1JhWcmPChoAfe1Z/LKzCR44F9RWYELZ77hYe7g2FcjpgV+/RLAWz\nzoHKmvdPwkuBztDN1LfUGVcb/OzKOLbwFYQS2YaiZ4ZUgdjxeTx9v5eRRG8e\nuy0kXWYojCHl9jB8Eyh0k5KVNmc2j6EmJpsf4wfGu4NoQpvO+fXGrzilnLCn\nKzZQnasb1tMnSPUVG9TP1IegE4QkhucGSwCCAm98DDJB2vrQyjijjb+I5GXQ\nXrEhG5+9t8WZWTxNZ0rMmR3s6aAbCeg4tRO49uPP8wWxpzlxTjNUKj+NPL+8\nIcdMlS+0hZEjGXostYMgbzw5+aGEhUsEsf+NX1DifLmbvMB2qfAnDzkHmc0J\nUMlG0Qaif5QGGXuhGq2TsRtbO0EYHBM4+k/vWFxxgEVJahL40J3nvHO4BX8S\nh9enMjo3Ai/qNarpKH+gTMlhsFcsCXdEV8i6WvJ1oKD4xkrMboOpc6i7aVMV\nmRl7\r\n=upT3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjWcCJc2gV4VYyRi/Rsx9EsuzOb5bq1cZuoJ8EZdJRHAiBXppqTq08uTwiUHLh9Ugv7z510arcYsiA33G54UQ28LQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-2_1586055946619_0.6876411717888156"},"_hasShrinkwrap":true},"1.44.2-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e11751a291e179fcd4fe680be88aca962d0b6d9d","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:buildmainfest`](#sfpowerkitsourcecustomlabelbuildmainfest)\n  - [`sfpowerkit:source:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:mainfest:diff`](#sfpowerkitprojectmainfestdiff)\n  - [`sfpowerkit:project:mainfest:merge`](#sfpowerkitprojectmainfestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:applypatch`](#sfpowerkitpackageapplypatch)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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:buildmainfest`\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:buildmainfest -p <array> -x <string> [--apiversion <string>] [--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:buildmainfest -p project1/path/to/customlabelfile.xml -x mdapiout/package.xml\n  $ sfdx sfpowerkit:source:customlabel:buildmainfest -p project1/path/to/customlabelfile.xml,project2/path/to/customlabelfile.xml -x mdapiout/package.xml\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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\n```\n\n## `sfpowerkit:project:mainfest:diff`\n\nrun diff between two package.xml and get the difference\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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:mainfest:diff -f source/package.xml -t target/package.xml -d output\n```\n\n## `sfpowerkit:project:mainfest:merge`\n\nMerge multiple package.xml into single collective package.xml\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:mainfest:merge -p <array> -d <string> [--apiversion <string>] [--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:mainfest:merge -p project1/path/to/package.xml -d result/package.xml\n  $ sfdx sfpowerkit:project:mainfest:merge -p project1/path/to/package.xml,project2/path/to/package.xml -d result/package.xml\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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-3","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-TKnvtY7P4ENzM33o9IoYnx3En5LVbA+efXLaMW6HTIGXxqjsOLV7VnM19/8jxmBkPULTZG3YdD3ByyJ0wpmvzg==","shasum":"9d2cfe78caf3de8528c972d73aaa720bc418ed1b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-3.tgz","fileCount":310,"unpackedSize":1652756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiatuCRA9TVsSAnZWagAAZe0P/2SdFH3DatX3ePsZ65ZK\niaWgYcQhc98ab1ZigFVsYtn4ERZFhZZ4T1xApya5PyXv/RFmGyheiuA373lf\nGxsskh0fyrQWyHWy0k2nYLsfZWt/UfnBf/nKxmc1/HxIkh+QRAsMFJjsJ7V9\nx/1QIbHhLatLhwYkjKPOvJAK28+0SGCtsZFPrj+0RT25GM+8F6gmYoxlPbir\nWJTekpxUXWNLVCPq6Ez2fzapVxPMoHdghYFm7kbGblzGxAdPrgVgwTGcXqlB\nuYt219cDlc2Q/vp8Pkf2h5txpwGrr+Y80BgJ4Wd8APuPhYwHmEgDViRUMHwj\nSP0Ppt4M/fxvyw3Bvjj87R6sL6996210S0wpzXGQfz+nD1N3F6M94j+CQ2HE\nKltclNRbmi6ze7XNtKDHDfOSqCfq/SgzSfwZLasXLQOVbQDp/S2zmCFggk+1\nZ+fRe5I0LwlKWo/M4UAJDljvNhR50USzXIGkpK/bqPVcpKMP88ypu2Doe7Pk\n1fUZk9EfjWKM8y/5lKeaHt6msEE++YJIi0AiKDCGRQ64Czw284Fk/7D4Kh6j\nACE9FwUaJXc+2BLCGeQSqnyFddZf0Qe+zvFcNxf3brpeaveTwhwEvNMPQLdO\nVWFhHa0l5P+/mr86QTpKS14sqGX/GeknEqcmkny85AtWiW4+5IYog63m+FrR\nVFY/\r\n=DAsN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg+T4E1Dj3ODHV1E/dSZZeWHRMiYxX02j4r3jxXsIjugIhALhAwC9w27+C6Nsh7UAhOE4oBWMB/cPpQN0PcEe5grtV"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-3_1586080621497_0.2683267976308916"},"_hasShrinkwrap":true},"1.43.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.43.3","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0a1eef62d655f95fe6d35778073ccc252b15bd06","_id":"sfpowerkit@1.43.3","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-FfhR9Jbwd0KKMTzgah+3FIJx5eoFwtmLv8NPc+4EOWw+9q5CCUS5Uwq+1ai4aF8C+V58VBADSeE9IzooJycVRQ==","shasum":"4bc299cbf5d4994e02ec213594a0d65f42b51949","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.43.3.tgz","fileCount":295,"unpackedSize":1607638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiavtCRA9TVsSAnZWagAAtf4P/0jzsjgDD3ymM8+go+NV\nJImSZo8V9FRFf/pIk/+zs3iD8Su1ufDMGNCFLYxvxSi/COLBHwA7gAHIb9Mj\nG4qyObNa66HR1eQFnjU84+vg8y5GPajMjRbMPg2iVVIqxFSZmqDBODCqBY3X\n92WWy9Yi24jxv1Dz5E71s+OLHASXqgZbfhK+nWCQzDBXXgQFhqQTCJG9NTOg\n4tuH5Jf7LIZgh8J5zQYiCIy/q4rDYgRmMlEnazPD8IzayAwo4fnhBGqM4cui\nH6nusgl6xe/3Ogw5ASw0B7DD+wSB6LRQxzDTLufcQrUEWawKkjoVK8xlXlq0\nJiID3ffCR2QjHUhf/21kB1Sgzh7qX6FxE51j5EPkKVB+2yulZKYDALowO4VI\nCx5lFgHYDqoMZKHK7NqB6RZ4CvUUXAiwIPeOcQmkx1FegZO51kJUz3lAy64q\nerX03kjoDoizFFkuJrVaCTWkWBDSIIIX12jcU/BeobbNicY0oAKz/PL9vMgO\nu+oeDhoxlovgzqaVWGG26HM7PIWsJOJrc6p1dIpY8x5S7/pDk6d9+l40K3ex\nwIbmJ0Vz5O5Jxn1grHEp5liT3bhwCkEk/uOoRKRS6hx0Ys2tBJsO73mV/kCT\n11OjGrQhHVMRSNe+eYcomVSfmcos/7PJgo1zczEYtQYfKObZ1aHDbe1//oRG\ncgQj\r\n=fi7K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnkeXa847O9cj5yjR+/iWBFbuv9xY12RQFyHPwB6wb8AiAJwfF2IxiLLfz2424LeiyOrmhfT485+OkCzLr8pvOepQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.43.3_1586080749291_0.1465749745498659"},"_hasShrinkwrap":true},"1.44.2-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-4","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bdfcedf4349eaf806c3207ee5f7336afe90ca13b","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:applypatch`](#sfpowerkitpackageapplypatch)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename fileName --targetusername sandbox\n```\n\n## `sfpowerkit:project:manifest:diff`\n\nrun diff between two package.xml and get the difference\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-4","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-PEsyjrkRlmkizie4onr2sxIB9Iaq29H2/orIYCdreTNkD4wdGS/QvUbK6LaF6yFpdJHE++xyicgzM3BLdv6gRg==","shasum":"a13637a1d5d970d7a8315b04e762dce82851edd3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-4.tgz","fileCount":310,"unpackedSize":1652756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejRdiCRA9TVsSAnZWagAANOwQAIk+8S4RLaaa7Oot3SsL\n2JRPy5FyVeO2yCLrBH/wtTz394NwjiSDRDDJ42sbpH3Z7GnDYBe+e88nrvRz\nTkftoTYmhJ4NS/IZGjer45KFJQe/QoXvxjF8AndTrBmob1RXEoan8/760rJ7\nGqmP6jWHdpzcoN8wMadLEXhEj8uGvhu127ao4JxOrd4t8TkYCDS+KcAibhuJ\nuMcnkMBqG/8i+oprW4eKqjAy6hqhCTJWctmOnXHdZcq9xSy/jAREyeMe5Wqu\nyMT7ejbXpVU+bbq/i+rTC2pju5oS0T9+sizWy3sS/zUXfoohbREigdNduPNj\nccnY/8JlsG4bLGjYD64uryYSMnS73awY9CyZkbtTaOXBK/R2bcIZxjvjZ++s\n9YEsRuAphRkQlo2igRwO5MOWSmBsYYzDWxEfcyt1PKTEC8RCp4wgcIBpIQYf\n01VeZpi1m8D7SBCcxz84G8lb0OKZk9pcOB4hSVBcfyft6pC54D1WxJsYuT63\nW2mtgAoQ3fKgwDfyG6f4rG3q5WHDJL5yITyoxydafaJLCg0JduUHHv56r3bc\n40IsKBduYDwu3Bs269JojLQ0X95qroLKkTP1DDZqmdEtIBRGdTA3WG2MMCjd\nQHB74CGArOzFEPcLbEBaiFQ+z56G9SK6dl0bIamFXmcHJUA2KgC9h53+A5ld\ngLPY\r\n=a5gP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERyBofC5RYlmCLsgdlPY0Hz4cuiFAOb13xJYB3tncHXAiEArYxmDvtb5GlAY5+iEPc7m+374IleWC54v5zFYfF7NEQ="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-4_1586304865406_0.1430555479228972"},"_hasShrinkwrap":true},"1.44.2-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-5","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"efbd1fd8b8a96da430c19bd6ad3b221fc3ed9fc2","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:applypatch`](#sfpowerkitpackageapplypatch)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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  -f, --filesorfolders=filesorfolders             (required) List of fils or folder to compare. Should be only Apex classes, trigger, Aura Components, Lightning Web Components or                                                    any unsplitted metadata.\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:project:orgdiff --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\n\n## `sfpowerkit:package:applypatch`\n\nRetrieves and applies the patch, This command is exclusively used to apply the patched created by the generatepatch command, see source: picklist:generatepatch and source:permissionset:generatepatch. The command will download the static reource (collection of patched metadata) from the target org, unzips and apply to the target org using mdapi\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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: warn] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:package:applypatch -n customer_picklist -u sandbox\n  Preparing Patch\n  Deploying Patch with ID  0Af4Y000003Q7GySAK\n  Polling for Deployment Status\n  Polling for Deployment Status\n  Patch customer_picklist Deployed successfully.\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\applypatch.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/applypatch.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-5","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-k6WJxCtD6WUkmNEZPBQa0u56luBTws/Vvg46/rjObRGFNPbHxbr0X+l5SvFh79wXLkpAYB48C7NaWC4LZhGjZw==","shasum":"bd5eb00f644426cf8963f885df1b26fe2a6ded85","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-5.tgz","fileCount":310,"unpackedSize":1654460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenRqvCRA9TVsSAnZWagAA/5sP/1ExmdoUSmOMR4u1ltcn\npEKWoHD6dvhOjwAepO4+i4nzufno6fDI+8G0MmQmbNHK2DZbTHgTRXPXAGDl\nrlJFRZ9b6GGR69gecBhZuzGRpe5JTx9xN8u6Bp3w7nMUKj7YTcGQUoKDJtMF\nNvICV81Qczr4my9NGe/G90H4yoMwc7PtYIac6FgvzhK6bAkLEyYq4lqXN6Cg\nsOSfZDnQC/P0lMhyQ6YWmQidseBlYkj6WXXhs6LxRqUtPF1EetxGiJMwO9Qb\nwZqGwyHRAGRpyXqoeQDdOJTpgLhVlKDJX6dJihk0yOlKINYZMcdDdMo65hGi\nzzwmwfubOKq1hKhBLV1wk04HC5PTFLGBGb1CT2UkhfyV6P3okGkYlwLbpOdp\n7+p8Jjp90abC5Raw735pJj9cj0nIFR1SCucQpFSTCzC74m6ZT/fELiyFzN8C\nNIKx3JzTya4VW8mXE0mqC+jauh18QqLR9zFMnShK+EJvOBBIZPP6XaNAJ7pG\n2VPf+blWXtkRtWJ1MFxrmg83Siwporph0zwpKo2jofiVkcdpGuqC7tCFXPQn\nFVc+loZxShCFo6fTyf4OOy3u03p7ieSkt+ppANiEiBLd3sixzG+k/EBRRqlh\nyNo3pyX3J6ie38l6xVvp2Wwq35kHL9y2OtZElVfwHNQ/643KXm8zsQfPbbtY\n50cr\r\n=YkLN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2VXe+Z5CDDyfdsWCUHxJoqw1ChaEGuhL/YU5bB56/HAiA/62nbCllkUwcKFz1FTNAV0A5sAdULsSpNd0uQGYCHuw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-5_1587354287104_0.41022396652544946"},"_hasShrinkwrap":true},"1.44.2-6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-6","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d01934f4d69e36465816cd44bf5785df8b25f5b1","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-6","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-VWGV5yDaMxfXR9m/WI4QnYM7i1j7+XaqZ52QkzDAOC7Wyb3ElXpsaxh2FQXxcYIYUiNjYwe4ntkrUaPAxjGjZg==","shasum":"413034f76129e8793f6664bacdd94ae841cd367e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-6.tgz","fileCount":298,"unpackedSize":1590982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenRusCRA9TVsSAnZWagAAo+4P/0bqEWWcjlJmZy7ovvmp\nZDIvazrYvX2BVg46motZDtzk8VOnQU9F1udLL+xxEIixirL0Y2qRvI4ol1H0\nxhg7wnXGMP9Vjy51vdS2JJFGCQXQYJtrTLhUqc2hXnyPYWeb/JpU4MOAaLRG\nsEzCBNAZAK7oAQzQLtXQ97oHaDV3pR22fEbjPJNi4cf4LFoPP/aURptLRH4k\nPv+3+7H0wRymvJ7QEI30p9N1r8djEDNHXsOkt+V/mzGO2MncY27A13BSUr9X\nb+oHIeTdiItTFGxXCF2CqgyDnumyuQCiTgCkLk4BiiXT02EpGK2JVbjFPtbD\nmQPW4xJ1ioNaRjJj9NVcODbc34H1r1Kl+bZ4xQhuxdHRFdvn2aekYmjvl8FP\nS+Z/BqLj1M9QzdEFL/JHgL/7TjtYVhVZ0RXpbwdnBrPwhw+gKl7m58RIjD4J\nhYiEooMaKWhU5szBnVTPJt6TIH3cIaJfoT0sYDEQZaXrUa5jboN7w2PMo4kQ\nM/jZzL6MGybGTS33dAAVRymr5fJO/HEP/VBCnc/AdCioWkURiKO1QhnDXT0y\nSw1Bo81IPiK9HQJGUep/kb20p7glINNkeiD+/T7F23dqiNNI8xsbQbHeQ+HR\na8bM+y+FcBsEiXGhxKTEmfR2rRqr1HO0tmzdD2RbbZTvYe/DU8U27Xk2biuN\ndoqo\r\n=OtGY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICGd1vHrEWQdck76QpnNc0j9Z0inI/JQ0eiRSn9ZKY7PAiEAmbNSkVzwKAdlgTsu8dYFz9kcR2yI6sbrDdWmYlb+X5c="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-6_1587354540213_0.9712973810932748"},"_hasShrinkwrap":true},"1.44.2-7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-7","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0dc25f8f89d9910c48c7a24721f37d1367b3e524","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-7","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-n5XCvmM7i960k9qZwnxwdPhr8N23CcCWVBtwWsLSdzSEaaioAIo+IRaATFkmh43mWPE60qsJmmXV5y3YI4tAtQ==","shasum":"641e737c87c2fda6c9399c23a1d2ab44fdaf4b65","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-7.tgz","fileCount":298,"unpackedSize":1590982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoOe8CRA9TVsSAnZWagAAhTQQAIE8VWTKl7wv2Iuhw90s\nF0mUt63Pa3+AWOFVklq+gydfn16B+VLO0O5sEYwPtCsKL+8ZGubNlTzhn0sR\nJvBhbOG+tee8orNIHZX9FN7L1koWiTRq4jCRvrcyKAzqOFK8Erqjl5fqa6nK\nzldAPCfJNliSvlDgR3X86ZIsKgVdD27BmjyW5L5atsyWTM3vCvJWP8cH902g\nCy2ChuYeYrhj1zz//4Y1gN5RPVA6SFpXBPKtSzPg7Gfs6ARbcm3nxKglrU1o\neIs2Q9qJDmqMx2hodU54bnpG0knhWOx7O9CW2UKbWotFFIOEa4z/KLsufdez\nt9b57RY5L2+k/OyDFKe4Wh6IcJOf5iILPLMop+F3oN9f4E/+ssq7SAVpylQX\n4c21UBEGsiciqYbN6jHG3A1ohuEF3U3xVzYBJjFMuWe0ZwhY/z50mDoWTH1x\nvRxm8Wi0E1mzMCLjXYXjsRejACbw4DOciDkZfDS1c2EQsq6sPonPjG6PeX0H\nbs+yXXIzH/q1QxbDlC09oQMT4h40YFFWZrvO9mC846SGF4TFKSTvL7mzvzoQ\nYccjnf3DdhhOGXJadQeKDD7vOV9JrXnuaJBkDoqA8LQB8yL0r9Yx6nTGK8AH\n70Jl60wxgUKS8cvlBvGifBAHLH30pL3vMlJeWZcjI5e90RAeNa/vEkjc2DVN\nzJ9L\r\n=HG7P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCs5mVs91EiGHJTHPTSbePZGP5UvE2jSPehsbKpPPr/eAIgFPDgw9VAFW63Vor7B4JLLBqzg6pMvqjSh7iJPpZp8Tc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-7_1587603387728_0.39202134373664377"},"_hasShrinkwrap":true},"1.44.2-8":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-8","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e388eee046d3d7d92f3f5f2770c08dedee148d52","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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  $ sfpowerkit package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-8","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-7AMH/DHbbU8uhvnl3V40kAM77QAYrRZIerfb1/tzrI9x3rbpga0uCsoJMODgMOSWF5JYZwZArNyRihzwDLkNkg==","shasum":"36d446bba0662aab5a5d2ed68016c72d1235a402","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-8.tgz","fileCount":298,"unpackedSize":1590982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeo2wACRA9TVsSAnZWagAAfqkP/16AfZUTIPOLeeqb43gc\n3Z1rvPcMkIY503DvOeHZJnLaDBG7zVBHssUGAgkWSZlGgdEDDYs25HNQzB2a\nZRlipxWK/49UDLLZzL71fQ7OLUNNL+7NUArxw4q7WYuI66wl5QCKN0Q+pCvq\n3JuxQQbfCusuIem8miryksZwvyV3jPAzrFTw4TgMoX+IXWuJa6wr14Rj9A8g\nkPD8/f8QSSjRLlxeQvpG6ic4zm0vJ6CLWKFUxZM9rbphiu1Dy1i1dmbJn4gi\noXgGnJKPpWi0dJolT82EnbWkzVjSUPltrXHoj0ScCaXeaoh15WnSpxhycamS\nwONcDpCQMRFAYZpBMDetJMT5sT2l1ciVHGd6LUR4xgHVmSEE3ru6r+/gBuBp\nxqAXX8e2eJhj/8nBOeNoaQuWlf7ovZGRU4GnKDxF+3YyPNNhbvue2+4V51BP\nDkES9gr1wdYv0y0Sr8YGMoqzJw2cq7YtixF6jKZO9BPhHdt3EchkR3odZv1n\nyWcUbO1iEDi0XiyYDAzrV2dt5657fuPOpCH52UJtJd2tkU+Swq+HToEPfLGY\nlVIj1/7Fj6YRj7tsqUhsw+RioAFwbd9coABZldLLnbzhRQleyM05mPfTRLZO\nG/0lg3vufmLI0qeR6LgoG1CBwPS8+JDByAbP0nL8nAo3K/ltkzdexSx0+mDU\nGGr5\r\n=CWbY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuuA3sraMcd5YjoZuROiwtp+FZe7tQFtN9jXDZwrkT+AiAqRqUsOVkzm3LxaxQOEI0wj/mpkS1r3XXyE72Tp6f7+A=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-8_1587768320384_0.5333996280753559"},"_hasShrinkwrap":true},"1.44.2-9":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-9","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"32828717f5c95f06554cb315cdeb4d8d2de7e286","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-9","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-Hd6UyFGKPeRefu6VpdOl8thfPp4l13wzD+Ii5zX9SvN7Ejua2HyL9JpkKSWv6ekhbgSmDFZ6p91pJo6gQjTbCw==","shasum":"dab6a4a1536c8e5eb6b81587952fb48185443bd1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-9.tgz","fileCount":302,"unpackedSize":1593674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepQkuCRA9TVsSAnZWagAAopUQAIcIfaVf6saZBK5BXqgE\nIGC+CA9/4Ei1VImqffPXGvZZbrjmbUbhAhkXUTpmVsQpiYKNwToXnM1QZhQo\ngdvhmEYiWHqjPeqbKldIbvc2VmwTPuGpOKSNTQs2L5gosBoCfxzd/T97se0B\nvAzAim53yQwbTts/R1t6QWS8hySwK4CnzUi51Mcc4oDJGZkka4m8ExU72gQX\nsqyc3vB6ipU5NpLgnPQr7uhZlSkxiCbUB3DsMUuWX1Dwd029blC+Fd8eStnI\nieVuPmQjIa+WBpHsmR5wX2Hb35AZPgiojBKxy+DZx5sZLFZtGUrj8xD3D2bH\nglit/YnhI4bnhCbOndrb7GDeA4WWiL32K7f6Ud9qxkkUbRkqNYlD2RbaTXD0\n6qMeiq8f8r/K2ny2O6cwkDE0705pW7qoBEy4xL1lwSx028P6njEXKGlPuX/R\nkskiVOMiq2d9KUfQoPcIoV+abAbajgsK7X5zUdMOsxbDOqZjKqtmUfX62hXX\nuhmfXyfVE4tCjQlnoC7UZLqri7bFLezVEEWBgC3Fg6Xqb4M7GszxFkMfE3iG\nygOru409v9YzWHgdUIMKpdQUYEOy59OnG6eGsaztdlQVPxx+3pa2pkIG8pkf\n86+sqP+qihz6mSC8zDAofbeV0RdTwTxfQjrZHgar0zc94rZRlMvjJdcUt55h\npnvg\r\n=H60g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA64ycFUqILYdvAHBYkZ230de4qhXV7+N1aIc4SAwj43AiBTxlWSQ+V7A2WmEOSy2a8ukUdjrkfTAQTcVPOXuVNYNg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-9_1587874093777_0.8087624346965614"},"_hasShrinkwrap":true},"1.44.2-10":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-10","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3a1e27cccbf9de747cf9628387300feefbb66531","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-10","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-YrXEhRkSRuWHXWSRJQNfn/KYtAcTbHVFyC+Xc0HY7TgQxfRipXLOnoKGD9Z92ZZ8UHMIc7mpeCAMT+iKqOAe6Q==","shasum":"eda36fc402a6390d5a48919e09954158dbd1b0a9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-10.tgz","fileCount":302,"unpackedSize":1593880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep3TaCRA9TVsSAnZWagAAUbsP/3zVbvAkRKg+PhfsvvhP\ngF9gXd0P6BHX6Zt7F2X/DNY8t183cCgd4J8Hjwigb1/LFp1r+/uIh0RUTH6s\nf+Hy2FUTS9aw1kPM0K1C/8xmfCM+SHnWA3B7mKG2zeBTv5kxO1haXCU+oGcK\ntVGDK90WkhqvZnFbRnZlIP6Dh5JFSbDJstkaeT1wuF5yHvLg57AkIHFZaYm7\nJiCm0Sj4T0Y7IB+bmCeVGrdMXwToSWJFQp68+EXN9MvCip/w2ihKdDZLFE98\nvtv4C50D9qmJXtUUE2GDUbYRE6BO9gZVhH4zMAUQcNDLS1usekMq+z7yJX8T\nl0ukL0+A91f5vnHmEBsc/hTWVV6noTDS6kZE0lY0S2U+I7hgLdUVOJJQYJh6\nS953gRBxb51qb8AJmxQxjk0WOWD7tcP10DKaO+3ZtSE45WpofN+VvJxl52o7\nCONXoErtxDvJqDQoYDTnqPyfalsw86B9L1cPSI/OojEhyOvPNvjA71Tcx+xE\nAZI7Q683pOAcv98/YbpGgljFBojPqGN5kaqAZYFyLtu/32jx/yF16Aecq3CU\nHoJE9Hv/Ger6tX/LG8/Giwcs+TUsffo4ByqkxFWZTBtfOCx5J1OPPrtDenod\n+14Q0h/PwAM/Qf8gKXo4lRelIUJvmU29oqg6jtQrrFaAdn3pNI5QzW49uidy\nJ7ZV\r\n=1UHQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWnRVVljMWmerNI1oNG7elFzRoeY7YtVkqzNsl37RAgAiAcrHM+8lTdIfYJA/+OpI0xxTY2EszdewA9gSkpbzdICQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-10_1588032730064_0.36558963253759513"},"_hasShrinkwrap":true},"1.44.2-11":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-11","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2c059003138ac008a534e911926f07c1ca002cde","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-11","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-xIEkr3CL4O/iNuobBxw6ym89EHFRnd9pU2fu9BoeQ+Q0sLXSDDHHHovh81OS9cKpWLF8XlBAz9wqNgusb1TV2A==","shasum":"b72c7528b6baef1f9006b6277a74fc35cbfe7e8a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-11.tgz","fileCount":302,"unpackedSize":1595110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqOwgCRA9TVsSAnZWagAAzzQQAI135cK8ie4YotFBNLag\nESLh/bfhh54W0o5p1LnA4c1joCUOflEwmRrOoFM6ssPgjqxLD2TsNWo/R+mw\nJVFX8jeEpBAtnpNV8xJRVkIhTVqJtUg7441kwwxqvLKLZpZG6Bi2O+PD8aJ5\n5EJun2gORW6YSPc7fjg6YT8iu7ggC8XcnfX4K9X/xVNNL+cfDUfqY7A4+Rp+\n+4tiaRNZUDtOOcOy0UPLNjXECat76tV20+qurX6/0S25iC05Dtu2AIVq1tDv\nvit3rgOO0hDTsRkknRmmdujzv9+izILjXUXWYN3AD5Z1Cr7sMuCBTgc/x3BU\nRTBjY0MBmXwj05EdUyIQ31bGDcp0orV3fay/MqHyumX9wYtngMOIg7jjdTSJ\nKd0Gb2OaiDe1p+8YsBmzV0WvyWxuQ2YS37TmedRM3TtnX6cOIJPL/Fy5WayK\nua3t4eigsGcRq6+wxMaksSm331NRfuc/KXVrOd8CdYDrSCz2R1AEbQ9I/7KV\nhut22VobbvhxG+/VAOq6e5gjtf1RL6rZiVHjwWBZoh6jLnyo/DVdCMIg4QE9\nDPuIfeJOu1DugDCLFu9F8L0rV829w+6P91N5Vq+D947YLc28F8qQJU9XoZmh\nG4tjvCTk50enapFf8bbeCPBo3LSyvt0fZQeieWaYYFzcmjaB3efTsMVqptTu\n1hUV\r\n=Rrad\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlOXRIDAISeSpuD59tCK5sgd0J8N+09MPTM9qcl294RAIhAJISRE3oRf5e1Q0V3bSECFZVMVRy/C2DjxGUDeYFLVgj"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-11_1588128800498_0.4416675726595367"},"_hasShrinkwrap":true},"1.44.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"35175ab152d9f244ab3239be9795396d1fac3d53","_id":"sfpowerkit@1.44.2","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-iph5g80yo8A5lK56EJYTxzR1CdJdzZguTDQBv/7YA15KlEAJNJWpjaefnWkwl1Zot2ABQD/Njea37Kj9c068bQ==","shasum":"87b7e9d1ec15a247cb63b1625b2926437400e591","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2.tgz","fileCount":302,"unpackedSize":1596239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeq91dCRA9TVsSAnZWagAALpYP/18FDfYrX+XjXFIEmybh\nztgG06c4l5B1RiqDR4mR3L1pXBe9KTiFsGUzPina9tOMJjhEHLhNWWzePhW8\n9+6TLJwO/rnn472ynKlQX1zCzc6HMn+IWltprC2pg+orGu4s0LpRA/WVGhb7\nebzeSEvgjGtGa9D+SLnQcDzQXBSCbI8DpGvmsAGWNYIYTsd4HZUpBIYuZI0r\nzxGysXf/a/+TRDrApkhyvdVFw1DxX5+KOx1rmNFpth+6cLQZTqPpY4vUw17D\nWvGIB72XgdO+LWYfHFhRWRCmvCjysG1lajmwgbxnMDPsr4jUEmAo+r70dfXv\nJ8LkF20nQPMDxjMz6hLT3IXzvIFLrI9J47m+jP3Mlbt2xPKKRwmMXixATuBn\n661ExM7XpReLDhtXItdOgvqOJSINUb5Y8X0ec6uQtoyopnaCA3Dx5vHOc2pZ\nP5S776iG6Q6Ki6TW8kpXP4WMTwjqwYBdlXq+C2Di5ysAe3ayHmcFeHpS2xc4\nV64HgC+y8YrNCPaVk16VLPGqoKOlitHDPERwI2b3VoqpActNz1e9ShewivAk\n605MiccAPTMMoNKNEVZOUIHFbDBySyQne4KloHtJn3gedtuBYfElHRlwWZh7\nMq8TPPiolyOc1r+S+rEWRQ0Ldd9+4Mn+x52abnEfBFmP82h1Gv/JGWTajDfj\nPuuI\r\n=rkK8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrEJMy35XhgAxid425PUNeBNzo4dKe8pMPhO/Hz9RtBAIgFb5cv5kFlqzjXwo5i1z+XoNNmv/4CO2xQumIskPT9ig="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2_1588321628790_0.00782659592210111"},"_hasShrinkwrap":true},"1.44.2-12":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-12","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4f417c59c0dfb4bcfbabdf9594ed24e7cfedbb4e","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 -f 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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-12","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-YoNgCo/iyTpr8t0V57HH3O3bEPllQmT0gD7SkxUgMeUYEhxCY3PTyEpn/9Wv5mfoD4XKK+J0jOmVxTD2rzQ0Kg==","shasum":"7b98c9515a9a89fb76fe40422ddd9d3ded2223f2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-12.tgz","fileCount":302,"unpackedSize":1603739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuI4ACRA9TVsSAnZWagAAZ9MP+wcJnfOB4gJX4YUt5O6A\nXPK0HB8WWBT2jD4jDXryzhcIgZd8hTGzrkvTNvS3sW2qrW0XBzS7sTzpyRbV\n3yWfCOcHkSxBcNjeJoRGmHQS86ufsMFmzoW1kAm22S1HtLAEYeDfd0e1Exlu\nya9ay2rGUDl+tWbCRW0fazY+pOETo18TDbjdxX6sB1TxShMa/zzxolGeoFWk\n0AOrYxxNk7LtYz57HnVG7FCbhp1fEXCikP0N2OpfqqaYH64R/0mVBObhmPgv\n4yjGNhtAGkL5t9emKMqE05Fba4UMB8/xxvVXeJ3SgF4A/8EFt28UDe9+fxBO\n/qV9h5LYbwHvSoWHQ4zShhRdDsf9ztGeDGRa0N/HLlQYR0s4pm+hHhUELGNI\no4B/Ea0GQl593SQ1SbNcTevFQP1fhxhqEhTuw8/P6M7mHn0N589hdaNozcmL\nGu+ethgSYIHJDWvNJuA53+NVvIqS//dsI63/IxOBptq0E4ow252Z1Kd9Sn0Q\ne6wS993GEZTbYVx9kKj4rkXj9kc7I6IyRaYaRAD7cRkMH4mN9EifiEel57gU\nc5j24mFYosLxRpvvZSCsJXapNufqYlGaGjdhw9ZvC+OB2BeaOCniQSHdRM7w\nW3v8KC9SOOgGmYxqyKdzbNkHRkWOfhNxgmgaA6T8yohwlQDA0+Wo6ZyAc3kk\nNAO+\r\n=rqQb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYrOMSX1ClKIC0LdHGvQa99RWuVwdYsDwCPjNNIayNPAiEA1QFWk9ZU3++z96dwdlEDe2EoDG2i/8z7Hbjajoa9cd8="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-12_1589153279641_0.3977873933897078"},"_hasShrinkwrap":true},"1.44.2-13":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.44.2-13","author":{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},"contributors":[{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Eric Shen","email":"eric.shen@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@oclif/command":"^1.5.19","@oclif/config":"^1.13.3","@oclif/errors":"1","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.1","copy-dir":"^1.2.0","decompress":"^4.2.0","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/bunyan":"^1.8.6","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/request-promise":"^4.1.45","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","ts-node":"^8.5.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to work on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"38b3df2c37213ef44bee787b1456ca4a490ebcd2","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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:auth:login`](#sfpowerkitauthlogin)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:retrieve [-f <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:source:profile:merge [-f <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:diff -d <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\n\nUSAGE\n  $ sfdx sfpowerkit:project:orgdiff -f <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\nThis command is of sufficient quality, however proceed with caution while adopting in your workflow\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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","readmeFilename":"README.md","_id":"sfpowerkit@1.44.2-13","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-b19m2DYREeT0RdOnwOqgzTZUlaH+DvF0pHRxyaxup6OYzqJGeS/b2wQPXrq7PD4Ai1ZgEz5+N+C/uGHAt2Tc4Q==","shasum":"6b2bbc3a888a7c50c20abeff6614c6075ea9ce5a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.44.2-13.tgz","fileCount":302,"unpackedSize":1605363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevQJbCRA9TVsSAnZWagAAq2cQAJY3Z31+LaONHakVhuIQ\n2YcRb1PxYLKMdQoWV4X+BEONByVMVXhIhpwBi7XxIW3ncje9XYaSDnhPk7WC\n66UWccjnG/4leDeAM0w1oqOw6i1kG3Xuk2MU61yFpURRjBKD9z+/3SkSBcMe\nyN710/Z073ObWeKiFtTW/A5rDf+8r3azn4KxGumEUXW6DKo6BAtOWoijqviw\nYsdifxgjbn0fWZUfKVzXlywliiLqCkAz1NO4RRKmMLU3VvWoAOJyhz/CHj1Y\nIxm8aDEfCQ81LWKPL6AsQ1Wg10Uzo9HO7c3no70uegqge3hfiRVrGoKZw9/3\nM1aLYREbWsqOjI2/TcwVbRRebeQhzgTNUGQGAaEUAiaEZttq7S6OfNkxgBBI\nUQG+nuJ+qwDnSH6aue2webm0TXBvtm3HTjVI4WX9hq+pDhRjqe2U6KqpAvg/\n3VBHr+59l+OSNwQNcEyujQgQBUfCKi+pUn598pTpCG3z/7wEB1p7ymYGWfie\nII/JdItrk4B6DRMtVZhLRH0jxeFS40V0/Gu8Y9Gwj4wV8+8cnbcwQb34rolW\nxD5MZcCUw8mqs3XTK8o+G05ovXH/ljsts2mlZ7dtkukxoSeL1MZ7/Ph5vxW5\nw+nkaW5u9f/cxjOgsfS8J9vxcvfeMHHX81xoQm9DityjlsckKPZIrT95QlxA\nuTal\r\n=cfy1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHJ5a7e/YxsncCSp+ehadRZ0Szfhq8ucoiGJp5isFBrAiAPfQcKNnX5IDssgaRgR/abqEi54886oSYfZR4KvahxEA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.44.2-13_1589445211231_0.7651618608125099"},"_hasShrinkwrap":true},"1.45.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-0","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"00599da5887a1a8c31204b3623d9e74ee49db3e7","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-BSUh+ynndxrLTGQShq+oGvU4No1lYabytZyoWSoNpCMfcbXe1LBoeUiiwqzsmqyWDJmHyBLoJ+b+X9rRo/aLww==","shasum":"d1d733fe2e657eff18a9f868ddfea0f28853ab6b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-0.tgz","fileCount":340,"unpackedSize":1736206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew+MrCRA9TVsSAnZWagAAMCwQAJrkCJrcLLsJ1r76rSCH\nb030CEV+mUPNejg8hcU4xCqoiWhHIFUZI/lr/JgwVt3VMuLWBPh+PYBBHg6J\noUtclD9vKaGLmcXH72FL/A3T+ZJhVmK+STaxHOfhuJnTBRAzVMVI+YyX7W6T\nrfs6cAIeONCYBF8vuEq4A5GnjwCF/pYnX/4YY22+A4N9RSDB8Yo1Pay09lBY\nYWy6GY4FHNHLuWcr2Huf0wH4XtH5eECKv7qeP4lWEUrFQCQhvn+gVYB0f8SH\nGpbeJC+VZZKXpHLamP3pEAcLUGIb1TciDUepjux4Gb7ZFDFnFfp19wmvw01P\nOB0aNGTsf4Md4ZIogdyuC3GEx9PgLEJy1TuSRERtCx6wC7Pk0PzqIciFggy3\nkpAvylmnfaQYeTstbVVLPD+dEsfoDUCUbdyqyl9Kz1oQRMa+Wj0ZVpKHqWL7\nBTaDHuDOuYtUJrzCKqZYlPkVm3J7lxl0rCZyEcyc7UBN00ZxH1Mxd9CjBrFy\ntWaJiRM603tvv76xkTjW/aUTaiIoQahjUrmwBrQ+vCFqaTHgbDif3Uo40U2Z\n4wmOMJmpZNDL8eNCa6KyW4V0qisfJLNcwK3UlZjRpTVGqZpauRvruuiwO7Sr\n6P3SnaiWFCT27ktqMpT2DPw4F5nVCUbkSQPLTaYTmpRNVxHsbkg0O8GKlBt7\nN1fI\r\n=UAAI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5Dm/hpHsjUbCGx6GFKfoJbFpRuEjWlQUlRmmXnr6mzAiBz+tCtBEzXvrJK9fIHZ/U0IylffqhK6hH01WTf3meePA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-0_1589895978596_0.2541259531939255"},"_hasShrinkwrap":true},"1.45.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0ea66e7dc774fb357f3d72b2c8af7af9c1b8cd7f","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\n  - [`sfpowerkit:org:orgcoverage`](#sfpowerkitorgorgcoverage)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/src/commands/sfpowerkit/org/orgcoverage.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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-1","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-ATFefen0JbzM4GTcR3SqVGybNbbfPklSOqoQ/qfOFrsDE5Is9pK1LFcwKn9yjMV0Nc9izpGfQYGiiP7wxl8Qxg==","shasum":"61f06800b6a77d6b39e6d76be3e6b4fe0a184c8b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-1.tgz","fileCount":340,"unpackedSize":1736206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJex5rECRA9TVsSAnZWagAAGmcP/0/XggIv1gfarrjWrZiK\nEJUU99xnhPMmhMrj1jKBVcBxUN9Hk/Me0zwpl1EGAHitONEUEzDlxVegnudw\nlvLLK17bEk+/RB5KNk01Kt++EBvJOj3Sub7RIwOofnTCAKaKKV5pqHO3W0B9\noZFEF4grC3INSiAEgrjMbnnoN952mr9aQ6gFbqwxfxJmwIOnOfGGVDJSHkSX\nLMDl2oFDoGYPBM5f8aWapllWd/T4ljrZZxR+Re5s3dPtE7QCa1hhkM2FOtlC\n1T3ODo2s+cqmai93lotTy+uTcc8v6/VO+GyHktRaX2Nkn5/8RFjX6xkkpOGH\nBKI9XXNnP4YMDSreNbkF+6e8Lqc40h5BVzrWwKNgtGnmvmv7f7+WSwdn595y\nMDJBLPA+By+krFm+Ha7HpAOPFe49kg/4tmOT6dOOJUgX+eR8LS2/N8t/NP30\nf+oyJA0Ml5UEFZXNiu/ZqpIpes6WiS/3y8DbCb7iGlsW1pQaifu0gAybj3kH\nQdJ+CQq6jvGMZQpyr55zFR96NKerNcgO/hb5cLat7Nw9rsb5liAF8gfX7ea1\nkMcCao5CL36Tj8GdErBpSJ0B2J91r4tBtDjiuDygALKxbFrZbi3qN1BVVXKR\nXLeE8vJpZYo4d8IrNR0A14Rh+qNWMOxoq9DUaNLxjn5oIap0zGiTzOgg7DEy\nlWjZ\r\n=LaWx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZNt9btcJ9Bsg1k3AyQdmGi55GKRU9PZrtmPA2BJcwyAiAcIg3fY4y4iDo8QaqhTzvg+nTU7ikbIPjMcGmaTe531Q=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-1_1590139587536_0.4393425684738679"},"_hasShrinkwrap":true},"1.45.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","@types/diff-match-patch":"^1.0.32","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8b0de5579ba457830060d1202532e24a2077322c","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 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), packageName is required when\n                                                                                    packageVersionNumber is used\n\n  -p, --package=package                                                             Name of the unlocked package to check the code coverage, packageVersionNumber is required when packageName is used\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target 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\nEXAMPLE\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -i 04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX,04tXXXXXXXXXXXXXXX\n  $ sfdx sfpowerkit:package:version:codecoverage -u myOrg@example.com -p core -n 1.2.0.45\n  $ sfdx sfpowerkit:package:version:codecoverage -u 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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-2","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-VylGurMuzHb6C5wVzCZgs6agtwJFNXeeWn7p9y4NM8uSl3YtW8Aet0PoGjqMvaK0oAqvb0S9z2AGDyk+agEc7A==","shasum":"a399641f794e4d4c9849fcf174ba39a6939ec72b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-2.tgz","fileCount":350,"unpackedSize":1793221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyTMVCRA9TVsSAnZWagAADFEQAIfQh9VS1zD+XJmAwb+L\n7eiirObuFqyUJwOuX+4vbqLLXQjlkKZseEhFZ8LVIdzkA3SOElEfNQOlazDv\nQ9qTtgmFxuMqmxvK+bLfU1XyuLD9BDjpPZwuSuMh3KLCWNEYZ5VFOtGMN8zr\nQ3hW0Dc89DfzXG0fqps6993IckhyTtkf8a5nAb+mvrLWZhN0xdT1RBQ6m+LM\nboYwq9KBNuQfkc3ee0gmfFdH7rSLA3GU8+lIfKr3auwvqOsN6QlJ0GZs6oHi\nI4P5TFW0K3znwRBJRUCkBoQ/5Pw6WamgvIxcsixEKRHvMiNYNANYpFO/kCTF\n0y3jJ3JSbuq/3siz6VubkywB7gEm+avRIMnkHkeTYvwwrOVCrvyh5UjxWBm/\nWe5cJXatFwEfpD/qO2dGxXijvMPrDm2suYGixG00K8ewWf8NuUfeL9tJpUTY\nTmFyFzEmj0XAOQpfjLqxDyEZF8K3W3EyB6N1omSNDaQlgL3PHHGRWkGQ6VHo\nuOReooc26SffZD9MzmtcrmxzJXO1K9Lq2HCzCTYEH4WJywh87lC9Ikx3LBFV\nKDkbdhhuBR+EcLgSNUa0fnj1xqc15MuaQJtICJh9lXqO9IYU0LHNsLw/uEf3\nnfSEHnWYNkcOSslwubeX/QjENBEhJ26foRpxMiNwLkfq4KCSIggVNdCdjg2/\n30l/\r\n=F5xz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD67DtXhXNaEEgUykLkCvI+LkK2U14jMRIhG/Z6pJipfwIgDsS1eC7KYfCkaKjwzTQ2bf1sD2D+dECi2hhZkOtf054="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-2_1590244116712_0.8021602475037879"},"_hasShrinkwrap":true},"1.45.1-3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","@types/diff-match-patch":"^1.0.32","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d230405929d4c3c8b9eeae78eb0f351ab701cdd6","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-3","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-bnV6gUQsaL0/3dh4jas3VU+xf04eZen0mdUiTw7mLPCqiupLbCJkWYIso766lwxaYSEr79WeiJF+hO89lbMDtg==","shasum":"22fc018b8b2f3a9ddda759cc8392377f19642928","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-3.tgz","fileCount":350,"unpackedSize":1793333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeybFACRA9TVsSAnZWagAA6bYP/3fE/pw1c8LdW2UA0A9d\ntw2FyC5+z1+97AQnS9QKTJYxkkQgb/OCY2zYhpp7IR6oGU9aR90BQhIlWydj\nvm4hrlWGq/Prw2px3/chLYsxK6V5j+xFaxbhxScm+cmrQHjtiDy6xEoWSRfo\ngFYDmAuq91LFRra7f6q974fn4jehqWIAH5+lL7Fps3HFmO/K1RPSiY1fBqIh\nn2m7grWAQ9xFp4e9F9Zc/ZkrWrDfxDVzVqrYDdFe4glhW0QAAyMWfpHi2Xl8\nNiyu8ETOsiCR7dZHldHvrxZn9XbtxtRaWe95BUb/c89XsxsYHwXq27vAqnD3\n0hqOHgKW1EZ5jT5q2buSYPIXeUMo5VIIub4OkMYesulRurfslNfoVcHrkT+y\nK66kPC7XEJ/x7pA/Y45UMFyxa8tGT/Y+7cz53U0YcqThAAekthp47/m+8nxg\nwRueLcwyipmfSlk9oBcsBXGhwvlmasswcFlX+8siuc/tYrJARCwfwht5KeoE\nxWlgfxqfatsFYrT4/yWdV3GycKHK/VKZGr6xQZyyR+wEMC/BuMtX17mOUSA5\n4ZgyYTNv0AfXKV2SwvhTqSskDDRnKV7hfPT+j3Nf7wKNqvOADzyLabn2P6AB\nRFSnsj0Grq6Sh5v2e2AGQGcCnmuoysqHVyahoM7TDRhqclah/eaXPMYvKYiT\nBUD9\r\n=s/9J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwPegQmqZWbTr2XLiEN4C3ScB4ON/unuWW1+UOu5XtCAIhAPOInKq4Y/AojnuOv7+Q4aNSM4bi5hSyXN9xjrKzgftx"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-3_1590276416130_0.23365993130754226"},"_hasShrinkwrap":true},"1.45.1-4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","@types/diff-match-patch":"^1.0.32","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"13962aef6773a81e57d63547d1ae8f63c68d8b87","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-4","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-+fsrE0eBAhdAUiv/3JDSrrFyPvnRFxD1rM/Ls7wNttRwAseed4PmMqgcy+uJi9aws+qkDglRtstI0Znq8pA1Qg==","shasum":"f2e48676d849963bf36d6b47f45f4f0409c4fda6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-4.tgz","fileCount":350,"unpackedSize":1800905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeywyvCRA9TVsSAnZWagAAZZYP/2HYVUzv3wvYL49Ob5tN\nFiNcpv/Y7Mj6Eda/k0EYm0urhrbbKvoVy8rBRHtSltWKnTNLf6A39RQ3RUVJ\nNVjzpz1McH75urf7m4bzZiQPNl9gtziwOBLmeLZ7Cu3Incn65E6MdVKk39C7\ny4eR9qn8ieyssyaZcN+MhRyirXXZdUR340SStUYC7nIBq6cR1w3+K9FvtJ8J\n3Ieth3n46b86BQeU2mk7fH45vuEGUJOEShEOTckZDYvY2Qv8mhY+4pQLBrDT\nFbFmd9AxytZ/GmJcVXwFP1KP1pYawi4rssdY3Ne47zuaSFdo5I8XbuTX8FPa\n/nHifbkV1PqqJ6/4MGF+1y0XkDHHhAbEuxh1/1a4bzvVayzvj36QrPfCiXrz\nDICfALOW78MJinf3bc0BpmsbfV/yncwan04UZ+fO3T/OLgOeV2aJarZsPZt+\nhaohO7FYi/Ljznz9rX7bDWlQ0Tw8nSNw1O1X9Lis+NbM3apjPAUJa5KBRZOa\ncGg1h96AOVVC3NUeebp5h4ZagI/KjIu3nKd27J/jjfnU3eZHVznqU5A0Tra+\nnA3v1HoHG/5ns3opMOtLwwrjmrPLAVD9lYiQcmayyQ1+xSAx7cEdH/iaWi1G\nz1UP67lu3L6cJWNedVsgsDSaO6gTIV0cbwH6cKT+sPrtqAeyaKlOTnDESNAR\n9OD/\r\n=p4RB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW9CT/7ErG9DjJckvsTOauwxj3GYPNuUjFGFQcy8kvUgIhAPA5D6jzhrcKZ1n566YIplCoZ07urXh6TFCcgDFQ465h"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-4_1590365358768_0.2120248261591562"},"_hasShrinkwrap":true},"1.45.1-5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","@types/diff-match-patch":"^1.0.32","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1ea446d52883008a375831a55d3671cf6d3a2b14","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-5","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-HOBAPw6F+ZC0f/xUgIrnPZGlGb6J74i9ZxzaXHJ7xIhW6Isf2LgJo47acR2DR9j3gbyZISyDhQoOV7TU3jZ+1A==","shasum":"15e5adbcc2e6f29da97e7574546eaf342cc160f4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-5.tgz","fileCount":350,"unpackedSize":1885483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey6tRCRA9TVsSAnZWagAALVcP/13DTz6fg2y2CY0PoPrM\n3RLpS9Hjx1oWc1lpoHKh6z+0jap3FVtOOhnicQFezlw+khimge3u5khxTegL\n+gQhQSMKw1pDzxbJsJR9yhc1mgsD/pXk78uts83MqmmW8CmGtMtsdi9jgJFu\n9sdO+nDWY2hvJk5+n5MuvyBQjTde594+REiDfhPFmmOGFtaNu95aDzp3y+0B\nfPEbiu0gHfnJL02kEtyrAI2Od1sizVW5h9F2OlU2YmjBPykZPHEwWu2Y+rDt\nyKfK6boIoaaBN+1QyLON4QHQ3e4KMiYLGFhAYL1TIBKdmyKzXcmObScDhQty\nvSkolpGpCNamZrAcLkxbf0UVpDysTeEtC89Mj0fyM3gvXQEtPZCFjXKRVrAC\nbklJNRxD63GEeWKdqVHSD3xEnk0ami6NYrJNDLpkV4gFkYSJBK+K7mx0fFSR\nMTBmo+7qTNaDbPbZAMrhCOeW4llgxZGvED1ZG73JoI81a/WKZMexEs6lCYZM\nQCrKt5SuQ9MCAjRnY8uWjETzX3FfVFjr+XRXJYHNGs1ScxlRiowDz9VChFIa\nkuD02iih5ZjFRZ6cenjDPUUFHE1nnXjsxZ6S3RtdxBpLLjcAO0HAxWOKkgMk\nWAg3u8WEKU42BAPrenLUIngnnj5U1xgjxHk4DdGbAUMWsSdXHGIZxO1sUJIz\ncKF2\r\n=+OAC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5niQQCPgm/UyA8nb20Dk9G20zbexmdaOs7NjVvSuTvwIhAPF0IrZkPRWlOoU4q4aYdj/qZMx1f5rEm2OGxpC5N8Xe"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-5_1590405969094_0.9766764065662792"},"_hasShrinkwrap":true},"1.45.1-6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","@types/diff-match-patch":"^1.0.32","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^8.1.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"55f10c315849bdfc6bd77856162d947e48a1738e","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-6","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-+5zWr2H3fNiV0ZwoeimVi8szRZKQ6QfWNO8nNeW2AxWYJ7qaZ0QtVdTPhvJh2R/8F3NT7k7pigOPgnzdLY5hcw==","shasum":"78544117f1bcf1cfb1d53413d552e695c564601a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-6.tgz","fileCount":350,"unpackedSize":1885483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey65nCRA9TVsSAnZWagAAIRoP/jKgN7V9bCYllvDQYYYj\nwM7SXwNWihneqLCmBhS5y0mpiqWxF5tU/KE2Vmxl9w9oJ8LVRX845Z+AVyDm\niL8zvBZSBa602+t3OwrQmWrc0P2W8Lj0BiWKrz2E90+vtIdqFrzqga7QGxSx\n2GmqhxwlVMFyQXdRJIQwMVhnSRLGtAsgdDI0vwz10CbqqY1vR83nxCCLpozq\nG3eVxoOHYtBIloWwuNonvV/rP1MNjcP6oneMTIQjuVQXLBzT0zpEpBAEd3Dg\nPUDPBNJE2TUo0JYCL+yQ8mVrfrvd0JYF7TFvKcaZ+yeR7KPVNbt4VS5q1J8w\nLvsN2vM9XEsR9UQSRkDzJQS1Exgq8lActDGOBFzkAxa2P5dCP6ZGII2wcLjG\nAbYpVw0xnJXSOD2n2h7x4txMNKbYJQ8sGbXpc8K3g9bmGX/PI1n0fToIyw+O\nY3hY9yFnXg/xdMkhsuJPc/WWYF8enftCHfjRYNZOtvx3GsVCMGUaaUG/+0CI\n2f1PtLur+fhZRaeWY2KL8Znm9aRIANh6pYWOuWSuX71oZNcHH2fQJMB+dXwT\nNd2PduOShqmaQElfPbmi9FTD4QCORpOsqkNcIL/XXLzYbI6BFgk+6NfIV2s8\nMYnsJuhq5ZI2oc21amDvFH45HHbMIXa0X4LWyKYbD9VEvOeEdBs78v+ExNd3\nuotq\r\n=/gLH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGibrcLM50+9qeJM+qQVmRVCApQzvJNnO4BrdSe5aDUGAiEA+vZ5Wyh9q6FK7bnzyt5w5tXw+defhVBULjOcynJPhHA="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-6_1590406759354_0.46291381175609714"},"_hasShrinkwrap":true},"1.45.1-7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d0ff55edefe044927b70360199a91aa9562ed399","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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- [ScratchOrg Pooling Related Functionalities](#scratchorg-pooling-related-functionalities-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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 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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-7","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-9D6bSUTx9uw3BPvMgTgzUyIP2qG6V2cb5ZJuaekH48cJVFxe6SEGp0Mv0z79uJLdBDRV8afg1d2k8+dqLjqAlg==","shasum":"ce48c8f8d9b26aaf478015cfc991f7d3a12f9f45","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-7.tgz","fileCount":350,"unpackedSize":1887032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey8cLCRA9TVsSAnZWagAASN4P/RnG1cnwgXBTDu7ty3An\no4lV1gfpCLb73lYefsbL2QaBJcnmLUeekg+EFJlz7Auyxa0OlSjK/bMEPPIF\nH8LEtBk8u2d/5qRg1l+7eGYwccKoMUn/km8ZNOkOiyjq5SdW79hGMHprNAJt\nW6trtpSJiP46vKwdaw2KtVPN+OZYQy8Ah9xpAOQvRB1GoROg8DqrbWfaUPqz\nxPhmh/obxSgrfBoYedcX6jxl3fgjERbrYBAkDDcTmufc5bgd256AI+7y0Vob\ndsZMSOK+cu+PP25pPh5Yn1+9g7FBblOGejwOZi30cZiPR9s/4sSHCX/9YClh\nD7bqaiaL2MHFo7AANl0RkYFMDxsHM88HNzdmmx/LoLWrL7HkWeg+zSksChy6\nDiPOFQLPz0Cet2UNSQMG7umPub9WXMXjxuagDnjCMBTkhf1Rte3+tMJVrvc0\nvD9MfY6RljcFgx9Y7CdFjrNCKS8X3C19ynN+emL/3RD8yy9nEfMSBf/HOvBY\nKIXNCwnF6BCg0JS3BMbIuHutXssvd6t3vCQ/X5s9Qzrr7pF6PK8X3mjhecZ6\n0Qzo24yfY2cRFGEQC5LLpWALMWBOZ8bIzPUw38bxIH2n38ZcqchZoFvat2cB\n0MWIh/SJdJxrFED8wJRuT8X6xQBIRwVwAzLQiNxGB1mTPVU4RDgPZqOO9tOT\nTpWt\r\n=eZpc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvrPqFdBoo2m/DGq1WmxVBOm+cY9Z3GxBP391u5/y+bAiEArUy0eYODA2tntedzfh/Zi09pdxvPKwAVUiLQG0BUtgg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-7_1590413066539_0.08508252382394788"},"_hasShrinkwrap":true},"1.45.1-8":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-8","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ae4625d69669be3c0de7950331cb8439076e0cd9","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:hydrate`](#sfpowerkitpoolhydrate)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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:hydrate`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:hydrate -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] logging level for this command invocation\n\nEXAMPLES\n  $ sfdx sfpowerkit:pool:hydrate -t core\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m\n  $ sfdx sfpowerkit:pool:hydrate -t core -v devhub -m -a\n```\n","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-8","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-z3jY4uKSWs6hXjmoKSR0lXDiEQ0h1TawJ8OFK6c0E1jZbWRmGpzNOWleMoPjNlfVPf8wS0f0Dzu55uxxNUKbBQ==","shasum":"191070bc7ee3890dd22f0ffe0e068573ecfc6a1e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-8.tgz","fileCount":369,"unpackedSize":1945253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0DxVCRA9TVsSAnZWagAAOH8P/0XYMGP+GH39ao6JLvsP\n4KN6n8LSYXxARQJZ51str6acj9Ma8LH9AbKBpYCF8hSV0euUOChzlp6+MQMS\nd/Wzl0CHAEzfdRAm07P3LySsi13fL3+Qaz88QlaUNvIY/tBd6YrNuM+qLDnT\nw8BLjudC2XrycddLKmWlq7khc7IuY82kP0f23WuRlXwYmfEBRHPE6GO1UsZf\nT70vM0ZLHEqYKN9N8jN3pzWItDH0GPwfj0cTfDjXV//kPBTSgePqSKFNem9e\nZHmJRQQxLH83xneegvW+c1t+tnFpMBnWpyzbJMX7sMLbSQhazPZPPq89XLQ2\nt+ao17BfKvVbqTRIh1uXvGzON+4G/T3Ubai0P8xMSrd8SnJO+PQHp1ic6omR\nN76o3hWSkbYFflskYYSIn8EpMSOVLzd3710g32+Mn/DEl+3HP5JDHT2jbYb+\nw88MM6CWWVLAXKAlFT1B1rfFBWIzFDzv3bXMsgks1PppfliejfRS0Kdf7ybQ\nSqnRtgYZsmoKN5IgQY4/4B9AxqSL5aLxlNpu8Xmo/Bs6VNP1zhaj8NLfTTTl\nFZ9falRzEM5hGHwbBpdUuUus/CT7SgvOHrmPoeikpGajTZuOLm9+gaQb3dac\n/LTMAzS49T/CWDlxeAh64WqKUeoaeyGzP3QzsyW6l5ZBEGW3YAQx4Zv1abe+\nr0cC\r\n=8LoC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxb7tVoy1rVLsGL4pcgrPyeaYhLc8A8xT4tuaW89UNDQIhAL6mWo7soMhZ4ubSK84mtu++rpiuY36U98R2N2eV8jGa"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-8_1590705236733_0.3418953023234206"},"_hasShrinkwrap":true},"1.45.1-9":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-9","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"191cc8349b7621b8df16c6e97d960aa0bd8f8c2e","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-9","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-ly0PcKMs2GTpkho0HF7RODpqxXcUaT/BkQnOw4iR616gZAL8TrQ4UkZSi46rU5r+ZdmCF7D1mf6sJyy60dAXCA==","shasum":"424a70c6c6c99096ddccbf3a5e587b35d26dba5d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-9.tgz","fileCount":369,"unpackedSize":1945764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0JS3CRA9TVsSAnZWagAAPjYP/3WIavA0T22a59h+soXQ\nKZy9jwwpiGZ4LscrVo7DXMn5Ej9ueys/3O8RDsfBQ3HIkyf4GZ3S2Lc7VIEO\nwXmY6O73UcAW9cQD4+wMNABaRwPyHDFqVqCt8M1DY9HVotVF59VM1iXH6UA+\nlAslTlRXkSy2dOeG8dEv94hwbP28eDxgyRhGkl9/jLz+qjPacpJy+QInlZG9\nFyQZwhKi0sOnrCZsUP2+GUVbm3EWZJw5wcZreIILci9HZjAdkQ0hdeAu0KQ0\nHaw/+eyxAv72cU+STaAfWnWpy5gtJUfaQJ8mDyA8xdN1MhDK+5tCvb2BNR/7\n9P3MrvzrOTW39Vepb9dB71LPAvF6F2LzKiCsOOgxWqOF0qoBXd6n4bNj+HEc\nL2K1vJ+GJIYxm6L7Gk2XR4VBNPpWOT+dHBGwuMg6fC23W11FAsuKd6bmYpyy\nIUY80ah9g3jge+T85LnKLfu/wLZv9K8yrXhNiaYyJM65vuXGy80d1kElS6Zs\nnagfYsHAqG+Ojn7r8m26z1OzyEjtvt/wO31y7kfiGvPWFNJWoYJqh1MmaPa2\nDf+MHxacXTxMji3UPTL28vBrHOLBrsTo3Q154nIXpgn1oN/dYlDgG9K/wg/r\nJm4NBB3aMXfBtYO8psi4KE3mTJIkauGilpH/lz8CJljv4p1p01g6IfHJjOKf\nVdbF\r\n=l9xC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDft9A7jTXhthZq3lOhMwm/MXSDMXHBPf7vNuHlGEvwGQIhAJU+VPAv/Ufy9ngJ9wVmyeAyJkXJ0chkML8kfhgOrMUA"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-9_1590727862835_0.9040925998858935"},"_hasShrinkwrap":true},"1.45.1-10":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-10","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7a88e2fb78ef72a4a151fb592ba92fbfdb44a2f2","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-10","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-IRNwiY+teBxnfMFkwoofB/dGV0XDEZDvdv1mEAXUm3UHQ1QvU+Ga4hN/2vZaPYrpN48ylQ4Q3AI8P8K1bcukCQ==","shasum":"21666f1ba81db9b6e1dff5997665df8e238ef7cd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-10.tgz","fileCount":369,"unpackedSize":1945223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0K9fCRA9TVsSAnZWagAAtHAQAIAHSL4gViox9S87ZQtS\n65pqIYoqn3MBxCYSVnF5JLr/e4EJEraWYaMepVIza6+t0Nsww5NqrrTzj6zA\ngZGcq7ABDZdcvb8kNuA7UdCb8ufs6Dxv6lIn3053O86sZ809KxfOWspeTgHe\nRBQW8xKewt3iBuPAuPrW1fdnJJrdsSCqsD2R+B6Us0Z9Pdl+LtWW1MsUx1v6\nVBUII3JnbWHiTYSP/Sll+LowUojXDzQGcKOubPHfPr4AtNMVOEJNjTp3ZX5S\nsqk7QyIcAxccctBKXLPMENS0ljzmdgvcEWFhrap9PI5TQBGlpdDtRd1RJrs1\nKwruwGRtKdByJLaRGOs2SibKc+7XXK1ThhdbsQXpilVCNlxP8oXgZ1N9EW7h\nrnXWPuZnEanmG/0r06zI8aZIDeL88S/I+gmS95GoajVi47J2yRBc8n/xX9tU\nQupAFeVwX9Y6+jNjkYYpKgCj5T2JzYD/29j4BIqQ/RGhBrBC/Mpb3HUg7I/o\n2OtJbYVaeKqhBRQzPmaRQzArQwTZ7eNjGb/2zEE7+6Eyok2A+T+xsFtplKuz\nWH/Bt0ee1LffweF+BfE1imPDydGLZOUHwqKijGYdbttUgb7ivu5oMc7b6ogw\nZb1pCQfXbChcQwkcLr1zjEY11XRkZ+byXFRUI67j8L/2wEw7p1rT3gOmL5Ss\nybMF\r\n=n3fW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8Np9wX9BqZazfoagSCXBjJtA7N8egmbN7B+PXtSojTwIgIgUbued7Gy3Yp9OZoABAG7ajTzBtl5yE5JhQsXUYMVU="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-10_1590734686932_0.5094959942526245"},"_hasShrinkwrap":true},"1.45.1-11":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-11","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f20ea5b9cffd98deebbd3f452838e9a2d0fb02a0","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create [Beta]`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch [Beta]`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list [Bata]`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete[Beta]`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 [Beta]`\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 [Beta]`\n\nGets an active/unused scratch org from the scratch org pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:fetch -t <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\n\n## `sfpowerkit:pool:list [Beta]`\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 [Beta]`\n\nDeletes the pooled scratch orgs from the Scratch Org Pool\n\n```\nUSAGE\n  $ sfdx sfpowerkit:pool:delete -t <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-11","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-9vw0tjPghEW+fe87VGT/wfkmvOwgHP5FPVnfSq5g49NAC9KSeylPGy8B00lKWOEPex0SnH405k8PDPOcCzpsfg==","shasum":"415551f3ea5eee41ae4b40a981f6699f4c1edcca","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-11.tgz","fileCount":369,"unpackedSize":1945278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0MxPCRA9TVsSAnZWagAAKpYQAIqmSOpuf+ODOGAublJN\n5Mj2fUw2hXU0wo3vUyE3sCe+RDTh98rXuuNRppSGjil3f9jSDuXHUxclyvFH\n4I7+7lAoe9/7aONO6RmQxjmzAR1YMi3SLPqu40vwylAZc1UpskEdDwMOFKl4\nMqQLzGxnTr4di7bW1KArR1QiVR6CIZOAWB8KjIZzu1fFjFCBMQAvluOs5XhA\nedA5zoDVaTtMCtcPjCJIyEmhUNQsMj9mZbwOY3NuXDVtzMA0r/+xl/XP3z5U\nYgLLAm1tTGtdh1LtwnOEZ9uDwrmMo15GSaRHRzRvznGfO6yGQ1QA1G+e2Y/w\nRIvFiQRbIYDKuNM5r3m7jtfIof94J/+/LQJ2DZEuRN61qdMs9uV/mv89iaQT\nqD+6UEnXKJ4Ps+v09z3wcwUQcfdMzZMAt7PX2jonWAG3VYV3WOQUCLMfoBoH\nyM3Ot393LBIaG8zIQxTDzKlQXmHVj/vgYLHuUDDDT5kjSe8dCacF2ZZK5vX/\nx7ijw8OlvyNiDFhX1EremN8gkvmV68zVY/rtMkdT2YNx8n/GGwbKHhFtg6sY\nfR+2q0iajv1YZF2S8OUs8JpqPU6an+XVM/OaAU+YqDesRfWNVwe8Znhx6Bi5\n6HSt+g1jCYISHeK9tRuTabVyTFzmKG55XHXehtH3yAOVG0gj7o4cKWmnds8c\nz3Ag\r\n=o0HQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoq4MkJdRZZcdtbfao8r/musaMK8tafVmpZ2N8qk5yAAiEA2vWfQPnSa1gvj8u9qxYdVVZYxSPqDzpE7zu5Mx3D9u4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-11_1590742094893_0.4466126597947062"},"_hasShrinkwrap":true},"1.45.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"87b3718290b99603c238d3a41c233dd4a5c48c75","_id":"sfpowerkit@1.45.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","_npmUser":{"name":"azlamsalam","email":"azlam.salam@outlook.com"},"maintainers":[{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"azlam.salam@outlook.com","name":"azlamsalam"},{"email":"magloiredjatio@gmail.com","name":"genoud"}],"dist":{"integrity":"sha512-kIC/MmqiKPzkQiymUHjzJ+6nUedx3ElBLZjziigQzO0OOID+nKD53oi6MTcltnUPg9VkO0aghYEQYCXATmu7eg==","shasum":"3557e1787a0fe225aa520d54a0d2033e7e19f3d4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1.tgz","fileCount":369,"unpackedSize":1945214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1Eq6CRA9TVsSAnZWagAA1QEP/jBVDcMwWmqwfvmsWWGE\nadbRaY/1KejK9/Ww+PchtUUm21vTFXW3CbYSH6EItlZzX/9zaIpGbZ/9lI4R\nn6MSP/I9SWpHvQeteNVXF2xZXpWhr/TT9dzlzN7XQi8u9jn+V4zk4uZwk3By\nlALslFeOt9MHnQAQctDTvInf1AyCLcNb6Y3i5hE08X4VcsEfp74ysyu+e31A\nG7gl6PV3nQwFITaeUZp7AmcQC2akagy+XPQxKE0UMdzIiZ1Y4un2Xz0Y4xtR\n1X+chSDEvnGz+BZZw3f1TMTFgmek73IYtL2eY4SCD4Ynit8jrt5R7IgkNT7j\nRDC6fvqomPNxJ7uim+9zuG/EE+71pTq6WCf1pXopHx2E9sycrdM8rraMrYgD\n/Q0cm/aZqaL9tCFKgSCyxPCynWLIVHcAROiYv9fguR2kOj80tX5RIZJrwunR\nI8YExvXgqFDSR5BCbCJjN8qper/LQm8ZkM8wtBM7pHAZEn2SaZbYyh7G7eDE\nyMYCsS+48CywEfUzJHwHvk2cm0DzbwizTSVpXezWMOhoRwKmRVu7NSkH8L3z\n1n5SkbkIBgKKvNPjrBcdrAzygLcJ8U6pajqNxJFkvNQENtbfK8ZvxBjWZb1F\nZMnsxU9EkoB8yGs2GW5vyCWZjwWECvGvAaVUxiY36fIYlPRiHZzAAeHCHk2h\nF/am\r\n=mhwo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHG3zmfk4UoilAU+FDrNVCZm7zenNLa3L/ica/0RqNWpAiEA2IuNACx/UJeo5y8TbDtRDke54hQkuVQkja0IAkFPS68="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1_1590971065862_0.501858912468325"},"_hasShrinkwrap":true},"1.45.1-12":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.1-12","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d8337699f4d4b4963c966a23593d7d5dcf162b46","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.45.1-12","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-NE/vTkDTLjFODJ2mW/iigi19fAqsQehDY+qDgFc8VcZcShObAp0atQTTKMKxOmlnr+bFujWOmZnwvgEO4sBVKg==","shasum":"2a8882229c1e7ef868c0e2732d314b1d489c4706","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.1-12.tgz","fileCount":369,"unpackedSize":1943567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2eo7CRA9TVsSAnZWagAAuacP/2n+KQUnb+siTWx+32lw\nNYTVojB02wFccsY0f+p/PaaAM62wpaDNUpsEGk5on5wiLslrIzFtk7WADIEK\ntMT5eo9cLcpgrrgAeLsfQXaIA+Nagh1gkmXr7dlp9u+7GqkExRj7fTTKN0dK\n0Skf4JgT1CL5ih6IyQQch860J72VoItpi0r5XLbQQg+IIpPRHPIIr0eLDKN1\nSuOHGLbVvpxRs2TVQffYJyn47BdDrj3yHqeKwZN2rjehTjLrKe7y8rXQSLSW\nXOqsNuA0MV/EPnHR+yDgxDkuEpKTL4vdggse3BJ+NG1FJqdv5nz7+zpF7DMl\n7ROaDOgkjbZFQO4F/1vp/PYzHg71Ydtn56erE2FtPb/lhyLOniYepZo6/Wwj\nEBnbKTr5Wo7LYZ6DBn9n87jEJDusHldKkyrI0xkvnsqlWZKE8zb2EmR5Ouro\ndStvKalI52H7NekKGCMYkzoKUzNPGCuZGGUS2FauranfN/mBDMQiNWJUmHA3\np4nFFeDe2l9BJaWd7MiNn/zrLQAPt+hWkoXT/YIUCm8RUBVRJXs6byBcBfY9\nWUwDJX7kBqTgxTklieZ8k9kNjFrXXXY5pFF9pOJIzPNgE2w+7YRzb3+KYgdw\nwfUgXqOz7oaApNhJYw1CIy+ogcJyapqu9txB6UFURusxKagpPh7YCgNJJOEa\nKbWu\r\n=36Lj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFVGcmaob+OSl0q0hFcvgmy/vmAgFU67orP1Njo9rC/AiAzudb47w2MJ+2WhkNr3RfozUwIwH4vPSRBZDiDE2Kd3w=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.1-12_1591339578854_0.6456784146746897"},"_hasShrinkwrap":true},"1.45.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9651c8ebc5314e037fa09beb427e0fa3daf7ccf6","_id":"sfpowerkit@1.45.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-GgwUkPSdxVqBsxSdx0nd3qvMcfe0J8jXUibZzsxC5VC3GaqP3Db57Ibnu9aqv6yuzHziT3cn/v5SLNYQoY5thg==","shasum":"91a3cea3faa127637fc7df9f2c4e72059376bdf0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.2.tgz","fileCount":369,"unpackedSize":1943558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2gjICRA9TVsSAnZWagAAq3QQAJVkM2VzjiiVgmFaFdJE\nfBFD0KCxN3urKWxDOhp3RAUEr/o0Q7dzjDAxWywK1cACvBB09PMC8LC2Eeb1\nHRKb61R6BCTmYwbVKVbtHD0A4oiXFdhoIKEKJX0VV17t0JQ9g9wySU0Wxg89\n2PZg7E5grt8zJZvMRPljosVRfc/3bUJCYRYKYDwXi5YZ0+VZRqQQm4jtMlJF\nQV1mEfWnGB4Lwl2vXZDUd/+rVv+UCyUILgv+SsbY96S6pywxWlqozDgiBwgC\n7FBVIHOjw3upLkbbiUXw5ArwRglKPBii4hpAd8/mTTx2UfXRLVRNGEDl3MhX\nHwZDUt+nlheMuPf9ZlSU8sL1JRGrV+Man8jiXSYPd99BvM+VRpw0oYPzNkHx\nw0PXdloRTuQ5hi1MQxkL5oUMw0zI6yc3D8v0zqC5vyalgWX6rXbkuSYGlqj8\ngHr1d7rW0ksz/6BiIPGEc1BPAGak81HUvUP1Ss0WMdO8pi7eaOJiM1tjZ/pJ\nVMp4R+X/9DG2IauD9TfzibkYWA5GHmOiRPZ9VurbKLP1Z939VqjCVjINUsGB\nc3Yg3vAVZDiFNr+BwICSlr+3McIbAVuY74tSJI7VdU6/MqU+0nsMQ+ukGXoE\nlA0ruIn5kf8qVWEXSblvYBSlzRoZviL6HRxds097JXl1uShx2Yv6g5t3GeD6\n7riS\r\n=hwup\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/k1W/fRnS6rTWZKMelAhB15n7US+ysXUVucRBI3gS6AiEA2wQiQX3wZ8L/7Rbq6a2YBkAggtI5f9wTc+yXiayAa2A="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.2_1591347399907_0.47249417734461474"},"_hasShrinkwrap":true},"1.45.2-13":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.2-13","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7caf9b47f36f03a421ffe41771f58ae28019fbd9","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.45.2-13","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-pNQ07x7C7Ut891nAOkNU0ITnxVblL5ZRE8Y55I8FaizQpTfM180NaZiXj7qpk5Ih/LVJzyqwbX0mRaQCmEeh2w==","shasum":"13e949cac0c6d6e0e70244ac3f6de771b9301e83","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.2-13.tgz","fileCount":369,"unpackedSize":1945384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe52ajCRA9TVsSAnZWagAAzRkP/R03Q69snltbye7YufTN\nfSk/DbijU+QTnHLjOjGHVG/OgHe1xyU/3jIzUZ1Hfx3XQTAV6FPvP9JG6LsI\nok6d5xlK0n/RbcAEOnkbMxu4NBsiQDPHmgdDQcyDYxZ7pfc6gfB7jFxOm9U2\nD4REKCk7aEqD2JKMBOLC6L+FykCPmXNJiT2TIDQXRU8jS7BJKJW0e6IlJIwL\nVHP+JgsrWTtK66hHfBbRZfGh990hnFjEm+dLwGQjNNqUhUie6BXoyw/WoI5X\nC1s/CIU/kEsFNEuq28Hg0onRFiWo7aKTAI7/RoRTbkylnRspfinfhgkMqxae\n96aFfrRRAnrTM+cVccgcA+4SV/dqeUX9Oezg7JLU/W5mjnFpPuRsSSD1Zv5Z\nhg9x87iVGvvGBlTtwY9w2nq5ZBUrBNIorepk3UF+qGLEJ+VNPj5sHZPgL5Cu\n6Y6ef2fyZPf4KnKTfT4V9D5D2vsMVsh2PgXRF2UkVuFKvLXRweaRM2XZ4G+V\n05mmh+8ZMwrI83LyHne8RXggpbsaJxn2BYbYsxWt+q1D5GoEFgsJ+xIWnDlO\nd9fihc7mPCcbzyhRTiGyK3L+dmpUiC5UhGIjfFf8TidsbEy9osEjKjMs8Qkj\n34/0bUielDcBhbJS5wb6yQmh5ctqGCtyhXhtkxgcJeFE9uosuMJDyodZl6Fy\n+tNE\r\n=3pWL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSBFLV5kqq8i4ZvfSGriUESq7vyHZTXWFnyqMJc8ePawIgOhcQwFrz2U98bVv8GeaxL3MBga5u7ek095NSvi4dotw="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.2-13_1592223395252_0.10734223495281281"},"_hasShrinkwrap":true},"1.45.2-14":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.45.2-14","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Ahmed Abdo","email":"abdo@abdokhaire.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"^1.129.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"6ca5f6dd026b9837a6287bccf0be300d4d267c48","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.45.2-14","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-4EETvKKOIoKyOuCQZZ2Ee7t7AXwqSguVOSRPiIL3nqPhmRvQ78Pwh1Ul2ssjtAVYHRpKFJ/qFGK7rzOZMbqlvg==","shasum":"d4bdc028f01c19f03812ea670944c870b5ef4a2c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.45.2-14.tgz","fileCount":369,"unpackedSize":1945384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9E0VCRA9TVsSAnZWagAAEjcP/1gCtnOFTtv9l8qk3jE5\nxxG0CK4edq3ymHT4MgV7p71nW/yMMp6YDmSXzCp70/z5YSYnhpNRac7qZcVI\nC+TqQi9oG99VyWy+5v6pnWWFbZooS9Fi//D5A2vhqGeAa0+m0N4h/gTzoNwx\nnl7PZEXkvioTqfv8+zTilLNxnKHWYTX7y3mQKhGppSspv4UGARqGS+TxBZw5\nurxw8ceCcLBMzj+7giSgu5iZ0keyyxl7kP/Py0XmzDB6vv50HwW+LYQBV6tl\nCTABvXeIRUfhzfdxmKlmD+TUqqv06elVdUlzK9J+7/+Oi13FPTM8AfwT8Tzq\nUIIs9vi2HeDWtGTJbNCthjdEuFNj4fbqfGT5TMurYUV3lqGMpgNpHm+2mRjB\nyxrJ6uFAgkdAUwE23qMKw89aa73Exb23pmeO/OU3CAT9yfTjdhX6kK0k5GJh\niitSGOD+RclyBITJo7Jd/JZYeq+nej8fBn6+uO6+rEyMOtW/b4RfXL/plulw\n4ggdAxwPAoUeujwtCE70y4QKSWSHU1l7Jb6aIVco8SZzv6WeCwPk0H5hcDHF\negA4nVY34bE+g2usRPC+mENxtTgC/n8JAbbU3EMg7rxumy0bStvyl2SNC2rJ\nr6FEE+zOSr0wlme5dmFaZtS0KpRimub34rzPs6lNthRXzspHH6Ri0WFwElE/\nD/MM\r\n=bQP8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnYyL3ei8/5uCRmXCGcrkEGhowPAhY+aKrmUXwvvnwAAiEA/VHs4Syls9xLVCp0F8SxBnu9s9CC2JOsamfhxNZoBfU="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.45.2-14_1593068820807_0.9207352121792305"},"_hasShrinkwrap":true},"1.46.1-0":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.1-0","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"021ae406198813122fce7cf2bb6c59583b3a4592","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 NAME                  TYPE          PERCENTAGE    COMMENTS                              UNCOVERED LINES\n    ───────            ──────────────────    ────────      ──────────    ───────────────────────────────────   ──────────────────\n    01pxxxx            sampleController      ApexClass     100%\n    01pxxxx            sampletriggerHandler  ApexClass     80%           Looks fine but target more than 85%   62;76;77;\n    01pxxxx            sampleHelper          ApexClass     72%           Action required                       62;76;77;78;98;130;131\n    01qxxxx            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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.1-0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-sPbDo/7JvC5TaZjQ2QzPMP5OsuGhIewt0lnXDzFN+ykdvslqKI4vo/pe137EUDmT+WUqKhjRomfXfR/nKt+vfA==","shasum":"0cff9ad0933ae38ad072878c551e08872948b2e6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.1-0.tgz","fileCount":369,"unpackedSize":1947450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9FFlCRA9TVsSAnZWagAAFDEP/RVrPQJvYszGUl4slpE/\nv6LqKdXYIwLp5uQjw6jvgdt8uC8M95C/Yvk0vEWqV8Du6VofB+vCdY+EVnwy\njtCZEHr2EqsmRKBfMJ/VfbSBlDX9yWYGunOqt4/13b/y/1DKXKviLehTiRW/\nEQLUjN4eqEasWaQbavbCiFBxK8/TuVPc0wzfqvWCOoB+3pLNb04PB+8DIUgP\n+vTk/bwN9egKTJohUWXA8D5IE+hrc8bEpB+Nv3pjmciTDGI/yVGUKMlUFVCm\nVFTFQGPQzEVBPVRaQJGU0JGMvO/NB0NMRZNWsww0URNk/VjdMIeZx/S/JTNv\nDZ9Bf5IssiRF6NAa5ylSR3m8u00DZMY5j1Cny9cFbHGlBa0WMag3z1e1AVya\nLmiuR791/gKiTypd+QvObuROH+EDMzYPjxg0p1nxY6DGLAwvbns+rQEfSbLo\nnRNiQJHst0rVenrZzZMGJ3dzeD8iqRVJdTLn8zjcMw9SA/3IEO3Fz87MkwJM\nlKRMOFLFQxiJT2eBjB6Ikg7YaHWg+OGCnjbfj9lpzo0M/ujRqibfzhHbuNb1\nUSYjLM0oVjtsRfug8d5MzRh8pha6LqYvpqvqLp1NVn1gUyb2umPTIlSMi2d0\nQ/g+YBUBVdWIKJoKqh4DuuZ5OXsJx9lvb/sn/p9TBoT++rV45IISQk3clCsx\nMmQP\r\n=8J/Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRI8wlUiszVRFM8aEziNR3aeGxuvp//uvIOFxR8C76hgIgZ73gz8JwdCGGGKsz9kXpri3R7IW2ZUJRQqmsmn6NTEg="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.1-0_1593069925173_0.058726508047818315"},"_hasShrinkwrap":true},"1.46.1-1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.1-1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4f05b7db728daefad6aca1cdbf278adce92f5570","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-w <string>] [-r] [-v\n  <string>] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -b, --branch=branch                              the package version’s branch\n\n  -k, --installationkeys=installationkeys          installation key for key-protected packages (format is\n                                                   1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without\n                                                   installation key)\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\n                                                   send or receive data without confirmation\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\n                                                   publishwait). Default is 10\n\n  -a, --apexcompileonlypackage=apexcompileonlypackage  Compile the apex only in the package, by default only the\n                                                    compilation of the apex in the entire org is triggered\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:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\"\n```\n\n_See code: [src\\commands\\sfpowerkit\\package\\dependencies\\install.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 TYPE          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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.1-1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Lbp9yXb2xe95YwjqtnvySjhPDEom1//+k+TpAsBtlhMdxAbypAETJ1hkDUKvFk5MqWF1OUqPtZRtXWivNDUtow==","shasum":"49d18a4a9ca1b30f3215ab0fd9a2b3a316c0f3f9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.1-1.tgz","fileCount":369,"unpackedSize":1951858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9cpwCRA9TVsSAnZWagAAVcoQAIaJWqJQxR3ki1Q1l1uz\n4Kqcnf0lYjKBTRyrUQjPMkSufaZVhgo7fLmf92w+023EK8ZHbXQPbbQEAm7x\nnJFIQwATltHinCPbLlwciuTmVSJHQGgU9JY/2z8LJU2tnXcXIUDSn6W+qB3G\nL73iReiXgwr2UD9nazlOVCIDMc7Rsjni1wuEf6VIGwU4mMVoMGbhiVIwvHfh\nlZA9h+QIk4q1yxzVbGxr2bOgrtF2lgy4ZSySnRs8ZzEBq7nZkzqJAawVm2XK\nlWJRzSPW9ayvWChepxv+FUeXxMbRC1OXT4ZhkjXRXi4ONldYFTY5v68RrXxd\ns7qb2guPVaw5bD1rpPxxcoGsX9AitdN/Cx7bvjcn8hq361sWx3xnp5SefK5+\n0Kqbm++p3Fay34bdu+86JShOpwLiyhnJFCwXr98LrragdQCs0KYaknakVFBW\nZrqFfF/7a9YebNmOHVVSW4BOU5ijIdjd4aViMGWpVHJnhXHTH5CINQJ9Bh1C\nIXMTmgMh3Ti1zmz9j+m+Q0Z03r7UeNFvAfBUn8e8Wui5cSlpl6TVA79Jd5UW\nfopQX9AK2ZuwfU/+XYSVYCuj2jHsB11Zn4GiZaH4swSMSX80BkDH5axbonXn\nfpIHxrciEcPYvy7UsX1UCeGd3nqyz+ThHIvmfS9RojEancuVTkKPY4g1j5cf\nBRyw\r\n=jzva\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDH07Wjh0pLKzdj6W7QRAzsFzXEua8FGjI9DLMkGUiMWQIgYbQOIYdSSI+c7ZAjwt0B7GXQDomRHdmXj5VKIvTZmq0="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.1-1_1593166447796_0.5510534312895283"},"_hasShrinkwrap":true},"1.46.1-2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.1-2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f31d15bdb865aa5a65946d0f495780a0ef13076e","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 TYPE          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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.1-2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-peIkkpjA/WO3th3ZZSzZjpaeHpnCrt+KMmbR4FXpTIo5H76gdfsSij9zVau3ydFsZzHLrgzZNnU8rw4G+J5CJg==","shasum":"d3a9f53f74fe8ea7db865a99232e723144300cfd","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.1-2.tgz","fileCount":369,"unpackedSize":1958581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9dSfCRA9TVsSAnZWagAAxGYP/3EMXAbyL7mi+PPEMthT\nsW0+oVW9jjxa9ZSBub/CgqKnmUHSFhOlLxr6CSatv78JkqrwM3X55KjmboWb\nzRErosfgy9UZtvN4+ds6AmmzhjC1LCV97SsLw9+CyTayeVbFAVygc84I3Stn\ntfry88KfkyNWayMYeJZxuesASfkDcqz29VSnxj2W3i3eHBj4f0B8bHOr9NIC\nKQoo3csdWTsVbO4eAKbcFhfA22E++F4Q/yFWPBq/hPjmKEX/0z/eYg1s3Q0c\nxg+ueuB65UdZSByMQxp97nvPbbqBfxhak/DE6AP9yN1y0UHqQHII2Fh988XZ\nRfTiuBSCjrKk7sGy9UDhLqPvpmoPZlE+IOJZpg+Ya9KcRfJd9JY8wGbfE9AD\nWhRytgYXmnkqqol9UjinYTNJAkaxzJyOBpvIjBiQ6Nsihwamu+p6Jz1CTS8S\n0hBKU/NXp0IaQCKgmEscgdj+Dfixvks6f+U1L093oq2xw+HWoSEz+RtuJ+1R\n39hVJFjq6CmFyc69Cg3UcegfwZb1BbHXyz6NJMSPBessEeaMI6doNh4OXTHj\nDQcsHA7q3RfZO0kluKfbEYYE5dtwcYhfsTn8Niu3uwFWjVmVPPDepBa5/3f2\nnQqbiIxvVMAhcDp8Tp6roQKOHWb3SMv/kkY09wBTwinnCtIBqXjZ7vdfmGF/\no9Tj\r\n=XvM6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1wxBGOEoYgakeN4GdP4e9aK3eEGBaA/CToWrHlcEuZwIgH6xjd13qgAC+vsNGiHbn4+JFWhi1OmI9JhbLtbpYggg="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.1-2_1593169054944_0.732222029585913"},"_hasShrinkwrap":true},"1.46.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f605e8233632a40d60b182bd0a88e2061ae41f4e","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 TYPE          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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ifreENf17sSsrpfP5Ve7JMFpSBG5ZL7SFmz5MAXZfSOWQgMFVtGWSN4iCLvFDpMGS4XYeY8+nhxFBMECRG7AkA==","shasum":"dd7af7e90a66903bb68dd872935e53124feeee01","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.2.tgz","fileCount":369,"unpackedSize":1958575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9xzKCRA9TVsSAnZWagAAqywQAIzkdsfht6ALFfILYpc7\nlbvA8tvmvRyL0CKqLRqzNHsRzdHviCsgafur0Sj6kPS6Rc6NkLBC5ltJwKjB\naZjCvicEe/tR4/LxqIFJQPMdaGOym39ATQssUc5ztLFhK+wv6zhbapdIZtTZ\nvaTLaRFyM171MIzu07DeJTdexjV5XG5xGE/bxA9H0rtY/LZ4RIpLN08Ge3UM\nS5ByKOGH2nnxhj57xbQTrrzNjH08l7+V/ewFgAdV7OJ4zoD3r66cow+0w21r\nFWYS+cJPgNZeZJd/gcpA2BHUaAj5C8ZtiN01fNhTr+SMhGt4dszPMdPWJLzw\nghawhA213JQ0TPv5/FZJAK1yXWuPFVntAiqJaqOjfXC4zTD9bRE55QG3to5o\nGPuvLBMutgE2cZt7+32Dw/Zrn1wE8YqysetcbTsIJdu00BPYCPRIF66n5UfE\nSHR9dHQgAn5FRwOwK/46sltrq9e2fAOjdcFH9Wu0/lRYarCxF8Y+BGlFU1HY\n6D2fupSPoFUchorD1VFDG4qyWoMXyL8NL8AoVr1iizBIDddc2VZaZ7kqySNQ\nPUAYksr+BkguEje4ufmc5dQdewKjn3J8GtONK62cxoQF8D6YSZX/Kdr0fg1G\nVn1gG+vnjrwOuPGU+Q4JeG/N4TT53Y+CRZnDtWDL+5aYjXQ8swpr2tPHdPye\n7cYh\r\n=BtQf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWD+RnCvbx9UdNy2oeZl7zQa6MR1zJldipIA7GhB1H7AiEAuYVDMM6EzBbFV/ZotYE4e59I3scAmiQ0ihW2BZcW9yI="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.2_1593253066128_0.5651147357752919"},"_hasShrinkwrap":true},"1.46.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8845aa4eaba5c0e933f12bb8b70f85630f9d4289","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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                 TYPE          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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.3","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-79Jy4jjwgnWUwztMqpyMIKTPAkzHuAbDSPNAVHz2wawbMw2Ms3JJkkz1RiocsUWDh1HobzpLg9QeE6MYIDRlww==","shasum":"5817f6583565ddccc38165512378a4aad17d1873","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.3.tgz","fileCount":369,"unpackedSize":1958575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9yCeCRA9TVsSAnZWagAAgYAP/0HTRwuWxk055JG5oOXN\nbaJEyGqUxLbUbc6i27Tuu3ImM/0MxipHvtfbTjnrxS/xbQ3JmTylGaB/j2ok\nxCXltXf+mgDiNmXStTl6RE5JiKL7rmz17buXNUoS8hnu7F9PM94ZRKeViBke\nR+q74hOnmfbDU3FsScYw1ceTMU7R2n78XCRtF2RKhAmnlHYC1fAOHZBnqjXC\npfHw7oB833zbpt2VRaRa1duPH8aXHO+7y3+66hSDfwUK7vzXBs+cRuhUmGf4\ngyoBaB8h8vC9le1pu1dNLd8sMiozU217M9YuYMOpOeOXRqxWo/pzVnQ8lrzH\nZk1iGhBUrZTIpU4AQ7/SxtwojtHPmDgIVBqIUQ9ZiDxdf+RH9UPgadfha9OY\nI1vc3cLMRHSGiqKA11sMncOsPMfekS1o3/ZlVHXtc5Z8mzxjvIbVgzo8KGfQ\nbVu1K0CX0uxQ30pUkfpn9r2Sa6DJPfXFifmfZh8iFzV66/bQSKApCvzgim8S\ndVWWh0CdULbC6FJgBFD2cuLY0rEqnkM20bdjQ23jGvapTRVwJcOKYmh7bLUm\nc03WddaqmylBibv/Zzg238J+koj4i0JJbHe7S7jV7XiIDc+ZOaiEBYKyqeIM\noEi4qDauEQ3aJIuNm/h4oVWNtoC2HtdKIrSQhC+PMnm9cf4tVxrhbPZKtIju\nvdwI\r\n=3ieZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8BWv8YstA0/d1eppRs2rwcesyfDWBTYQEabm+VoPDmwIhAJmHKQv5u6/AMJ2bJSv35ptjzhlA0WuhVYk4wnsWP6F4"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.3_1593254046013_0.26998487751497957"},"_hasShrinkwrap":true},"1.46.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"dc388ad4037913c75c076d8646eb072ed6711155","readme":"# sfpowerkit\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/SFPowerkit-CI?branchName=master)](https://dev.azure.com/dxatscale/SFPowerkit/_build/latest?definitionId=5) [![Greenkeeper badge](https://badges.greenkeeper.io/Accenture/sfpowerkit.svg)](https://greenkeeper.io/)![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.4","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ueN6BenfYuYBnCSByJTBYrybjDudRfKRVZ6t05TT4bKP0iZTHnWt00Ef+mp3DHz5nU6bMZnRby9yRe0KOVRBIA==","shasum":"9bc647ce33576adca076d5bf393bba314b5871f7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.4.tgz","fileCount":369,"unpackedSize":1957942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+dcqCRA9TVsSAnZWagAAhjIP/3Oi922k2fH9CbY0FJIp\nJVT7I+yVqYO31kahkR8m+upCDkU/4duMOl9ctrCMATFkN463EI93g8nJOEJQ\n5FP/zASsUJ9DGcZYKw1J6Dmsk/xbO7dkGTbJSzvd5Xpa44nektzjZXLUe3uP\n/0mtq0dyRgypGB+HyFfLi+ZnWdJOCiKRs1S50NOhe5q7joZgBBzXGHzGNEov\n+cMpgxrlnnQFJsnS5aWeQELJYsOq8Kn4lctlyT23O6tyChDC6TAmwczWmvES\nHEmqMQN69VbOgk2XnyMrq0dtq9P6I8aqgBImUGMG/o9LCFMVpr+/Vn+qGBDw\n3q92Rs5VhIeQXaLZ+9++i/W7pzlviUsniFQOehBs1XnFdwuEk3je36/O3sVQ\niLRAAbEjTJrOwC/WZfXWAIROLr45CtHMRolFigMcKTY0Nnktz0yBKLUOAucg\nWxQgS2ig8r3oOtrMhHWGWj7CnZUd9yWs/NNltSPHYbLMeKRBsjeEwAz7Wbhf\ndAKHB/Bwkder9n16Ix8j5pjAIYHwVS1MfQbRwmzRl6xujPTMeZN7cHbo+Sev\nziQ2NRT+gf6dRTQ8OYiqfjMQjUF9zfzdXugTHR+GWoBaWxRSp48aF70iUgWv\nHEmIuDmsGZ9Fs9VUINK7Qz2boOvxMhqogXouWa3dNEqd11745XbuECS3z6NP\nzEXL\r\n=krwu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDHNUPQQkgVNO0l1Q25bxy5q8ICJ9C6l9GEs9ZX6X1X1AiBFjnI3ZeUJjf9O7ZdZMQuiALzvM7fc2VJZMI4iU1Pfhg=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.4_1593431850101_0.9677998926245597"},"_hasShrinkwrap":true},"1.46.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"be1ca11d6db8e5f685bcf38e447ac07a1f03e5a4","readme":"# sfpowerkit\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=master)](https://dev.azure.com/dxatscale/sfpowerkit/_build/latest?definitionId=48&branchName=master) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@1.46.5","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-VZ8ZSBR5OUlEaxxvcyrWbWzHWlG77wZz0Z19jllUsR6UFuYd5kki7WdKsZCCYVuMt2s7vXC++jJBtNVEFFehdQ==","shasum":"ed90de306da2d65776bbe6dd498881601f711d2e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.5.tgz","fileCount":369,"unpackedSize":1957880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+sSCCRA9TVsSAnZWagAAGHEQAIF13sGaCZ7YDDDNZG+A\nqblNOoQkmWqIxPf60rRq9qdvvOrB0PhGZWqDLc5qUyfA8BFZYoTnJXEkFwnd\nBi75s7bxwNIWWZjTV6LD2crwklXXaTzE20N55fzHgejSnytDaRcu45wvRs4w\n7RfCPZUPxutzdRKf9D0aOSk6zO5uzWFhwKhCmqbcbG3r5WM5iejk1N83UjPB\n6rhoVWkNGsi1YuZn1jroDCpNpX51pVhWuzyj8kz3OUa+YDkCmautvpcgiUEU\n1doxcnL1WK/RazaKVDWGZnRuAR0JWQ1cVv2YQXcTts3ryKjWs1pvLTSdca4t\ngPWudH8hi27Z5QPjvFhHMCnzIqZWEW+liqpzufNZyHMc8ex8OjsWTUZVAQyc\nQ/UEn3VpXTfh2eFAvHiOR6s9W0+FcoA5IOnnJ5kDd6PsdRMokl39mZHW49j3\nNt8VZxgVjQpIL6DjujYiikBhOFyaECeSaqsMosK+CSwdgV9OyctUtOwJB/v3\njJa0Ybvhdyw/RRY6qMj8WuYoOmBn7n9Ml33tZAteBSO4j+khPVb/nYoRUNpl\n7qrQdlhFAMRoW8wOz72xhTOZOJ+T04AiZXz9xU6bw8TIA9F7KUI1TG1pDhOt\nkmSx/g1T72jC5JoH7e0kFKRk/829mPciHzbUzTGWn7yCBbLw8P8tOKybuAfe\nk1qL\r\n=8wGK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3TkX0pWHGyhzUpcq5BZWKnlb+At9DXKb0sJF+mPURTQIhAOpoCzpjnbYAghNqaSrIvbhbUmv6S63ExoS9Te9rSCcG"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.5_1593492609695_0.2537699514456284"},"_hasShrinkwrap":true},"1.46.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"1.46.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"713d08de2cf4ff5e11938c29a8c3687e5d5f200a","_id":"sfpowerkit@1.46.6","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-7BmPrLqV0lqraMz5KQpcFkob45LA4sYxQ9bsCfzexVoxrCISZ8vJuAGQGuAK1XKXXNdk9PvIxHiJ2XlUZwvDUQ==","shasum":"c6d56d3b93fed99c78b02ecfe8e41f2ec323ae8e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-1.46.6.tgz","fileCount":369,"unpackedSize":1959696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+ulVCRA9TVsSAnZWagAAHxwP+QFnCjyDUy3KudLkbxio\nfBXC/w9KwJRtrvevSYKxYCwc9LwUzyrbOR+8cFzfsgHjgQYjCo2AD55Z7Vqy\njaAHk4vkhbwRBh9dpWNxPGk1BUYXpLQQkQzdAZ28+Ca1htZycpXjMkZ0zwyi\ne9zmwxnQzDXlw6Qo6jlxpxUiPrj57gqZp0rpjnEWq84FdzgbuaAKwitKOpRY\njsG3DDgAms7wBt3OlZjiz6WYwHwBatNAmKX4suWxztu381nLXG8Ckpv0zP8F\nG6+ucdlrDHNf+My9XBSYFnwgZk3Jw35/YCbSME1VH6FX/jn6YdhOcpyh508D\n46Yq5XuciROK716qvm2iorcz4qGjeqEMDrWxklPskZiNoioZ/Qah9ljsbSPd\nchRaqGmN/2TQQds/CKhFU1TDSWDqjQhcamN4lrHGel5lfPldHR8BtmIp47c9\nnLpEWkHan/N8xLdBYdydN1u143Hj5kHFh4yzMB23J6jQlEUj4YW21Wb5g+M+\n884ZUqokNaddckX9qirtmN1lsMHKcgkdT2uIa7OBDYlNcnOITtmZMW+Iv8al\nVu2PEPYOONepdAfuhX0UBMtYfpewqf13NIZDd+sPtIcdMALNwcSFlM91aZFU\nSw1JgrXB2BSoJLrbUfO61WuIxSczCINj6HmB10XLs6dH0Jj3YO/HU9xtzpBB\nN6Av\r\n=c+fA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH0BR4whPsaHjwnjRVX1MFjT4LgRJBYgr6pCCLo81Tq8CIAI72i2zN7bCfqs1MCBYanZbkLZzh4Zdl52eemfs+glw"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_1.46.6_1593502037172_0.6071458069445226"},"_hasShrinkwrap":true},"2.0.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^2.1.4","@salesforce/core":"^2.1.4","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8dc8fd8ec6074597e2fe0a38e740928f34317dfb","readme":"# sfpowerkit\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=master)](https://dev.azure.com/dxatscale/sfpowerkit/_build/latest?definitionId=48&branchName=master) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-MgczmYx+Ue5mq9LZIUecEg0zo5EtUBqCFYa5TYop3KvxR3Nt4IjFDe2AniVR+g6FteAzbdqGrfRcHGGHw2oDVA==","shasum":"2d41c2c1dec51bb5d3e30556ff6e620c1a0ab9f4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.1.tgz","fileCount":369,"unpackedSize":1961346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBa6sCRA9TVsSAnZWagAApSYP/i62aVg1/d4Jx4tpwnhP\ng4TITdUHs4/C3cJV8XctoxYT4L1/7FTlVkAwGMxJp2hfTNntM/oZbdAE90cD\niVaYyYtC+B4x2mY5l3CwTxnVNAadKaHZjkRhNru6kHQgGTCakjkJNAcdxsfM\nWfZ1cpgKGUiHtg51fFUvwmaGPcgGArJOgiVThlQIWOVaWyIc37NBuCGw8oPq\nX07X7P7pWIUawLtFdJmX+xPVZpMz6WNQwPFfo8EOl63ccvICyw93AG+WuYb3\nNEiess5R5DFGwbZ8JIxhdBXDZYCzLPJNX0TCf2xJJN8O8WpBXUv6wAFRlrcu\nwClb11Wt/S58EOLLeDBCfI370yiZo5oj4Rh75q+Na52pTg0ELRkDd59wRbrW\njQekg3RBxZklUN3e1Gg7KvURrRsJ5nRUkUQ8VdjxfzLOGOkj8bMRArigm+oh\nMbr+1e+vj7x09vKGJPihY4OjOzQHznkCQMql4oW69s8IjAior7Cicccw0RR9\n/Ja4PYqRjo3T2Gy2ZPx/J2htDw/RmdsIGJz7K5uELyKuyYhnALS73epS59lW\nY7d2t74VgiE+CrUXHuZdgwj+q31o2xrJA43YWwCFwvguPbU6+KEvYe3L1OlH\nuvRlNJgErH3X8EicUeFZtbfYZfORiOYznrw/hciv6zGVtP4ZcBcANQ/xZhTx\nm/QO\r\n=FjBu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLmpP375/WLXym8upaaUY4QNRlA00uJhnCieLpcGtY9QIhAIM0OFiIbkbCPPjh8OHXk3tNaGq0T9YGETWUCrL3kpNU"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.1_1594207915673_0.0725312021697202"},"_hasShrinkwrap":true},"2.0.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bc1ab21a4ac1af9d69cb53167d7dc5615866f36c","readme":"# sfpowerkit\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=master)](https://dev.azure.com/dxatscale/sfpowerkit/_build/latest?definitionId=48&branchName=master) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-MHJ8Baxf0Cf4orvv74rjSiYbX0V/1YxljKESjTU/kGVsFaJTP4R7y5JCVJ3aZn6BgqueYWDLHecyVM/igyRlow==","shasum":"e62c10e629f471fcad95024729e6d45112fa0fd4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.2.tgz","fileCount":369,"unpackedSize":1969162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBl8tCRA9TVsSAnZWagAAgvgP/jNWnTkgCVlEOFL16O2X\nSQD2OPshkaSdXAoC+rp2PvmgEjj2LLjlIFthWSgJ0palF2rPwZKzB5rd7QkV\nR1f/1rGGFxxtkO1K/LE/vnN8eL9kZUHqsvccZB8p7OLEbJiW8RK3bngWFjFs\nSe6ucpdWDsvebliAa4gVASmm+556kFknBJ2d1SBTOyvlNpvqGgdADuGMk+lr\naaBIR+0zkYQvFp3r4udu3+6/V/bnuFPxQLra3tdadCdzSJao/X8e4yfTizv9\nvtuQXkH8XpOMRgYed2kjIbfO7zVx/dHNZxOCqOh4PXE2NO6c2YvE/Z0JAjsH\nIO9qFKbvi+r57sw82BBlYpZEIv1Ga3Pn6ifwoSyg/UWRPMWlbAUr8jTAeXHS\n2iP6mZY+d+ah8Jzy8Ke9hhZi5Ew1am1bGuHR/3ZKaAeZ1fF2WV1Avvzekzwq\n0ZDmezvBS8bnm+2s/4wYgc3h5nbmnHp1Mcxw45188+GlyYUIoHo1uC3G6R8T\nZd72AXmF23A/oH+URxhAPiEG2AceXA4utYsK1EPaUy0TrlzZh80lGfu5IAUe\nLzclBCpsc0lMdoCxo8DQ6z/gf9fKiTDVFwJjE5hWG7yRXA6FAAE04mu09FVG\ncvp6mS/2Qck58COWaHpknOTGCS6bxPiXom8X/j1KhnjblD4iyZ/+PipFg0t0\ntKcq\r\n=9gah\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCb7Vf95XauFKeslesZ0JU6nBFcCUrgOkdBpbCIhOjGwIhAPmjZc3YBofz/3OAx6E9NZdaj1WK4j+DNE5Q1kQQIzRt"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.2_1594253101192_0.3529705464612465"},"_hasShrinkwrap":true},"2.0.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"983aab94d810120cb65d784b39883405e49d54b3","readme":"# sfpowerkit\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=master)](https://dev.azure.com/dxatscale/sfpowerkit/_build/latest?definitionId=48&branchName=master) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.3","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-xDWhQ57pXOQeJN9zxa/nmoawONE8vlAA0Y7PnMscYjdizI+new2D6DaKCoV6VHL1QEK8abdQUfcp8szWSWRNRA==","shasum":"29b1e31f4eadec089f5a7bdaad31931231bcddf6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.3.tgz","fileCount":369,"unpackedSize":1969190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB7crCRA9TVsSAnZWagAAp/sP/1Z2v3Cv7Qt0nAa/iauC\nRYmTU6Nx1AvUurpSUzZeuFs0cWyh7KbYQFxxKw1VSckxkFm0Zbc7EPQdkYIP\ng8hhiFl9YLw/RODm5se5aGpLo+KKwjpXSBxmSLlyXCBQQCBJjMb8bnMJ5lfY\neDi+8g1BCq3zpcx+MMlKoeWQ4lurBnX0EYOfjAd9Qg17EJM+6Kd7zyLf7Cg4\nIPMFrcFN85TnzaTwxtXhtZ1SwdmOHrKOjurgl3+xC0xXl+o4ioF2see43fi+\nRZZxPt5O6JxaB32gKmevtJHQ97lyO36wLcovA48X0Xj7dzGlstZj7ozMpE4F\nk9Q9y38W9S+Xg8jODbVtKHlz3T4arfy0FaAniBz6ZWDo2LKsreckrsfP9i+l\n1HFdyOssrdRFfk9eQiPYw8eb3ka4ZfsI6uMeQrqmfVVYmNZgOlsEFGooKrNh\nNY7X4Dzi0/Bycr5nZ6aJZraEq1N6XyDas9ssqeaRwEUCWY7dvJbTFXTud5T0\ne/Erj4igz3Um1392DNIoBBrBDd/6bmmiPqTIC67UuE9C63EIlzScO75BysO/\nqj5MeY8y1AcZARt/ib+wD5Smf9ChzQ0WGey/khO8bgvkvJhNdzY7uJYubXNA\n51y9sZGDNNa4uvgDmqbJjaiwOCSPo1fkJEbqxotL9qfNKIRTV34V9/Fcmiq2\nGWU3\r\n=nwmq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPF7UEtcNUiNrBmRMFp/A6ASbKmc+vbruq8PuTJj9i8AiAF4ovpQVhYoeHkAOIT//nLexj1N10CWCV7cDmQZjCWbg=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.3_1594341162518_0.1550408831995742"},"_hasShrinkwrap":true},"2.0.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5da51076211125aee89985398eb2b57551cc6d1d","readme":"# sfpowerkit\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=master)](https://dev.azure.com/dxatscale/sfpowerkit/_build/latest?definitionId=48&branchName=master) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\n\n## Commands\n\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n  - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n  - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n  - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n  - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n- [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n  - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n  - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n  - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n  - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n- [Org Related Functionalities](#org-related-functionalities)\n  - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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-beta)\n  - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n  - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n  - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n  - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n    <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n## `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n## `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n## `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n## `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n## `sfpowerkit:org:relaxiprange`\n\nThis command sets ip range in Network access to relax security setting for a particular salesforce environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:relaxiprange -r <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -r, --range=range                                                                 (required) List of ip range with comma separated. eg,\n                                                                                    122.0.0.0-122.255.255.255,49.0.0.0-49.255.255.255\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\nEXAMPLE\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```\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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.4","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-XrBosnRuNGegt0WGLt6vMVjoBCF4Q3vytuuBvSzj9oOOYJ0GYe5qV3oP1lq5VNOAmKXjhiM5Gz7spvzyd5Enuw==","shasum":"6aeb221d6e922ff1e780b00294d32fb645428261","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.4.tgz","fileCount":369,"unpackedSize":1969596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCEZ7CRA9TVsSAnZWagAAEJIQAIkGXYlqiNPrd0zPEvGm\nICEspIaFF5ZECQ7oYPyYIBt2tDgA5C+zXBUKEbeeml05ldb9kUwxh/pp4dml\nujLAjpN0YdjZX7VNhSs1XkJs9sNuH9zBPRJezTihdTR76fdf+7ZGSXX06gi1\nsswuu6n6CIUp4NdSJN8Ju6yEkafGjL0j7HBP7NboLiz2UKPXoF7n13av2U8Z\nM3W9yocAv+ECQYHVoQPgaPuszTEtJ6XgWwPApo/awIaYSNmgh2w4jD608rr1\naouIlNYcN4EAteYfxdUMjHlX0Ly0nzAhQ6NS3KQ1glgi4YrDTTAYkof+nKWT\nK/RIgZlcNMIzUdOvUced86PmMKao19Hr9K6SgeOBNORWCPiauDBhFTXbeuu+\nilAbTBUFUBUHYmYQRc7EbShJYGJf96CZsoS/v4lO47xaoi2Qxh2C6Pzw+m+X\n1bjzS62/XZURIxiCcC3AGAWfNR/ZB9wTQFwO0/jUyjiBze94BkVrTFugNBNi\nGSTNFaYIQ78/iWt2sVdQ/dnzGxneWJaN9iOXemAihTbQxPYbj2G7TZtoVrM5\nCgtHTzTsQEwN43/M8G2jfaxwDObmTaz7vkQCSlyG6tlQpI0Xm41e+6CRhWzh\nL36t1mHwjjV+i5W0QE3I6REkPKXvYNKYHKZXPVZThKvx3xdfcqWYPXDDQLvd\nVxtn\r\n=ae2Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzBMioC49MnjcLZk5na93J8bTzNuoo07vq/R97/FYS/QIgW0qXaYNwscqOYmNuUxVuVvAqWW9HA/EVOYTcmmUKYSw="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.4_1594377851162_0.7263059941845014"},"_hasShrinkwrap":true},"2.0.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2532589cc04b9b4896305de28aa1e3ba4144b887","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n    - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n    - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n    - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n    - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.5","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-zs010lynHGsJx7k2YHlspJ5NxSE6gaR13CzimSD2f6EXyN8gYedm6LXNxFpkNrl2uNcUks5Dn7BO/TPidJ60Ow==","shasum":"34f5f68ea171823838c3170654a27aac987a1c33","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.5.tgz","fileCount":369,"unpackedSize":1974991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDOKJCRA9TVsSAnZWagAAAWMP/ijqE8OIn4xnsaK5hdoN\n3CXLucpjFJSlFM4sACuezy2+uWpwko4t2v/dksQ06S+9GzD3eTBlR0dUhktg\n/8hei+ytoih2qnhjzQqg1RdxND/MasbqeRcyZM5BhtopXo2AABKoq7XKm0Vn\nnS/hS2bYRNIniVK4OcgWC5OCws0eXY7uFjN3uhkxZs1sVk+RGxQJCOLlEO0C\nDTifxTzBEJUZBgKRNl1u/EqdstMAfTJOtZ598OXT6PHnlYWPR5QRH6ao1P50\n4ZaL7ilb9fy+K/hnuZahl0u7JsJtAckSarpkNxAkLX16g51H9R3mEe5FnSGN\nVpqdCcDAUKuuubqp94BgFRo4MeSr6sZFF5E+QPRKyK6b3cVO8R4qOPdjO73T\npdJfOrLbRg2t4WrwZp6y46U/Rr0PVqdloyx0NH01ndfw4sTKoimDS6nDEc2P\nWzJy1Qlf5bVHUv56Nm71JHsv8GpDNdFb6OIKMbvm7mxH3JYG9a2ahfYF5teJ\n7GpvJf5s034MWm9H93iIzCJHdFVz4J4WhGY6sPdCr7b9AgWZIaoaIjzMiw1x\ntQGc48p2VAy7nlrkv4V3L/6V9x8t9Th3Pbgn+b5+whTdHj4pu/s8gtkGZWUN\nbjuk3IyG8qJYI6GLLubKw1VqYVXYLswPjTSFffT8M2ZpIN/OcWkbHOh44Nx9\n2leY\r\n=3ail\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHL3cWLeYGK2EqPg+uU6Zuj2N7HNljyyhuVFS2rYZdtlAiBFGQlwwr3+FMNHMGQeOMPdb3/a23OVr8VLhX9TB62BDw=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.5_1594679944534_0.6398174305929467"},"_hasShrinkwrap":true},"2.0.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"4c940cc3ad4f23eda694f3b7aa4de0f224fadabe","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n    - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n    - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n    - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n    - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.6","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-tsbqXhtrE0+uWVRPWCG6Byl1izXkBt4folC6G3e1zEWw5EKEDlUNuzU7lpQXbJxCikxQPB4I0sW1p9u73LRVuQ==","shasum":"987fcf44171645a608b76bfc22a406b181d2013b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.6.tgz","fileCount":369,"unpackedSize":1975022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFFKICRA9TVsSAnZWagAAPRMP+gJWsSmljyntzcErqYgR\nmx3W7QxcQaY2oQBfi1ijjjuDxnjGmUSquYFXU+loVz54Rje3migW3x8+2PEj\nIw10AtH+HGcLeRp8EHDvwUZPIV9BxSySdlhASwzr+ED1lObn3WsmJxg2I+oT\npaupj75IaD5WdHyxpXbB48aC7S9HI7X4c42Jvihv8wCrrHsL7osD1XDrIynX\nREvqZVPW+GS4QzU9rM1cIH0E+SHp94e0OdJBMX832Qdxh465UDy1uj/uKoqz\na/uPtL0LwhL2oMUq2nZnEBrYDPZxcJtZyvbD4J0BU5GgliVdwvBWN/SqUUgP\nbqEpHeZ9OrbkMJMmjulYvYEz7SHqmthkwCedzyCx3Kk3Ebg2vJzkpAFGQCzk\nQrC58EIh8Yp0wfuGtxnq0iBwbW70z++eY8EfPdjiSYDDgJbwzeRb1b7LNN4T\njOwLW16uRBv2PEsMP96i8+aINARmhMdNAwNMXsfAcP/ex45y5wo5tvCTl0Ad\nvv5xAB4VPfWTUP+mMS+EbL2wCIOZef1jkNG68SkyEn5hDwVED5FBRpQBpXWT\nKRSRpe/NP/nNLBWhRv55jddi6ytDT5RgLzFzAfE86/kEt2mpUPgbyNvUUxYN\npjVJMw/ZnY/AACStcuoz078A76ssSDwNTf4gG9Wh6sHvu1HKvMFSSvkpD+GV\nfbJ9\r\n=nnXY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfejVvFz2BxoGVRtcC9dVMFcVPYKoyRXH0Wb3/QnUcwAiEAtoXfwgwY+v1hPUPdOnVqgHvOBtjK8EyXtu26FwslLeI="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.6_1595167368149_0.02738626893220175"},"_hasShrinkwrap":true},"2.0.7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.5","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.2","find-java-home":"^1.0.1","fs-extra":"^9.0.0","ignore":"^5.1.4","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.0.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.5","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","@types/fs-extra":"^9.0.1","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7877a9d1d95aa473e765b38ff72057eca6b21435","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\n    - [`sfpowerkit:project:diff`](#sfpowerkitprojectdiff)\n    - [`sfpowerkit:project:orgdiff`](#sfpowerkitprojectorgdiff)\n    - [`sfpowerkit:project:manifest:diff`](#sfpowerkitprojectmanifestdiff)\n    - [`sfpowerkit:project:manifest:merge`](#sfpowerkitprojectmanifestmerge)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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## 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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.7","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Nch9ujTO4lfac4uh/bSVozuHDkcjFOqBVO+15ZgGAlu9HVkF1WKUxgS/vFOcK6Y+TohvwMJQqo95Q6MkQIVmfw==","shasum":"ebbaf83fb3121aebc82816cbbd10d857e3781a7d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.7.tgz","fileCount":369,"unpackedSize":1975070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFjCHCRA9TVsSAnZWagAAV/UP/i17CrrnJ4BvZZ8n46yr\nBAGYreacksDWlO9n2FsqrkIbfVyIK7wP0OSD49CPOxsUG+/2Dh2kKnVlXpNA\nKQlsibG4nW/hS1SybOpnbcqSp3o9ABLsp7OdOplfdrt9dX+xBmbtf9Lq3rF/\n3ljb7hZdi9Ws+Dz4ySGYqFAaRHovRXCH9kyEnXbHiMyflCpOYSTgzokHSdIh\nC0q4bIaGBkyCudiKEOvPzOShAVVB6690sAl40RB/D4o6tso3o086bILzsZ1V\noBrJ8m+ikKMwo/RUD1wnrvSj1PdCpQ5bk79UqeufPEo+lP1niHg5eRUltSEO\n/sAfjVoTqlDRVWlxWxdjaLJG4SdYtiPDTx7h6OuJjECqOg/RGddk1XVHf+C0\nTgaXcoTYdGpNyiY1dLqSKro6RkvW4rxIoIm/bGbaBxMsaV54mOxPKztqnQEH\neXlUA/hUBIf6+94XJJykTXLlXf/qLC4MD5tg4hYCJgiebDjdjh0m8E47tAkN\nZqCj22lr2FCAj2P6Mk7nWJ0f4uafAryC20l984eTpUC5K2UOJP9fFS5O12CS\nOxBq8YwP9ze2C7hwVOqpQottBKqPnShpg+wNdJkGu98t9SE0H+sYxweJSYNl\nmhKHHPFK5Y7pVt+49H5ZXlPW50h3+vYLh025HvEDrBIBmDa4O1hlzf7nIhKX\nGXk8\r\n=uqVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlFRJpxUorxoCLvoJ3lixrQo1jk5Vw2dHdq0JirjTPiAiApxyIkMqj49otA4mqRD/wMedpQQN/S2VZbijxssM+mEg=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.7_1595289735021_0.6988791573997843"},"_hasShrinkwrap":true},"2.0.8":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.8","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@pony-ci/sfdx-node":"^1.0.4","@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","simple-git":"2.11.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b96bb90c0e0c0ede1cbd46184c635d19b6d40459","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.8","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-qIKIPV4lvCdOvYt2XC6pArzJx7X8/c8N4Mw9R5QSIG8HRo6mQT35up6UuGwFtnjAYolY/kofExk84ew51mmQkQ==","shasum":"6ce51ad614b95227106447d859ca888550ab7c71","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.8.tgz","fileCount":385,"unpackedSize":2015287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGPtzCRA9TVsSAnZWagAA/eQP/AsaqWz/k12Ok/wPpkvB\nfyMCb6Aimar8sMCQsVKkqotvBwRYN3lTUIX+TLXnLarMbJdAgWMZHu8zSHIk\nTqO4KAOIspvA99gVB1SmxDJXFNwwJm1sJMQG+9BkZ9rhDlyCIq214/8xuMoR\ndnDwx6wBrNut98bsuhk8ioxX4yzXGSdfOLvEt1FsqCpbE7+bKgn0bL68T3LV\nHKm8zk7CtxZFsKDdQbXjW1JfKMTGyrrGu5Q8iJTy0nnfgVim9YgYYLVWdN41\nj49/IoLbiEF9hTfGLiZkF0CwVVmMdC9c8BsFwXe3ly0Tv1qb74fb/lzYOJ5j\n3TIZF8PGMhE0DvWyUGvdq2w4D1cleu8vdMQCEUxVxM8uqAEJaXS138mWdPZ2\nhOCuFqs61S6G+Oq1U90ZDSVxBnfLf6mBw/cn4PVw7qXRTynrmf4f/YHstbOl\n6t+R7caz57+0cF7946JVlvkbnKA1aQVRpErHyfFUJ0/vUGBLTj5ug5/ZxeRh\nbIaN5AG1sI/TqylYebidrsDaPnHMWuG66SbIsmvnEHFTfNy3sZns4vgWUXAG\nAmE5DkYl1+e1NH9q2Y6enhc27a934TdG8l7AsxaqjZN8nre64thgtnglJJld\ncJhjGJkHbNSCv7OaPU6lsOEYRDZ0LsrX13yDQ2a0VNV+JnXDBdX9nv3bJbhQ\nUVZQ\r\n=ZIJX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIEDF127nJXes4a7U7VWEqf/HUztM9OTC4x4AvkLpGMAIgXVKF7wQXS9EGWFU2omKCG3qoe5seEYHU1FL2kvefWw8="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.8_1595472754790_0.30650380185618364"},"_hasShrinkwrap":true},"2.0.9":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.9","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.11.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3dcf74f886ede8843e294790e37baf2cffdf57db","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.9","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-4r/bFL4t20vejusUWATNpvX5leLB/XfdYEEjZB+IMHc/OhFNBqQJPEy/CySljrJvfisB2koL+nLn9BjxPmNvjw==","shasum":"5b8e0697c03ccbd898aaa8c01462f184e566712c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.9.tgz","fileCount":409,"unpackedSize":2062656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGTZ9CRA9TVsSAnZWagAAJlMP/3n3Cmawsoy66XndcvIv\nkH5WPYfDZzWpEoJr+omKS3MOS9ADcYGTEoSDeSgmG2LPgmX9U+7HlN4KM7Ug\nZR7LnxQPk6Vo11MYD7jMyMxg3ExJi9iJf2QVPPDqhHipwa7hst81uAYzZsVd\ngxC3k+drd8zbzTKmR0SWbEGOloFidLEs575/SsjuZXLYyTuUdmHRRYnqIWxK\nSEJdO2xO5qiL0CDEp8ZCOohr5lsaWLolm19GaUCUaJJ9sdxnk2MKKG9oLD8A\nZJA5I8kesgyFFMynNRww0BrFnx9XkBRSG9aIk1kiBdbRczQSGhCmVcDn9W1H\nlQLMLrLKdgR45KW+seRMHV9QqdOZplWbu9enb4yhn0n7N6FYtxKDJWLjtYlj\nRb0J1TiQa+T6tG38npy4SvFgfTaR9lSKi3wedRA61hpojqTxwicOpm6Rk299\ncIAWMC1mOq0vSg5lZ0A47kOLmSZ1+dyRTD8yzXXXuUZSC9Vlig/LAKoKhENj\nmMrTEKNWzFXnGMgU9JUo0vEVeDbaiKKy9dbaMOTUFsPfPfoBngVUOwQaDmPD\nhIp8oBsPN5pSuNANJM84+R3erZ6bYxSLQnG4bDwauEn4lILzMTnadx+z7d4X\nj5fz0vJqoB8mpzc7jr1VQ4MvJu6Q5p2LPQYKajASAipK3XCCe8jSWhaUWFGu\n8EN2\r\n=622A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfWpVi7Mf8NqSn7zkzno0yRejzt4XW8o7YT5MNlWXsJgIhAMrQCB2lwgKtWkavUOOPZizbiPHCAp4SuBSnst1oJP+K"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.9_1595487868513_0.16405840601164767"},"_hasShrinkwrap":true},"2.0.10":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.10","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.11.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d79a5a04bfed17ceaaebd3f5602ee3363f710edf","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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)\n  - [Unlocked Package Related Functionalities](#unlocked-package-related-functionalities)\n    - [`sfpowerkit:package:dependencies:install`](#sfpowerkitpackagedependenciesinstall)\n    - [`sfpowerkit:package:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-v <string>] [--apiversion <string>] [--json] [--loglevel 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  -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: warn] 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```\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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.10","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-7Da7xZqb+GbYQRj6CiOxMPsSm1n4X0pE+ePVhrES96/bf/R33v5hvbApFFt7e0DaPY1hh28EELI8qOVW5j4YKg==","shasum":"e46c8368222a785d5f84412d2bd3e911f054ad3e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.10.tgz","fileCount":409,"unpackedSize":2084821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGWPVCRA9TVsSAnZWagAAtdYP/2V/dRaBtx5lIdwXnsGR\nq59e5s3Bd/S5gJx5cFp2xDTAByd6cammCWUW8Fpa7R8Qy+sXybM9bGjIwPFU\niRIX10e6UNu2BvxA4JagakyPYiReoaa3EWcSsclYjVO0Wys8jPFYCXBRFRgy\nJR/otqwCBWMGpDXejqGYtW8G8K2g7Tvhnd0wcYgXLbnSgno+OfV8NqPTJuWU\nFpRVibjm4Ia6U03rsKLGNKFG3w5apsJjr941TLGiOaiR7ckq/PJ3H9i9BSWm\nmu9OopgVQyeeAJfA1FuSI6OeiZngKMd527Nm7nII++000oOdWwjx55chIptc\n4roMldTPX2oMXLdCrigFqhGvvHwIhpfrt4rD/81LUHmuxV61cJy68RhF8U+s\nNmxIAsHq8H2r7nplIztb/MjqgAKBxNqo8A9TkGKqdFuAvGYCfbSb5FXOae2C\ntdWRY8TKhoVYR71LBk5UPI6kgS6GdG7nWMc0gLOol6uWzv7SIFliBz+YQ+Tk\nHYEtfos2Vi7oXGWOjkFRDjcAdE+sWs4+OPAsdW13N/OisUk1yP07Zb2l7ztS\nftyWgyY+4f2FSDdx7na4Q3GYXc7oiDm4Hpya7cggcTq7SSXBWsIa3fToOw/2\ncryFHgYHHRIWT4gVSnZv4v6G5TkoGfh8u4i4Iwbewkjm7y+SqY/oVzzvllea\nWICk\r\n=rq1F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4mLgAX40lxHvGBst+8Lr6OLRPIQP3sFCPqfFt6aA9KAiBbImzR3XWBl7o+Eqzd33nzotPBZD83kTb00E4JGFam+Q=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.10_1595499476631_0.13138972809882032"},"_hasShrinkwrap":true},"2.0.12":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.12","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.11.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"62371974e74cb16f0e82bc11802429c41fddc728","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -f, --configfilepath=configfilepath                                               (required) Relative Path to the pool configuration json file. The schema of the file could be found in\n                                                                                    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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.12","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-e/gz3fJNLYOXxpA88mZgjRb6X23rbOiIIijyjWKP3+pjlr1K1osNcMezcaKBkm/k8HhbYUPv1FjoLQlnsQux4w==","shasum":"82dd16e76bf9a68aa0b75a4f2a1e06456f6dae3f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.12.tgz","fileCount":415,"unpackedSize":2093901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHiFwCRA9TVsSAnZWagAAHkoP/3paUzlD0uqBYkFoN1rA\n9f0a4HRTj6olaXneX5jDghrgBkfd4gPAH39NRghv0s93ALelUI06lbr0nH9Y\nnBSLlt58J3hE3/cC9lC+BR2EwCfzOIxoZOj4Lq1HZhzHEUpdY28bYcKL7JWG\nR9c7IxBI5SEgDLIT0RMW7m+KpL4janGKdhBxb5FvPrVHJXvebmoq/YXbPmZF\n5fYmCovTY5gaNXL0oREsyOWZo2IDokOiITHMFd3ZWg9NREqLeMvYpkeggssn\nPI71Cp5u939TaezBU0YIQ2yTM3LHPEjCtU2An/II+gfwt0WVNFL59EZOQmhV\nth9R+7l0ze+zpWe5BKvADnLtTtMYfeQusEd0F0ME85k5dT7zwhfwrMmzhrOq\nSAW3E+Y/IeivWkMt43CwYmxyswpi0imQbHPPAXG0tnu/iUc4drUB7V1IAD0F\nKymX0FA3fBDYPrh69ZXv9OE+SKrnEcnCYr/kdnUImTRZ/r7TEcShka6E+yIl\nNeISarsd6v/4ZecR+mM2gqxuEpBleKalVyeUCEPs8CLgZKB3hQAsacDwxIjw\nngTDGbqpz8zcQWRQ2JVDLhdSArFI4gc7dEen8e756rn6bnZjyJC0d/onpJF/\nw0B/PU7++fOVj26vt7WPwQ0hz1lDJnUPWz/6Ryr5gGkhG1gnDumLrTnSA39W\nE2pg\r\n=Ie6v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5zLBFfvhYfJx/Hs+xXiUTzHHBUyd//wM4eKB3otCxGAiBPuuDFaYmFhr2GHsBYip1oCyaW2mzTFFZMcP2wmD87Kg=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.12_1595810160203_0.8211932371895116"},"_hasShrinkwrap":true},"2.0.13":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.13","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.11.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"980620cee918f4ed9a637a73f1acffcf7f15a2eb","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <string>] [--javahome <string>] [--supressoutput] [--version <string> [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory       [default: Default project directory as mentioned in sfdx-project.json ] Override this to set a different directory in the project folder\n  -f, --format=format             [default: text] The format for the pmd output, Possible values are available at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report             [default: pmd-output] The path to where the output of the analysis should be written\n  -r, --ruleset=ruleset           [default: [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/master/resources/pmd-ruleset.xml)] The pmd ruleset that will be utilzied for analyzing  the apex classes,  Checkout https://pmd.github.io/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome             The command will try to locate the javahome path to execute PMD  automatically, set this flag to override it to  another javahome path\n  --supressoutput                 [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version               [default: 6.18.0] [default: 6.18.0] The version of the pmd to be utilized for the analysis, this version will be downloaded to sfpowerkit's cache directory\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:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.13","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"integrity":"sha512-9D6toS3KGK8PJW7W8uu4dZyAodG4dKFk2X7c+7KyvBIuOGA7O6zD9kt3/82i3n1mRRVlu7Z6uSBKGqGr7/RwCg==","shasum":"0bca0099e4b746e7f8802a4c5008ba8b91b1d01a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.13.tgz","fileCount":415,"unpackedSize":2096537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHqqqCRA9TVsSAnZWagAAUkUQAI4BDzgkqXRO9LovZePt\ndjFpzFyI8+ypIol6evqHMwTOFStUzYxGr07Rr/3FLmlzAkGQxkosQo4LiwDv\nzwYksdIo33O0DqCgf4PS6hDos3dMzqnCPE4iwRuXKaSxuQA6XkF7CEE0x1rX\ntpfr5dfRGkfSvmbpP6g+N1cARRefuD1IO2dP2k+rIFAdmHStbBc3WyrkqA3v\n52BtiFOt8+AYPhAykJXO+ISxNO07KovpNkGYXoJOFGo/84MGzH4r3ERdGlsK\nNxm1heZ80RPvRUi0O2NjFKQxSCq1JSRXcnSsIj4CqFjCy5V3emxmD7iDzltj\nkzD4dYT1w0Qtl0whm8KvKp+VJJVsh8Uq8lrw0k9nbjoaU+AS6r4QykX5HNBA\nAR7JNU8oUIrKFB5P3aU7KfEZme0GOa2+E5w+znV3Yzi8SZN/yUgUvYQDkDgS\nTA3h8E1FnfGetUz0SfYs0Enhu7bu0GXmDNED0u3lr4Y5/AYm6kYMnpArz8xz\nFgT+7MlLyuimxX286jQg6+yxo0s6YzUEypqI53LdjXa6fPfneyT8lO1qeGjd\nVS50etnbGuYdDCn9/n6gxzwA2FibvnKU70sP0enq0i/Zi+xe62XydH65cGCd\n4wm2nVBd94mwDqvcSaNrXNErvRCqLb1VC3N1xbomEnyDHMMG6Gj5zbNEJce+\nL9gO\r\n=CFTk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqbMdOmQIcEs9bSA0cgzP2xQrjwOJd84fTnNLKlzyHLAiAPmijdTOGXRuTkTAUnfbjkz+wEbVmip1f2LEaIhYE1oA=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.13_1595845289867_0.4504946201248978"},"_hasShrinkwrap":true},"2.0.16":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.16","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.15.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"842d10304862bda93c03cb60d8198780e1d196e9","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\nEXAMPLE\n  $ sfdx sfpowerkit:source:pmd\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\source\\pmd.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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/master/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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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/master/src/commands/sfpowerkit/package/dependencies/install.ts)_\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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/master/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  -u <string> [--apiversion <string>] [--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\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\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/master/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 <string>] [--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/master/src/commands/sfpowerkit/package/valid.ts)_\n\n## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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/master/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 <string> -u <string>  [-r <url>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string> [-u <string>] [--apiversion <string>] [--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/master/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 <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/org/healthcheck.ts)_\n\n### `sfpowerkit:org:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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/master/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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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\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 -l DEVELOPER -n test2 -v myOrg@example.com\n     Successfully Enqueued Creation of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\create.ts](https://github.com/Accenture/sfpowerkit/blob/master/src/commands/sfpowerkit/org/sandbox/create.ts)_\n\n### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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/master/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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 -u myOrg@example.com\n     Successfully Enqueued Refresh of Sandbox\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\sandbox\\refresh.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <string>\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/master/src/commands/sfpowerkit/org/scratchorg/usage.ts)_\n\n### `sfpowerkit:org:scratchorg:delete`\n\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\scratchorg\\usage.ts](https://github.com/Accenture/sfpowerkit/blob/master/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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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/master/src/commands/sfpowerkit/dependency/tree/package.ts)_\n\n## ScratchOrg Pooling Related Functionalities [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.0.16","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-bFtKPOm2NGZ/lLDZMPkElKv7ODg/KtOGGJw9W9oJ84phc8T7WtZoGo83t9JNULqsHTdiCVK+crT1mokNYRwIkA==","shasum":"3bf029cebf40d4f7fe87cee05e577568965dc1f7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.16.tgz","fileCount":415,"unpackedSize":2100412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIoHYCRA9TVsSAnZWagAArPcQAJztVbUINMRtjmVZGF2s\n7h0qULE9KpEpDCK0KM6Pqs+JM/UaawLOqeq5wCn9sBY9QMgD+WPy7dGoNcSW\nqJa5WcgmZMaQRttjSi4f70Gostg3Wvn81LpB4WWq4qnc5oLT7z9bKXAB6Sfa\n0U5LI5nywW0mqLsK34jZ3LE1lLfnZ/zcDHthU4DiSVSfPlPFI2f/Csa5WxSy\nCdxEsm0IfmKf3y0FsWxXO/2GtORlpI6tTMhTcjjKM3G7aeIuFR9mchL5Gv9b\nEqObM7fncCC3r1i5jiBLLkSHSKgC0NJIzrQNCOuKfNbFhI1uLZYdJz2vwax6\nVQXXwWfJ+3jW4S9mFyGHRBEs1DTurEJoHMzDbGt/9e7LzKFWIqJEqPC00H3M\nkf2us3XLuDCcL0K4xO7wY0W2bCDs5zsKqySSFgKpEpvCSVeWuLZrU19xf6GN\n6QEMSUgxFGHJNLCnlMg+FnYzIh8RisX1cIkmeI/a77dynSUoSnHYCLmu73/3\nA8LKrPT2y7XRxX0bB7KCTqSCJItDvF0BIYfUFMtOGz9KS89pIl9SVXQNIYsV\n6QpuwlDGgCbtM0D+o4pdA8lQ1gL5G1NLvdGQuCePgH+YpILAj0g5PaLTMauj\nWHtczUX0cp1mUBmBq5s4cMEhn2bTnXmQCVgBfz7lG8QvMr5mkqBQ3tXV6Gty\nl578\r\n=aG/6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7Vjg7nB6Ah2iGHfy6upOb59FaZSoJDUMUWFBN6o1LXgIgcOz9W96V7vSuZ/GEZwwyo6ovwCILwE9aYBZo1z917qY="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.16_1596096983494_0.7381798077018087"},"_hasShrinkwrap":true},"2.0.17":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.17","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.15.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ec4eb95c1fd31d67a501e9ae0d5c7549bcbce404","_id":"sfpowerkit@2.0.17","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-1g4QbxHwRbGFXX4sAYU8ebZqpYSuZImjwFjF20rg9zjTYxf5tdoSt88eXRk/QR2vOzMQb09uSqjap7UJ7K7TpQ==","shasum":"5596ee0e715432f29b71478b350bef8d0ebb885f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.17.tgz","fileCount":415,"unpackedSize":2100418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI9RFCRA9TVsSAnZWagAAp3gP/Rb4K5E6Aq8dol3I5n/7\nppydzp4e8CuWHxm9+7cHZQIoeDpw6tI4jMrpN2/nOG0xovm6UUOTJVP4Sxyv\nKN1TWvU/REAb0MULOrNYj9j9XSHhK3Uq2Pcsd+RRBcoRYIJ4H5tN4jQwaqM0\nm2hdS9zh8drdQNkroIBk7pRlj9MdUHgWAEyfptxtIpkX7m9lPtq3iKBiiE/V\nT1q56ugjlNLQIK1x+3BlXNwiJNP8qwdn+4T7ddIOg+AYPlkQ5UCXZ9+8Nuj/\nvRyLQTRLhXC8sbArZ/N00ZRxGZyAR/wZwLpOTrmRSrXk7xp9TVZxxtbzyrCy\n3ygpNb4J9tN8+8MJLIYEsrJt6gyndISUFXi9rFThNnvt1+I3ARMFm8op2ze+\nccFJlNV/4aeevMLoQwOAAO9sNUcIReHysT1CsLikBECj5SMvOqLWq+Mq6Ez1\niq7fu7vEuDfZkk7nQZefZEWRrwYjjS8cgA9Cj93jWwHGq3xAx1lVkS6LfSgV\n4QfYj3UhgfHR9cUhA/WQ4ObrTguQWvSFK9b5+oPpKjMF0GVYego9jbvclf74\nam5ahGb0hnzvvDZpAl3Lzz9oLZgtFAWOCzRm6QXfoERKxGDxM6Z2+JlRI7Kk\nS8NPiFr2PRcHMjLNwFoabEQvTSaF9CoxQNlOXWn68aXjZkmewnNaPU81Gu5H\nfBP3\r\n=TZdi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXdJxIofir5AxwrtQo6tJe/L3FOQz9Ykz8DhPscNC9MAiBBKtojtSII8TyeF8H6CyR1gLoz0w2QGP2EZvccGrcVBw=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.17_1596183620591_0.30033991090897305"},"_hasShrinkwrap":true},"2.0.18":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.18","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.15.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"24c056dc14d214e4612c2b0bc6ce692da0dfea93","_id":"sfpowerkit@2.0.18","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-yNEB2nLR0qFYHI+mBu1/D8VyFRrH4JfmeifCAUxfwrFqidNzc5W1aA8twMhWlxfpxO10Ym95zyPCxaYRvh/T9w==","shasum":"37a1fad19839d0d221bdd5a8d23b8cbcedca6b28","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.18.tgz","fileCount":415,"unpackedSize":2100357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLjgOCRA9TVsSAnZWagAA/twP/RfUS22U+TYdemosmlAY\neJNjMzpbZLM7Iz/fBgk1jmlnd3s/ZzoaeGqPlAM1/LT8ZggxJAYWdRGFqXu/\nkxE0Jqtj6xL/ZZBky4OSQQ3vCSY+DWPyGJiiEVBDR/kWLyywRUMtfyWhuH9e\nHrWtcXyzLq/ypp41O7YFKuwWcjmAdAQiR7a4XqW6O8Fjqw6dLu8+SuM1hUqT\nYh3+0TjYVvGBZaNJ2fQFe76xR7zrYyNcbOw+xnJVw3A6y7NE7euSDBbaALb2\nr2l/L8f2cv8GqyRyQrHbEPeDJS31OqcBgkylucdkx4WQOdQHVkXh4H34q+xy\nfHdW1NaRSEOQqKJWCHnRGnW/ePQQZOGt/zYbb213EjzL/9hBerpkVNbxVK0m\nERJetUFxbdK+HQkSWZsKpEpQlknNVXXk95/Iu+KhgZ0GucOy0kNRBLKyGNoU\nFq2Wosd9Z57ACsc9N6bSBvcaOZkH1fyiOdnFncZwQuBby/Rjea55rMRNzJBA\nnSOIC7d2zl6ctDwG+4wxQtVbCD1KNxpPW/mr0L6T80c0+U3mcc/n5KUxObff\noJparRhgTjvG+HrlXRMiiI7kZtk13Z/DAszADgHh0NqrGHytUgG6p9D/Of0b\nEJbUIQApQJjhqjp6Z2i6zH9jQfm/leRQIch/61ggBk4F+V5VK/TpNqRgXSDh\nW3xS\r\n=hxu4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDt9iqo+mvyYOKYnTTPheNK4YcxAaWBkrvdbjLDDbey0AiEA2NjYo1S0Mau4v/F83+ngvfAvdAmmDLwwyT5ELsyKaaI="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.18_1596864525565_0.3954817683337073"},"_hasShrinkwrap":true},"2.0.19":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.0.19","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.0","request-promise-native":"^1.0.8","salesforce-alm":"^49.3.0","simple-git":"2.15.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.2","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9fc6d2707c997d7a26a0b05b2c28bd9c724ce9d9","_id":"sfpowerkit@2.0.19","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-8EmznEnoqDLyI9Tn38PJKAxTL9mjZ0L69FVcCUPe0n4H9+qssnGEjwp8ajEnx9P44F8d+D2nFhYfb8sjW6I0TQ==","shasum":"5c6a6b4b21433c728a6c2b9da6384f83f6a258ba","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.0.19.tgz","fileCount":415,"unpackedSize":2100869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOiuqCRA9TVsSAnZWagAA6yEP/01T9ySaQygQzYkKAajL\nH7K1LgOf2GH2oJv7fP7H1EIta4H/Je0oKqfYGKfWA4Lrdkai3ICgbT7dY1DR\n2eP3Y8sesSEqcM0YgPGT+1f5v96mvvSkarPLdg5QHG0Z9pdb/k/aoLS1XQqP\nsoz3nfRaC23an1XEHRcDT7dKDPPDnQ21vRGSgw0WbEwxWxjGlogUtA3iMZd4\nwcg8CEJS/uDJJusQlqMdN1uP+n7qPPtlN3Os6f1hnr9W3/Yz1Jn7v+Jovmbs\n9Gds3NJo8BLGU1ZsgeHDpgCdDKkSmFjHi70LrTgrL2/PhwASov5xvKx2AncL\nfa1jND+48mAas2ZxFt++gAdWDkRUc8TLuJ5b4URcjFWoWXCxygyVGIlAoIEX\nnDnx8vK8E50T6XQW+tW/9m1Y66LgxIxr0fGowdcNU9b59/Y+lZ0t7Kpv/VjI\nukeiK284ZuGduHM/2JHEeK0Af8ituQBzWcpQMyBRypMDCl7D3At6U2opPGR1\nFxFaK6OPo0OGEql2t4fCLNIGj2mopU+KPwL+88lmFBGoXjOcp9Zw6Uxqtvlc\nKxBjYINnEbTbn3t/M9w7IMb9v9Y1Xro5XMJtdreQ+9vIChiT0eIRGuq6tkcn\nsAE/a5bJ6a5DtiO57IGnCp8hwD4avdLSf3aRmrtsskd6t0ZLKICm63Cot9Ff\nsOyi\r\n=fVft\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCALkPthAPvKM/aF64F0KdwCWkBmPCpCXZL+jZX4FgKCwIhAKTJeqR3Mg66/2Ww3cH45GevT9Be/Ui31rLHnaAEg9NO"}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.0.19_1597647785236_0.26111446376916025"},"_hasShrinkwrap":true},"2.1.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.1.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.7","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.8.0","simple-git":"2.15.0","ts-node":"^8.10.1","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"dca3cfd572f8fbd60275457caffe4c9e4e554961","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 --folder directory --noconflictmarkers --targetusername sandbox\n  $ sfdx sfpowerkit:project:orgdiff  --filename 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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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: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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.1.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-bHB2EoW03MRAqzqAr0btb8whvT2QaPzE5WX/VIVcqX4gVeZR0hQT3B+F5sLWlpnvuiiIx6bEGLcnon+MD+wsWg==","shasum":"8dd8af3e536a3e1efa73fafd17c5de093f517b8f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.1.4.tgz","fileCount":415,"unpackedSize":2075217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS6lmCRA9TVsSAnZWagAA8EcP/0rBDPsFgYasEMQLaFfw\nIuXyF6alwOXtEAhZlgt9vtFq5aqNYbYzA/gxrh702acuSyubawj+sYLikkxd\ntm966+w8bhip1HTfqQCsXDNuNCpvmZ9wmdTk75IyJFPav2pqLmjhe2zC3x83\nCWM0ajRHOoovqt5xv3XJLAgELtAicRL5BtXV+QNXIl637DN8NjF5RW8XbogJ\nsb1iPU1u54DokBjcXYbFfjrLsF7TIL8XO96Uzcb+JYnEiySj2pYQanibMDnk\n94HzEzXlDZI2zbrdKjCEQSiNpju3OYgHk4UCMLlzN3lIuJPoxsUr+zE7FcmL\n2LXiB4+b5ZoD5XS2EgI9lSWQMJ7H2Vye3IDqRcgmurVNg/M0m6S0px4p48+q\nvi7S8jowFwslRjS91OUo4PDguB+WYkXztK7bKt05tlu6vawOKBIcdiwI9XgV\n857rjn3obX3zY/KRPHuyDPxQPCORUMDRF4Fa3ohM6g0Sb5i5korttbskZ0ry\n76qWRGPkNE0wKFZcJQAYjqFL6Ja1vAZE460to1StYWYUnD4DOscO/E7R18En\nB9J6rIH/UGjmN9kCvP/rt0dU0kH1MXCnIHx6yPsJmXKEK+8HM/8G5TFnoOAY\nDsDIXbnMk1PmuUId/vIj58QfaSQdVKZxayE6OhPAOVaFT8MwFbSo3yXvtn9U\nYEFc\r\n=H41u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGOSWVfOr5MCFaqdwY0ESr9uJ4GYM8tihMbZjGviq1+xAiBRpuwdfyEm9b4FQqJu/9tgxR7DK2H9jrbHWwhh8C1dEQ=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.1.4_1598794086021_0.15258806598690744"},"_hasShrinkwrap":true},"2.1.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.1.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.10","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.8.0","simple-git":"2.17.0","ts-node":"^8.10.2","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"26926bdaee24305fe925363e1645b299a519e533","_id":"sfpowerkit@2.1.5","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-+UhTnCxLiTjYxhOmS3yC/Wo0fO+bF4c8q+z/sB3/ZOnSGGvH/zD8rUNxZ/IgXOn/wCvHbM10XteRXGFV0Kn3tQ==","shasum":"069c49df99d88f46b41e7e7813553e543c0ef29a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.1.5.tgz","fileCount":415,"unpackedSize":2080509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTfpjCRA9TVsSAnZWagAAX6IP/Ricf7hSfGcsg0Bx3kPA\nPtn8XU4+kFJkv35RZfFdpyggiEDZ2uO7iph88hRk+RUcWPni5mcoOVhw8Jp8\nOC7/5BnucXeY04Yf6PgyA1cso/IvB0z2pLffa5irrFNJCYVIY/Q8ICsGSPvM\nzhy7HjN37CHBll3A9Tj0MVHeG/fDVG+s+FTmqGb/8FH5wXbQMQNGOEp3kwS4\n9MDK98m4q9M8ddR1u2jwtnrJ/nket9G9iMnQCYEYbKfe1tQ+hOfim81rjWx6\nZ87ENdhi/+QTxOrrpgUtfRovMLTIqkTXKWsdlU7HUZrkkmB64rXm+aLVJaQG\nrcnN9Qfj8gKT4KSJQtvwk8aMCWfCu0nNSEh9FzANvxg+vua8airK5g/djmW7\nLOS3O7qNn7JwgKViYmABavi6SB20Ep8U2mxXkXxEoOV/wvz+WEGbQm28um35\n5Imsr3Z39CrmAmuauM8iFdFKS2M+jT2wXR9YrGRjE97eKiITprA40IgNjf2n\n3tBCSUiaZltWBzva0STmACdd9MUF7p9OJEBHVWyDx1T0rDsaRsWYQ7lecA1q\nEPOzANBvhsFGaIt6yrwQ6QfjGy5GaYjyjm2i36u1BCEFhHHh0b3XidwMQYqO\nadHPVlSzfqE5jgS7hhmgnEQgtjZd7TX9GZueZ6CBkbEQH50Umb37zMVaqANi\ndmLP\r\n=LLwy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpSDKsvSWDJdo3VW82CfSL6T9QcPspWSALApUwMOHN/AiAQYVOv1PKnAtHZXep27PVoBmWaiXFpa2PMTyLgGgZBCA=="}]},"maintainers":[{"email":"alan.ly@accenture.com","name":"alanly"},{"email":"azlam.abdulsalam@accenture.com","name":"azlam-acn"},{"email":"nathan.batterham@accenture.com","name":"nbatterham"},{"email":"ramzi.akremi@me.com","name":"raakr"},{"email":"rodolphe.blancho@gmail.com","name":"rawdee"},{"email":"manivasaga.murugesan@accenture.com","name":"sanjaymani654"},{"email":"dxatscale@accenture.com","name":"sfpower"},{"email":"sivanand.jothy@accenture.com","name":"sivanand.jothy"},{"email":"vu.ha@accenture.com","name":"vuha"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.1.5_1598945891128_0.9283003750357339"},"_hasShrinkwrap":true},"2.2.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.10","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.8.0","simple-git":"2.18.0","ts-node":"^8.10.2","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3c05524535ebf2d938784423363e4b0a5c7ece76","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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: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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                              Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.2.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ywcOX6yeRFgj5dB8RDOHdjS0MHF2G/5PTK+AsGO7Ym4RESvJd/WmV9HrsAWkFf31mYlaw1/ioO2wkwia5p3x9A==","shasum":"aa59ba53947484412d74b58a183cb63b5e5ab826","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.2.tgz","fileCount":415,"unpackedSize":2083013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXNhWCRA9TVsSAnZWagAAx50QAJ3G4t+WFpueD28Eu43i\nf5CgeEpwskH5/N0d76FhahJKwEbGtOfjY90bmzd+286tY/rcpG5zUJnWJpS9\nuzEbnwJTJ53V/7ULhJr060V2EdeupxP9QxmeQR345pkKlQe2lV4qMVLGcYS+\nyw4xf7rR5uOPq5/PUw+QfIeDccliiarTVcQuy+Ws8+2SnUL+cCztChxOVI+x\nSGOOmAM5G1XUDzXnhRPivkf9TriVJ5QjXuIcl+UppFwRC+DuQRVwfj+7ifnF\ndJI9kiCNf5dFvt3Unz4C8kIYM/4o9thfXZZXTpdSdi4JtcFa4wezY6foKKIa\n9n1kHBImfdfmkOqhPRJUA2QRWOBy4pwaAWUzTFrEffBiyCX0po2TjyxDe5Wu\nVwwh/D/GpA0dzUL1WmPUUq+DDcBIuag4RNjEg5I7bvyvNqxvAtTNsnTmzMzx\nhLlJ/tkMVNLYyhoxVYusnTK2+JGpZCPj6y/N80c3C5Miu0gGlfeBLoejhL8y\nVvuggDRSF1qrgrJniitjJeKcgyGxn1myx8qx+Wc/YzB4LM4vOnB9cLGzwosa\nPRk6zKZMZfilYUjI5I4psZI6MUBFI9GByL9/rLHjYmu3elrngmojvBO6+iuC\nU4+wLHYtygAJJUh365d8caR4Nj6QZCFssnAKU0BFGLtoLIXDILs7Rb/U+nhb\nycAP\r\n=ENPV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8IyewEyqhM7X/qIW0KSSyOlUF+tC8tEqK2Ceaek/lBAiBgOcl2KzjHciY2fZbyp+KwKrRr6pBPtMGhG+ULVk8yzg=="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.2_1599920213897_0.6259137435220248"},"_hasShrinkwrap":true},"2.2.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.11.0","archiver":"5.0.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.5.1","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.10.0","simple-git":"2.20.1","ts-node":"^9.0.0","tslib":"2.0.1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5bb5b4b9182dda11ee388bc34861be608143924f","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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:version:codecoverage`](#sfpowerkitpackageversioncodecoverage)\n    - [`sfpowerkit:package:version:info`](#sfpowerkitpackageversioninfo)\n    - [`sfpowerkit:package:valid`](#sfpowerkitpackagevalid)\n  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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: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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                              Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.2.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-5GS5enThm2ufK7gSCkYeFme4svIixR2tVH5nRada5vNLE1kwgjHchGdsPULxTfj4MNaaprTuruI23zoNeNrlNg==","shasum":"ff14580a083a22e2c3b8ee687666ef3a7544b3ba","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.3.tgz","fileCount":415,"unpackedSize":2049075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYBQACRA9TVsSAnZWagAA5/0QAIOSqPK1zT0ez5qI9Sbf\n6jhRcRRldv5m8Ezsa+n66WiqfAlJJMWAkCM1KtS+xdbUBSoYuogmeOBSisIO\nWQ7I3UQfyooTjbqP7m2dfunEM2w//i5k8vmbJFVaT9BdxECdDFewKHGsjex+\n2vl4ct7/ue/eniyIhvafmenyFMcAgy8kWBNkZJFmydotrMkc9edIRG73PouB\nAwHHwcCnilEtGHZ2/Uiu9VtEq/Us6hkYnqA4fDyLkwEnqIcAqODAnQBk7viE\nMB0P4K5Dih97ld8oy7r2ArxE7nXBp2/b7TxFGLKIfceTrFCGBqh/RomHs5Ig\nZCr4/6uBU7XZvP7ARqxqJud0WyRZ3fhb6fA0yVjRmvCExTIh1zJyp4fvE5s7\nQXsGGvMOyFn3DZAp/MCHRXb02NyIycxyZy2+K6TUNEnI8CKw7fkraGT2DtPs\nj5mic0+38CeTDHudqZ7jDQqghziFDxC3jSAYSkBgbvqFGekFGZ85s8+RmC8c\n1DXjGP2K8I4JAdIwaYwrK4iNtW9DXcVT9Tv/EXjJsiHHsFEMnNksR+8ouDlm\nA2OFCI0FJBsmHxQmHkw7XAzqVTT2oL9L3JkB2VACNf8IlxSmwaz8LexJDrgy\nhKSFsPrlAf5VoIdeEhFa80ska04FmAPttvSvfPgy7MOdbVrc+/Bm/PG4+tGa\nzyiw\r\n=8kcX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEsuZtkVCABc64eUzV9FA7JLmlcBeLYPGP7TtSY4HUuuAiAGHi09G5HNP1S49jWoqz4llafauEk3IhBMoL3WFXNEbQ=="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.3_1600132095543_0.33279577337047916"},"_hasShrinkwrap":true},"2.1.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.1.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.1","@salesforce/core":"^2.7.0","archiver":"3.1.1","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.4.10","diff":"^4.0.1","diff-match-patch":"^1.0.4","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.0.1","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^5.15.0","pino-pretty":"^3.5.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.8.0","simple-git":"2.17.0","ts-node":"^8.10.2","tslib":"1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^2.2.3","@oclif/test":"^1.2.5","@salesforce/dev-config":"^1.5.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.7","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^5","@types/node":"^13.1.5","@types/pino":"^6.0.0","@types/request-promise":"^4.1.45","@types/rimraf":"^3.0.0","chai":"^4","globby":"^10.0.1","husky":"^4.0.1","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1","pretty-quick":"^2.0.1","rimraf":"^3.0.0","sinon":"^8.0.4","typescript":"^3.6.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"97acab5c25432b1c22fd2b411375045c6b3bbcef","_id":"sfpowerkit@2.1.6","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Eiohceh3XrBxEQO1iif0TfifY7OxlzpqMHFyYbIiIiJAHppNOMC1/9jsRjYk+WvRZ2qhSOie7k0Nl/UhSa0hPQ==","shasum":"bf8620f91e99cad0121f180977aeb5f9c9a45081","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.1.6.tgz","fileCount":415,"unpackedSize":2080580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZVdECRA9TVsSAnZWagAA5VsQAJhssABKOeLUKZu40VrU\nORbQ9Iw84fVo6YOtcJhN6FBlmsfD8154OpmitvCHY5ux2dCDmhkiPAu/MVJ/\n0REaw8YJrdDe9o+h2EYOaOCYczO1yS1H8LaOXX5liqnjdMsBm4MZPM/3yF9Q\nd0JdfSqfJCcL+MvAxrl6sREM5eIZjeaRgYFr4yI2o8XCysJ3GFT/8kUUXePi\njxLHs54OZX6Bh5W11ZVkBJJ5+jB/ayX/fJPFbJASsYAJ62sd9OBvE4e50oZX\nF5SVvsFiulkjJq5akXpZL6DlvfM7DgddN/pnhI6Up3MAwJa6Ke0zjsOE54In\nbT8YUjQYw5p+cSKXqVCw0x20Ql8DkXfErK1XVktPXn9NfnpNeZohNh2kMvGl\nMMzr5VgWVqSitdwRWQd+9OMhGu/8bCionpEqrm9b0jCs/MPYLMRZvcUFXCHw\nC3CbizTPWFD2Iq8PIe8CokvPgG/Rh6F7Sx76sY3GBk86nEB4Kc5NvISCcd/C\nPWJQDxaXJrfMElKjMzSNvteSXL36E/yn1hdPXl5fdAcR44Epm1qOR1jVrMai\nKOvFSaaFJqA+LYql4ZTKfa+SLBVDXHKzOMO09ufVAB8gpLc3lm20rsoK9mXB\nzZQzKNFzH3z71O9bhmlgSif7icPlMHKTWVysH1VjAQdAj8sX5UTVGjI8qOBL\nJFaE\r\n=cjnj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHcD2dNHib95Pk3D5VLHB7DXQPLZsrEOJR4E+IrhUZ5cAiEA61HESmcXlIgAAAYYkxdJ7w3Mu+ZLweIRILfLifY8ijQ="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.1.6_1600476995546_0.8929184510674881"},"_hasShrinkwrap":true},"2.2.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.11.0","archiver":"5.0.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.5.1","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.10.0","simple-git":"2.20.1","ts-node":"^9.0.0","tslib":"2.0.1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"63f583a007a381d09a0cfed1a61b8426f2791e8f","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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:apextestsuite:convert`](#sfpowerkitsourceapextestsuiteconvert)\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  - [Org Related Functionalities](#org-related-functionalities)\n    - [`sfpowerkit:org:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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: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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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\nFetch dependencies version details of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:list [-p <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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  -s, --updateproject                                                               update the sfdx-project.json with result\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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## Org Related Functionalities\n\nThese commands are helpful in managing functionalities are related to a Salesforce Org\n\n### `sfpowerkit:org:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                              Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.2.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Xbcdk+hWEq+OMCRGUDLgqB5GzfCZ9JGUvOhWZQ4M0ZhmXgB0xwZQG35QauYuPMhzRwUPIgAY9USgUmtv9kZAQQ==","shasum":"b192a17fe240d4130a86c5374739d0c8a42da544","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.4.tgz","fileCount":419,"unpackedSize":2064733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaEvWCRA9TVsSAnZWagAARTgP/jxGQLOEDann140cIhVe\n0Fe6WEJh8WS4Abg70cukrtvtAKL5PsvYoxWDIUOtWn3z3N3SVFQ+5udWBDT5\n8b+nJXlTxZzjeqXFz91XsjNGBWZoTxMHU+48EWf3873sF1q1Nhky9I9fLsna\ntX/WDccuj/RNwiUlmILFS4wXxO05Au2q6KIrqCpiji5y0ov5vmyci/YQJtGt\n5bVyT6CvPCcclGdL1vvdlyJyPGnzvTMrryWl7w6NoL2RiTK18KrueDIQOd2X\nYTtmeq7N6/9LDvqa1UlYr7RaI3m4diU83YE2nKMtyJ4Tql0pQDiZegL2nzV9\nWicVYWZ83zChSNVU9limPjSFtMgp+2BLFZQTxA/sZpBvTglX32q+VRWev0e4\nLlLRZgkptD+7bcPQUE5e/hw2+gU28rYIgra6SIUfKaBD2HTIZx3wlg/o61Pj\nwelD3uerKH0HRYyiisx6Q49/yfABL4QW4xXcHVJZBZLBiEMxJiHfL0Elh7HL\nMktvA4HMTu56E7vU+1EuG8WqJ3e05VhVt/jt1pEdPrexN+Mglwfd7XKfN78B\nT4eFrzbqNvdlL8IuMxgRNoC2OlxXplh2qhEbItJ+g5vgcWUf8i6GDU1FwoPV\n3zhj8MR0rMgPvze6gqJukLhM55w1i6aAel3DTyxwEOlRVhNyHbMkPtirrQwy\nWy47\r\n=no0w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEIQXayrwfH6y7hvTaTXEP5v2HW0PElinNFGt+d9iV+4AiEAn35My5u37gWQqiF1R0UY2VreKFrNgoGtVRe8mWT+c74="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.4_1600670677864_0.9449492147469276"},"_hasShrinkwrap":true},"2.2.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.11.0","archiver":"5.0.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.5.1","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.10.0","simple-git":"2.20.1","ts-node":"^9.0.0","tslib":"2.0.1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c6775dbc24fd71ecea983eade4cf9b0f38965570","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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: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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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\nFetch dependencies version details of a package\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:dependencies:list [-p <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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  -s, --updateproject                                                               update the sfdx-project.json with result\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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                              Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.2.5","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-9pjN9oyGFc5iREaJ8sHEvfZCL1t0qMFT0+Um1egyL+Nx6asI/REwAOidP827Hp7pvSZhJVvSTptKzCFTFNqSfA==","shasum":"0c68c2b92c7741a1c2cca9eee9a72937d9096bd0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.5.tgz","fileCount":427,"unpackedSize":2097129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfawhmCRA9TVsSAnZWagAA7zwP/icLAZZ6+WqG951yUbro\neLZbdwaxizALPq3SZwU3jJG17cZmYwoPFGhWIY4obDm+WHG0ySUHjpYi+d2j\neC+kjV9Pz2oRP64DNnam0NhrYwl7V9AP9pnmUln+v14RlYIZ90wQUZPhnUFn\nncGM7yIgmeb03ksrdO5BDXd8ATQGOptzFJmMECA45M+cqlfmzJigMc+bydb/\nE0e8UmpCnVYr1027Nxe7oRbKC/DDqOe9+TK7buaXpzyZKDlCNIXEvf3zKNd1\nWuSqQjKnu78+9TrbC+uYY2u6yLntbtQMoCEeBgdeIEVFiaeA4K1Q94VScqsl\nsP5390K3uTpwIQoI/eRyLR7B58h1nvq171C4vAdo1RcicgauFe6DbI8OkJkQ\nQGxP/jxVFeboZlGOcXzvVodrIUnFjYR0eZO0IYa3pvbtkyNYxBnBRzumJ1do\nQMzeCTq41ZWiP8ioGPxz/Iz3gNPMYRc2U463pb3QWK+q1Z4UxBIkmkPU4dZS\njPfy0PKHreVOdiHNg6mvjVOW5Uidi73aHPpTkuo+NuhSjLIgzWygwCfFzKCR\n4UQpU1FuankISqTIm/i7b6B/NAVuUBgvmSNSQn67joyAaHb9UYDm89W5wad+\n3pBHbLSTB22m72AHIpCJMryqUadSbP/0bTbmsInh8QDChS67Y2AwzUPPop6M\nHqyQ\r\n=LlnB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUZdf6baXBH8lBE7etC7Z81sfhE2s87eLiFBcYvyxuiAiEAo9Sz6Lqts8wcmZN7cdzyOcVIksWuU4NRdWZVcRXvECE="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.5_1600850021306_0.7947352672662669"},"_hasShrinkwrap":true},"2.2.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.11.0","archiver":"5.0.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.5.1","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.10.0","simple-git":"2.20.1","ts-node":"^9.0.0","tslib":"2.0.1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ea1b8a6ad84c02e37e2db4422bcef1af3e553840","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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: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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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: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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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\nRetrieves and applies the patch, Useful after a package upgrade in a CD Environment\n\n```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                              Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.2.6","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vMoJ2N4awtvf9nkVUc64/8OaIs9od+ATD3ij70nIT6myHoAnfV+F1u7cvnMkY16C9AWpgkKKv7zT1c+m+CeFqg==","shasum":"a3bcd4e2bee1eadf676abe52e49a31a82c8672a3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.6.tgz","fileCount":427,"unpackedSize":2098343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcEnjCRA9TVsSAnZWagAA4/wQAIdOEbZqyprKT7f/xQHa\nUe9pwg5yHyJl6MCsrvSEx7PZRTeRcxAjYDHsLlAtFXR4OALp9MVg+809uUP9\nigg8xiMvuTZuaNMPi4rIhhfWyIFwZVPV6ZeZkZkB4qSmKSBKUbwi3dzmSvtj\nNdJd4shM46MlVzNmWkv3TOYQ270+c6pttcUeFvN8yj+7L0/r4OcURg78X7/H\nqGIGphvzllswY7PGNTrxmROlLp3vaKpaI2ArbwDWfNhTVd//mmFWQ6cqOuNx\n6ZTXiNnPGkzyCQMmaiC55B1E6sOYmXuCn/st00GNoqLQ8uSC6FrB2pY7+1Ek\neDL6onHmsiPXyP+Kylq0bzesy7raaR7k57n7PkCFhiaM/GfuTRt0KX9x9OjG\nszBgLiwi40CSatPTnqAa8fLiwrpYyyEIJUn/9l2Xp/HYO7q0r8INJNSSsV3c\nErFDKUtSpih1sFOY8oBgxG6WigQCbyJXOnUT4w22YznNyHjojKEpX1dy1Qw0\n7N+dgiU/IYMK4pMFeyA+Xa7pLjqanSqRaKAICHqjXBRHKvHYN2dW/cJHSssJ\nGOi6G/QBZfNaIhrgV5Xi+cJ+I4Eo9NMfJgrSFDog0PQ+Bt9EeVZGmFQvfRlp\nCcgqhckn45NdKEJ6w37GdV6RNocpsHHMqAWXTtvDXmt51TkJSi7ZTAiYJOuc\nf5Cn\r\n=dSZD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5MUbQfoj1MMa9xnwrt4R6+wCcui5bSqE0wsIpAacPjAiAYJJ90HKS09zk2VW5ERtyvrhpTqK2bf3xQqs7A5pNngw=="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.6_1601194467220_0.17320201285635362"},"_hasShrinkwrap":true},"2.2.7":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.11.0","archiver":"5.0.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.5.1","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.10.0","simple-git":"2.20.1","ts-node":"^9.0.0","tslib":"2.0.1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"495827d2e70526728180051b1f9fdf639b347270","_id":"sfpowerkit@2.2.7","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"integrity":"sha512-GqgaoHg883SZ5iWaZYXsY+2KCiZH5p/e6T7bUglpn1P+xlcnal43xMjkgUjzqV+u7KRqPYgcAH21s6u0lq4lhA==","shasum":"8c560292aa8ab255edc38dd9772c02bc30206b8a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.7.tgz","fileCount":437,"unpackedSize":2117912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdZHnCRA9TVsSAnZWagAAMNoP/0z+vDq/KpKrDN/RpVG3\nWKP0Ou9TGaWvHLFqK4qNE/SP2ZsgP3jAq1j9ydScIL+3FvI1AYBQC510nfjx\nmEKt4xRv38PoT8pXhNMnuSu0v02R//BdhO3mxD7YTRuBMnCPogTbA9jAzHez\nyOlx6/h9oFjFtsntuKAQwKyAzTJxVz4X0Gmn5TrcEZFwRJxRvj3cKM/w13CT\nmHrLvOMibFylmCyUEHw+M7WnLmX9aCywgPKFmpAREs6M37rqCwwlrRio/K+J\npVmIpZxN2yXGhcPW89lxQymoQia0ahrQ2cp/R5IwjdRPsZKu7X64aKHM3lEo\n+BeW7GiFDUEGsp8C2mryN+VrCvBYfIc3aaR8qSdTGDNShw7N6OoA8Zp6DYSK\nArcOPyppDh1PUQz3bNtAz+NBVXBCclhrlJwv99+gCt9YlN2LvUnrh0+zSIeD\ntQP7+sBsArSeIemPXjOH2qzSTqV+Xx27hVqHm9R93/bdfFfGsvUcgI3rXrPA\nrgs3DhFghNoFVncLedEj7GCFUfIjoQ0qQ3iCstWSntdnPdIXawqnokv3HWFd\nKXAMSuu9qfX1moVnSjI9Hk98hHy4pSc3tY4dceZ2r/gatAleY5pIewoorEYd\nvj/y9M34cc8fTefolxwKOUIMNtKK4mksoTxE+/Ep3jCrLZT/dCo4wko1fFGG\nEasu\r\n=l5Di\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFwRA7uEStsMIq7fArWcocvZbytCUaku6AD4XtzYJA+AIgdnkuh7iqnws2Wm5Qkp247Bctx8DEFgVTOz52RE/Y3Ig="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.7_1601540582729_0.32107636147473073"},"_hasShrinkwrap":true},"2.2.8":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.2.8","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.11.0","archiver":"5.0.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.5.1","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^49.10.0","simple-git":"2.20.1","ts-node":"^9.0.0","tslib":"2.0.1","unzip-stream":"0.3.0","unzipper":"0.10.11","xml-formatter":"^2.1.3","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2bd59af7ac5b0535ccb01d576ddfab9fb477ad0d","_id":"sfpowerkit@2.2.8","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"integrity":"sha512-QiA0R0cuCf4owd4j7qeZSWPceBCnhDijulJklqmliJgDsSfX2ENz19kk/a7pXHRqYiDFkRiQFJpmD1LT5bYczg==","shasum":"58f85f995cd1bc8dfeb4807ac0fce20d313aff5c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.2.8.tgz","fileCount":437,"unpackedSize":2117952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeqK9CRA9TVsSAnZWagAAB00P/jeykU50kk1YaFN5Q6v+\n0pGzAqoRlruFKlP6lnQQ5xDTzOvzh9fxIf0rPyx+l0hR5DGFq59zIXCjXLHP\nDvfgmSDawFNSSic3xvXGzL3mBeiMfakfOu/RqJ2MT1eoqVvFEeS1y3f1v0G5\nOgc5LYIQoCxtjeqdBmtW3+PxcGNf6T5AolHLIAnTqfw5CpYkaBHMe/6G9Cnd\nTic04P6eh6xK2eUZOL8+xPFtYmQENygKMeUwicOyozdAwYTCPKniYVxN9OyC\n5PY0GvGS/HP/fRkiXJbJEmfPwGP8Fv1ieP+jE+UjcM9SikZ95wmzWb4jN5ec\nw5TeKtl7rkjc1ria/jCgdDJeimfsyeK4crCgCtYRdBqRuicQRwqb+9dEnIex\n9KByEy20H0ImYJ2lPcNBQc9cAjjXU0+g5K83dNOs5lBlaVGahyWFo+wFT2FW\nGQHhPZvx7eMs/uv6JHu32vlSkUC0n0I2Wlp9S4lKvuhawM2EUD6OD9B9Eqz1\nFmmqRpdvWeNrsvhiZtT/stHFNNSPckDwZotHKRoNQ4yWxg2y3kzMOQvaYOfO\nEeftAwZlnqrl8guti3ck1MK1/c5LG4MePa7l03IW+NL00ZgbaVPxl2Ls8z0X\nG3M+pPzuh3o5AbIM/u3HGtQ8PLUN+4RuZVvhmgqyZIGiAJtxWH2VDYAKtsHS\nZSVq\r\n=gUn9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnexm5PRqwGtW4djsyeEt2zpxxewPqx7IXs43HS1AmpAiBdDELaO6OIeX38dw4UPpC5WFIO1ZFYdttay5f5gXhd6Q=="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.2.8_1601872572101_0.07421889038000895"},"_hasShrinkwrap":true},"2.3.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.3.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.12.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.2.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.3.1","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0c565bc9b89d51d18f5550509da5405988f339c9","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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```\nUSAGE\n  $ sfdx sfpowerkit:package:applypatch -n <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                              Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                      The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                    comma separated values  of metadata type, member or file names to be excluded while building the manifest\n\n  -u, --targetusername=targetusername              username or alias for the target org; overrides default\n                                                   target org\n\n  -x, --excludemanaged                             exclude managed packages components from the manifest\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\nEXAMPLES\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass, CustomObject, Report'\n       <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n       <Package xmlns=\"http://soap.sforce.com/2006/04/metadata\">...</Package>\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.3.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-a7YzpiybJxPV4J9M51rID7e8+Xyiq/+E2OtdevbQCe3ZR54ltnP8nU6pSCy5zN6GxvYXuRcOQUmOy0+VMDaGmQ==","shasum":"f88e7727c42cbf0dadb07955456333b96fd8b94d","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.3.2.tgz","fileCount":437,"unpackedSize":2134575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl70jCRA9TVsSAnZWagAA/VIQAIi6P3EsNR4dXGQiACV8\n1Gi3MsC2Pb8QhNSX178dzToAZXwrrhuo1tTIUNuI4/AkSw5wuEf5/aAX3I5f\nWX+lYTPqV9+YQb2v92gObjlojjQ0QMOe6EzmlMQvYrUAoHTw6yKS4U3SHNi0\nOTN3yt9YSb141PbqLd/76PvXjbnn1aPNcQ2tmG4hS+M52/WoDS9vAv264m+k\nUKJQQCwOviaJi6xNm4uLXKTJrjH2IDWg0cvKxp/okVHwqyWc1/KsIaI0cdoF\nbrUEkq4k5AaAU2AvFDTyyPf/RV3ofuVnAMLivzGmmXFkRDPdTONBaW1/BFKr\njum4Pm3W+5RdLNzsok5plR7zhXIADe/iqkgiisL1ew6tL0Be0MEoU4TJUR+c\nWcvvjbqHOk7lyEGRAImAwhz31jYjWQzmIVIGId9hy7oLCNMNBSz/QtqkjY/v\nrS0m4YsDJwwrOBgw/EVLymyc5/M0sAQO/W4rf8/YFpxFLGQ7dtfOH6eZkXgZ\nyZIxILeGsXdK21UGgAktSKX7EfQMTW/BimOfPkJCtTu0fq1QpIr9yL8jP/4n\n6tgriTZyeUqx9M+k54+O7rsNOU800po1MKVPJtO+SdiNYOCVok+zGPnNR2qV\nm6JlbIYKtMgfu6CK3hm1z16Rzd+0PTG6gcih6iwcmX48JMcvI43sZIcBlFvo\nX+W8\r\n=m9DI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+3kIluVVMYTS/ZRpTsEp4tZZxkI7VlQ+I1hJaVLt7HgIgLUIkmEHyewm/yDPM6XaRsC8s58cyaavPggarOCehKxk="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.3.2_1603779874561_0.9713009065551568"},"_hasShrinkwrap":true},"2.3.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.3.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.12.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.2.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.3.1","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b30aa6d6b877248ce30b683d08ae4f2a579c53c5","_id":"sfpowerkit@2.3.4","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-rSB8KuNdGdXm2Fwf/587/5sXPj9V+L4Va9n9afmlhRHiVkWkkZd7VlP9iuHEJTapEx4cV4xuAv7SVZmrgvs4bQ==","shasum":"8668fbc896e4a2db4c6bbcbd5a85a72a7ced151a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.3.4.tgz","fileCount":437,"unpackedSize":2134862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfm3W1CRA9TVsSAnZWagAAZMcP/17O9IV+2I9MxPw3GpkS\nJ/TUdd8NKt/gCmt/5/LHmk/ww3QxnoFAQqkl63izq4E8FiQ0Rpzy9CxzaTqF\n8nMyOV2/pOTumN6g6Hj3EyiP3lAVCCGsIjg34nST92IqB7AzNofZQHqye9F8\nWJzT5POt+waXiCERV0S8ofFeXkYxVJ9MTq7uxVqtcX1+pT0hHYR6poDUMjaR\nMJy9UP7wZGGOI1tBo5QLgEK6KXIzr2ox2o+Gn5ulQM9FZFkTB0u/fwZ6dyOe\nJn20Ud5JG4gD8q8H+3AYehAwEqFh+mQgOQkjng5cKjp13w/yj339E9seuc9Y\naisP5N0y4ZRMfZEYeFhxefOQnYxEuiJGjHNYdHo6Q1gqfyrSE7GCKgLOBG2j\noPtcg1Wy7Se/mZ/g2V9mKy1xV5PV287fXHLMyxejOvPNHaPcM8h8RYhPL7eN\nJFPDoTQTTZylcKUhV4zGZszT1mIW1xRNfs1ZWLuMPbiJtUU9n5SbjlIBt/Ld\n2IjekE/QZKxBYMZAetDoLI4JWxqxThPE2KUTfA8HpijfMRQouoA4qnTNcULa\nvrAhE7Fhgo9k6oMzvwdjR34joZ78UR70ufGzuohi1nVTvAr/yK51XCJp3PEA\nAbQ/Sq6LWWnnc6n4vTBv4YrZhbcfzuFaPYRQeZJ+oqOhzeKtrXf0vNYNQfCx\nrbCR\r\n=EirC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYEWeQfdvtrSZhBlGs8iCkc884wC6Hv+8W/AT9stbasgIhAL9G8xOGXBneCcAAwZLtl/+cTmufLxBwuC0Nw1dfEOjz"}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.3.4_1604023732308_0.07100273311084604"},"_hasShrinkwrap":true},"2.3.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.3.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.12.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.2.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.3.1","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"60fc46dba7d709c1065a32d242360f11cae61ebb","_id":"sfpowerkit@2.3.5","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-uZzPArj1FRQdxA4sgfjlElE/rKWvQV+TpxK99oIULcDls70xs/YeiZjap6bDVXo41GJGTTbraaN5m0EXyir0zg==","shasum":"158c494bf43ee04ee451ca1a2b997dcfce91f4a8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.3.5.tgz","fileCount":437,"unpackedSize":2134862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn0w9CRA9TVsSAnZWagAApUwP/0glPXMZG15vzX9FRmoA\nysOtuVchbqn6af7LP2fR8QAZ60D/VeQXftE0aWdnXVfzYWrHrHUvHn4CFGQz\nHCXx/jWRRtoL/t5btPK2mFv2yfbYf7lgMiUcsEsz/FZyxRI/scecXkeagMwo\npVRhf1PeaEyG/sMigqRZ3TyFhKAhx9Tcm0tOy5HiAZ+5FRZMnw0QwpiRCi8P\nxkK1NXmX8FWKaX9a/tX/APC/FFvYBakGjnAJXJvoTkw7qupBOH+mKthtQieJ\n+5jSSgxhgBmlItKxPjxMy3KvjtaUp5t7kXmC4vhrZOMshkfgk/oIcFatnnrf\nryPKgyhuWbruLXyMH/VQ7riTiIcJ2ufmyNl7N6kGJo9xGl8mTxHHjMCcFMQF\nfTU5Dxr3hpKho3lbA616v9Vk5mC0OB5sp1J12TXzTA2HDBKpWxo1DSIp+xRN\nPcnxk2yHzNEc0+Y7qrs7O2M/4GnWBjDypxq9iEH3twwlSybuQk/TE04T4bJK\nxsB2qDCdpH9uss64yGGNYa6VHxeWs4d3ViSpfQ2eJZuiYHQfenm4E8Id5sTZ\nKCplwdlmS9UvNATA/qbRv/76Q6GVaIbwcMxCGbwbQRlvw8VFkOUQzG/WTW1Z\nRlWLx6ngL2AnPQXcenegqsdjssbF9AoO8ZZEYyT38+owkcBc0QDqwSMJr+nH\nbuBh\r\n=cZb5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8MCpSkfADJCr7fLzdUrb13a5tTllQtQ6vOOZZW4U40AiB6veKKmy2ZteAnBUV6bq867Md13qrqHI3P0MT2EchWrg=="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.3.5_1604275260451_0.7386792071481545"},"_hasShrinkwrap":true},"2.3.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.3.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.3","@salesforce/core":"^2.12.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^4.0.2","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.2.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.2.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.3.1","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.12","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.1","@types/mocha":"^8.0.3","@types/node":"^14.6.4","@types/pino":"^6.3.0","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.2.5","mocha":"^8.1.3","nyc":"^15.1.0","prettier":"^2.1.1","pretty-quick":"^3.0.0","rimraf":"^3.0.2","sinon":"^9.0.3","typescript":"^4.0.2"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"af3514e9d8ebb27aa5c1fb0163ba4c0fd2a7f9c6","_id":"sfpowerkit@2.3.6","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vrKJgKVM22H1JzzYOBlSzowRg9kEmefu26najmLMlMeo1ENoa0+RiaKX0yQRKwgas/GXUrGVFcn8ecPAvHsxdA==","shasum":"21fee6dd931e7256afe25182ecbe0c19a7a021ca","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.3.6.tgz","fileCount":437,"unpackedSize":2132805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn15UCRA9TVsSAnZWagAA2RcQAJe2AE1jvdiUj3XxAduH\nAMWQlLmCcla694kJRSr0zohiBB2hGjxmBiGjBuwbCNvFB1l7IOP8vRHWwZ/j\n0u76+hqn+UdcrRceJCo2X8WQGmv1avwdj8NMuWTkL4IsrphDRHJHpk1BAcnA\nwLTZY3gi8Vom8BOSoHUsnh2hsrhfutXtfCli1omc2AZ61nM1jliZODmJtUwn\nth179iRffNiaq2aDJmfEzuvEhU9e0/14TABbk2iLGfU13muT8XSOBJIt6GZE\n2ZI9plf4lNzO6PUpfNwhmujy92bv44HVFBY+5RgGhiqZQBkrJe6/wk5VP80d\nUfOClzIcZp4E10slZEfNkDyVBlddEWTDsfiawjcb5n+LbZRgmwfHjBL54WAF\n5LiWscjlsak1ckeyDfkBt+5CgYWVQ1rbOffKOc+XqXYh0BR35CoBohYVSBRW\ndgmOHQpMocslVj3jJey1HlLcZWIV9Aj40f9Ns9SOvWuF4Rg7MdO+CaOENTCN\nmvpYzGe6b8a8o2Dfuw/UHN8vU7J0k7WjAK5XVD/XIU4vQw+/mOaVUgauCS0h\nMN2LQghK2NM+RKggkJ6HlTQkA0CBz1I2QPR2kdB3sccmO44ERKnYdAv4BDoY\nZkZgGIxxXT7ddEO6dVAT7sG13bNpEkzBZmIM3FLeEispxoU5l0WpZ29fzi7k\n9BBk\r\n=MZLB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwWrHaEV7X2N16G4YSIjW69gNBLIl5/lyp0mJkzU6WfAiEA9TjpFiT08NioykuVPu0HBGY6Y/SiXNF4VAprRUA8xJ8="}]},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.3.6_1604279891789_0.5039232386607335"},"_hasShrinkwrap":true},"2.4.1":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.4.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.4","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.3.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bd48320e7f5d9fc054a54c5e42424bd5b998deb4","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.4.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-iArNYCHHrJseHZjG+uVndc3WVC5yIiqYwl+4yGRjO7iEtzQss07iGiC/c3he1Zl/bevifrzCmb6MgfZ6B+g4NQ==","shasum":"8bf3bfa790db3120b41842bd9f58909af27d6cb1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.1.tgz","fileCount":437,"unpackedSize":2124147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrN06CRA9TVsSAnZWagAAefoP/2TbtzNrsITG0sxVFeX8\ndAGWGNWaCoITUlkLrfZFw3d6GF436aU3bum8bj1yTCxgjpMhMzc3BYkC5VEJ\ngzWZ9muz4YBNB3zi6lyGOJB/HiUiweHf15SQ0urGXMpEkUnfGhDk6U/hNjWS\nckPENW3ZCpCnYRNi6fZJ4z/MRiWysmgD30ITfxi3kd6ry4FrPQx2L88fA01c\noanRNbQWkC+LmADKJclDk+GJjRdcYEnNr6kkA3vQplsY/WORRXdPJhZMbfXk\nIjOUJiuqHFD53f4SoYySzaEK9CBnpJcq3UvG0Obd2qKxzA8Ctgmgb2K65OcD\nvLDiv4OcOnlNNNfEIgnyCMlxXS+NiLntswr2FkniELp0e7CueJehlmEwGe8e\nBNLZewTjKVOqowTH8eeHMxcrmEmFQyU9753mJ/7UROCiAoz7ZgkXgRi2YaPW\nRI2Bm5SaHe1fm+6tiTTu6Eb1oQL57G87MtVNPX26kBtln0lo9EhR+y8G1Td7\nruxmvKH4bBNv90UR6NLvOTeJOk26e+FTbFGmWalgcnvhMivPXMW2HAUjK7vJ\nGYmyPoCxyA3FHrUOm8Art809zD+msdfPYXhkps7cDbrlCdcUDbzLZ3hcVYMN\nJPottVutXw2dd7AJsLiZXf5HS7msrfbwz7bhf9VMZS0HHJy7FpfnueLDRsbB\nrNfa\r\n=KbiN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgRy+bvYQecIPtGlyiruYPKG6DvLen/7RFp8tc7vPntwIhAK43nMGyCo/fhQLXRXWZ3S1k/HALus/OAOJqfqcVhr/f"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.1_1605164345638_0.555158684517419"},"_hasShrinkwrap":true},"2.4.2":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.4.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.4","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.3.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1ee725520c2909726a968a05f017e35aa6d3b15e","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.4.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-wFPL8/tTOHK4xJ8XN9bcBALmg5LJUrgJPhwRLBdmirm+Bw9i1Aawgwik88Zg+pMjaCihdRwwAQJ6hcDqqd/MWA==","shasum":"c7ebadc2b8b2e56f50c68fdd4d9c19078969a833","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.2.tgz","fileCount":437,"unpackedSize":2125936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrjQOCRA9TVsSAnZWagAA+3gP/jA06W4Kh2TmTXU2kGDV\nqLFu8NWlS85eYbrMyNn9Ra7zu0hn0RRCDMbnVGPgx3SDyBmGA+gqFjct4tIu\n2GMH1qX+KA5qwk0HUuoqmPe3zJxWYfy+93ZoNV1MWGc+kZEuAdakn6YqaEy5\nIeEROA4tp91fTEY+7uG3KqP52w33kqr1kXBxZYePwLoVOZITSstzcGWoSUub\nxmD+oBLzvVAvVBbbwT/X1Q1JWqQFO+r70ZYPM26e1al12ORwIw2XtX92y7fh\nS1P7u46mOI8/kG0fdFYt0qPYJ0aYzSNjnQNVFfPwEzzRZooddcAhk2O7UF0e\nFX8wRhY9On0X/7d08/wKoJ7Sw2M+cg4LLlEgXz5VUS5rcEVIrXobuuzZubcU\nz0PrqFCG0EeJ7Tj0eCgsVKPCh/AgdBQB/226BDxS2285bkATuEjgPZGMZs3G\nYbUl675+M6Htv3bARBxidoZmPPxzu0L0IilJMSHkm4x7ZhIcevElXdczBr0k\n56+MiK1bE3EfNAg4eCsc9/AX1ShsuE9fr4IUgzrfhEpX9QwhNa8ydHD+0QAW\nX8FxKRfvCdAWjtxVn/LDBWZcIgy52SzhXvacFCaJA/U8Rj5UTTVQBPdZR1lt\nWCRzNN/mRLo/Shii0Fvpa922TmQG/3ZkEEahFjqGRvC0C4GLyw2DluSW5E7k\ntJgd\r\n=mgps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjdXKJ0RKD1SqNeis5NP+PCVqrrkcU+r1ZWb065li6FgIgcCskjNcHreVYnRDB1PFaKAxiQbgCVdDQA6OAu1wCxBA="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.2_1605252109524_0.5626146588424885"},"_hasShrinkwrap":true},"2.4.3":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.4.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.4","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.3.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"e5422852a688f1100c095248eb41b437717f854a","readme":"# sfpowerkit\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&branchName=main) ![npm](https://img.shields.io/npm/dw/sfpowerkit)\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.4.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-/ueRpavCd/rbGYcXBThs7ZqrILWemMkVZjEb/+NYLUVKXRgInZuk+ihLpC7mrPQoc3caA/2o3KMyLhSZui43pg==","shasum":"930b3a8aa4f078dc082bd84fe137f13e3973b710","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.3.tgz","fileCount":437,"unpackedSize":2125894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfshxBCRA9TVsSAnZWagAAbjAQAIVjK1Zaa9TDM9lNFQDI\npDpl95inoY1Idot7YGLJVd7SQzQTJIMoLRGzvH+CnadVqIkLpGnC/zT102CT\nvhMu7MW/aIOiKVTfL/iDN2VU/xaukJKY/rA/nwH44dEIIJcTVxa4D7riCjI/\nyxJPJbimpH3dEkNJAD56qpmW7hOVUEG/eRSQA3s8ItFzpeQ0tJ3OFwwawU3P\nh2VRSxTgJK+pv0DJ6deO+aGcp5j2RkNqfGTD30GaYYh2nlDPVvoc5Vuzvxk/\ntwdCyy6Zb9JY+vzmrvJuYmn9i1y62Fe7N02CAoYwaje1A02YdjnZlqkYl1Xn\nm5maXltKjF294y54uk8Bd6zv7LPo1+0S/472Y1iiKwW1redtK/Xas9OlW0cN\n/ZjQZxpyupU6wD4uoDZrKKktJbQlj5MgjbnSdA1bn2lqIoLd6ckGiCN9cUcA\nO9qAyvFqvvYfhpbTVkeeXxrapWAqeuap765P/wTD6phQjs/Kp1KOxZqPabWT\nZb1S6HVI0w8y28GtZpwy2xk8PaL/1NSrF/WawRMBUYxtLC+iEMGtEXZG1HRd\n/KeK+qI0Fc1qhN7hCrmMZn2eoeyVNwLL2YFfcmoXEbumPTge0orIgKCXRyX8\nbksCTgkqqxrPf7Hljsnc23Megzyafn3Her9KBDaqkuBcxxcIP7a6Ar++15Jc\nY5YR\r\n=4BpO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiARU+UhSoBMnMLvPL9zRGp2E1Kq3h5DZ7s9szUocPUgIgW868RDJfngclh3xQkXNItBAeqJjqsyQzaffzHCNitJY="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.3_1605508161011_0.1701358672876998"},"_hasShrinkwrap":true},"2.4.4":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.4.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.4","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.3.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"resolutions":{"antlr4":"4.8.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"76577689e1a53009836341dfd25ca228de749796","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.4.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-yDXk8o1jvpiZA7VpPpDV7Ej5nKid1/CFU1ogz/e4L0luzcKuTlt1FuiO2aQQh92UiILQPOiPIzV2QAcu7WkJkw==","shasum":"a9fc73c499ee4f386d71cec25253f6bd2fccab93","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.4.tgz","fileCount":437,"unpackedSize":2126093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwEgLCRA9TVsSAnZWagAAGhQP/jNd9pkuixc0XO6LR7pY\n7CjBsLkhbyf0LeJ9x5UJv56QhNRuM4hbOPiQRV85/U/RzqWZ8mH8UYfCj3cS\nY3ylxF20Tm0UPwlcWquHl83p3xNmNTbnmKuXu/Hf/zqrW3KrY2D5SrZuTcH6\nbFpovw4twMvHXvf/Ov2MtqN7GmwET5gM1LCbPkfOY0PhaKo62jj4LC9J8XeK\nh7fKaLyP7zVfs+PMXXItIDaaOeFdeTJ4ifswoS4qzjD7Co0QnPgpgWDYyeUw\nJknbQ57Fan/QXyDV+leZ2XECZu+QLuA6PXrA1zyvj46RnR6q5eZ9Jo385JD4\nts6ls5WkY2EdKgaAP+9eDEtKc/+KgpSeZTEXw6B5Vyb7CTNl/nIknOsuJhky\nb6OaIZr4To6SKUz9qdVkvdrnOQw93JYwgyFNzrTcNU2fsNxzoocDcA785oR8\nr/5FzzO/L/Ku/C6fe8j4F6Ekd/jkNULY1ViB6jI+XC9PwdgU8j6CmyG7o+BF\nAvQT4zTomt+lTp/VN3Pygk1PI7Y9qNwJ0fTwZ5gg7JU6qkXYtdbQB26NHENY\nePxpDJEX8lw+mvLg2U+ZTsG9eiAoKSJQFjTCDPB7tMlo1TvFRQrmUgYwzytj\nTgcbojEAehihgSfAJkhJoZxg7+fqEo+iEXm2MX4rX+nqXrub46NB2+nXafLj\nqGqa\r\n=HZUm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExPhs2mmZWnzZlE1JXRv01d5FtO9PMa0L9RFTGJBG9QAiAXpVxAqLYOG8guhLg/1PCQhtOhzh+JmQkUTV4gLb8NBA=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.4_1606436874455_0.3441832322573004"},"_hasShrinkwrap":true},"2.4.5":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.4.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.4","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.3.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"resolutions":{"antlr4":"4.8.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rimraf oclif.manifest.json npm-shrinkwrap.json","posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"readmeFilename":"README.md","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.ts)_\n\n### `sfpowerkit:org:orgcoverage`\n\nGets the apex tests coverage of an org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:orgcoverage [-d <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","licenseText":"MIT License\n\nCopyright (c) 2019 Accenture\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"sfpowerkit@2.4.5","dist":{"shasum":"aed56fd01e190b9b752bfdbbdf79e8fdb960d8cd","integrity":"sha512-L8WdQkkrIHoyRnmLh6z/tC3/s6r3CdV0V/tjaq06GJ/0D0/yZlN6xOvlVmLizMgfnmPf3NVOpt4vAmcE5u624A==","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.5.tgz","fileCount":492,"unpackedSize":2166219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwJwACRA9TVsSAnZWagAAL+kP/3q1PTs2BzN17AWVKGK8\nSC8yxgr68JnjjhYPRy3K3ci3zRne6zq4Yg+UJoBoDwhuRtOvn8FA6Qi+ZLeS\nzCB/Zq32C10OjVxVbyXChY5fvp2Vhpr+vG6xeWc2l3gOlWstsjDCHDvPtA2X\n2oNLuT9rqD/WJhzpOybgnDpSk+94nG54lUoGDFkHiNFFecfjpiOGc7KZbdGe\nUYCyjNvIfTNCkke5FzcqBsLuHsOLAWA4slQXimYZlJshtjPJgK9MWg3aweRG\njSLnKCxy3SVi3iGj5ObV80h6FfYeF28nPkqKR5WmYWLFF9gLI1ZFYfOCU1yt\nzw4icDGQcd5As/a5GZO6gYe9tnfTKc+CI7GwA1jj+V+IZNnBHozaqgIr2DnR\nLfszo0rOzdt3hXpaATilbL2tzZ38WYr21Qq3SH9zew2A59SkcGVhW3lw2Wl9\nLd3LiHDVfG71/if99795gca5X63zrTlL+xLqINB4E+4SoI4hD1kH/Grbdr0X\neJya9soWRGvT+NZV12Cyta5wu7lmMcswcOyKvm3cmlKKYw9F07g2bA+/aZyT\nDvP00wkQQxFLsFdSPrCdqvRXPu2fWhHaGKo10n9B4hhc7D/Nzjhdp+w33SC0\no+eAKfgneS5R4aNQ160aVZUhpYYt4rt5MXijz/WO8Pqpfl7TnYLOLlxcHxiS\noNsy\r\n=6j+R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9blRrIqqym07M1Z8X/L4nFvW9xOAZPGIDE7SgqS9ucAIgNdLuZwLnnFPzkMgRuk+UVhxyquxqnO1xELX8pKB/Ysk="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.5_1606458367593_0.492293339901549"},"_hasShrinkwrap":true},"2.4.6":{"name":"sfpowerkit","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","version":"2.4.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1fbc73c098bec35cf4dd769fd9c57ec6cb581130","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","_id":"sfpowerkit@2.4.6","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-t1bNoz8kPagbQ1jRsiH262Ths3bXuYiAHoQZRhszTcF8hWJ/y3lU7Frj9cpU1DTcVwYaY+/Cb/AmLLxgLQRttA==","shasum":"2565ec644b6ee83bf18e491e79740a552e809142","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.6.tgz","fileCount":440,"unpackedSize":2347346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxI+QCRA9TVsSAnZWagAAjpwQAI9qq4dzWe9CwvQ5ASqp\n8wXhx6bdoLR6atTJ+Zq4jA2FDNxsrN3CDl3P9VByCcFidqRYCXKgVpBAci7u\n2zZ6ga10rmFYnuEtZhlG0KxDSFG3aTT+eqLNPlTTcnvrkurEEAx9DtYA2j80\n/JB+9oOkNGH0E2wORH+kcwOTBApOegGJebcnajKKW0B6OEQN21XEjCh49t7A\nMVwRQsUY6FzK5wZUPaAvv5o4V0BQxHecpq7rS7Zbm7ZQP6yz7Li6ZHgx6JWa\nPen1jNn0319oHGGY/zRmKgsOyTp5S2nQoYKWVYRONngHoUby4CRnlPV4GM/g\nCo6CFGTzeuohQz6snY4CqmCMuTsMdcPbn1Hyfj9x97E/UViDDATGJls6VCnW\ngR6y1kipHDOzEzXlkrkl0zqzh/b9FueIg0lMgXrPHdr1cvNnhDgFtOv0K6TS\nl/Yk4r5azxNEKrG9IMfCOxDm0FM8487g23EUZPdBqOnh5Yv2hWBZyPZ8KkRF\nf1A1Zty0cOQjkBmui+9MCDeTbakWaruTLaKb5qKKHw3syjZ3Xs7RMAJ5gefp\n+UcqKTbOFAETMIOHrV8F4CxEUeKn9lkvdqBa0gevGs2OzWa0N+AcjOR51UR7\nzN4v++eQNtDuhyKC9wFwNqV+wrKGgCnqXc/QUzNd75FUPtb94CLZNav/tHXz\ndoBs\r\n=MpuK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFZb1GmoAbe7bXeEsIxbUBMPjdmPy11DMQgA7Un4y9nwIhAPEId3+bOlpOpoCg2vwPtR3H2+/bSve2C41bZiKXqSCt"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.6_1606717327924_0.337542152350333"},"_hasShrinkwrap":true},"2.4.7":{"name":"sfpowerkit","version":"2.4.7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ad7064f2aaea8d6b8c36b30fa010f3a79b14b817","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.4.7","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-9PVrI9duioC+umUix7Nctj5WSmoDn1k/dkgyTxHKRWIt+G4nZm8bNlQiaxJwkr8IK9zwXInkRdPQ5gKcStkRAw==","shasum":"5ec6ca1d3330220f6cab0006a37b24b61e1d64c5","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.7.tgz","fileCount":440,"unpackedSize":2347216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxJk4CRA9TVsSAnZWagAAiwsP/2YmivvJ4Ktxw0n7Gq01\npLT74unYYe3bJ0eong/qE0d0HhwdlhY8mfp8y5Cu4ajblwmB+PDj7P3qO/tK\nZ9eqKQIfY3sE5RzBQFm+YILMSDnzrTCZbYz/EX+hHqdUeUf3o1ZsLzeE+/jB\nQKNF20qDHhjDIvm0xZX3kxMNZhZJ/6bEIDKOKq3eEvafnemiaB9MFmXIAW+d\nBXX/QrN1l3VTofdCC931dNafwl1mrEpzK91XqjZbaDiC0xqaQFbkhWbJ5Xgz\nV5HQQwTG56vLF3ZDeA76mhY4UAy5dJPSAuFRiJc8uoXy84g7ysjefiFQmVFI\nlNQMGmADw2M2wHscVLp54E9a8vPmV0yPWPb4S8EgK++O8OSc1qqjFBSKVDD3\nve1EwzvhoyRDYOzh2Ldz93pSJrYdVA1BfLjUG2P7EuFfNsm1dvKiCLVXu+YR\nzbOyoivXwaHgcqrNwNEAiWD0eCjyrzggrIQ+41VRSgKOOb4TkEIhdbtc0XRx\n6YxmwGG1EsWfIvLkKWWbmJTCXLBuf9r51rGrmPRVB9t05RBycmPSQSyxN7uG\nxy3a5cz1Nsg+frHgJjhCSIPmyXbzWj9K72dDAsNkZyQvwUqmPYZm+kqlR45W\nwOJLZrHVBiZys6X+wd32hBCEvuIMTwnJFd72F4pEj+4WNOVuR5xRneo8jFya\nDeBw\r\n=0hu7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEF2pVGniHa6N25Qc5XLPFI0tVyw8MR5/9/dfhji3EyOAiEAxkfWNLXG5gB3b+gFv+1YZYzgmO7wEPJLvHqmj20PzlE="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.7_1606719799822_0.3395468372233741"},"_hasShrinkwrap":true},"2.4.8":{"name":"sfpowerkit","version":"2.4.8","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a2a383f6d5a0337d350d17a256af3c287c201f8b","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.4.8","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-toc1QKyfvWcjq5+AOtQw4gSdQjLncA+mXmbyudvoJLi0Eh88ZZAKxKxuQwNWrYdTv2MvxlUTkhLXayPyaijmWw==","shasum":"d7b69ae009f32f2a31c47c250e3cafb8f78a7ac7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.8.tgz","fileCount":440,"unpackedSize":2309526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxJyDCRA9TVsSAnZWagAAaR0P/RbugKRgOfqScyT9JS+W\nrQD30al1QmK30ci+1Kb8LYr5+gwrFsgnfqUbo6i2IcVjD02Lmst1ombbZWVT\nd7GKnzf8XIzj6M3zBd+Lz2vMyl1Csu5QfEmT2PLxHPNZN95u8cauYasQAtOU\nEd/HgAuh/ZNa3U8Pp7BX7wgZPVCrZ60NaPWruOq6oIAaMdECzlEgCGpxgb1Z\n5oySQkya+F99LIrs2bDEem2xYpCFDjpIJEKRpVyxIRty3CMObUTqZ6yTUD8g\nExCfiMltcVGtYoSksR9G4+BtE1VJkhuOrm8AqgHuRsOhC/WURbDU0q6t8zYh\nxasmjFPKr9wcxwWvAB+uYTLhFjPMBf6Jz6zJGWQk1JDPDKaE8aDKHlplDzqu\n9nTA+qIQVmB/crBBT0IwYptKP8MaujIzz1hkw6j3NdxmY2L+/3u3YO8QcAbh\n5Epz+yjeiTEqoLZ7DyFeCR/aGKE3F76N7Kp6pBojIsdujkx+xUfMxY+kgx01\nS1iVHkeEviuH60/pjRlO5bcKrX8Q277xjRRQCob5498qVi8ProJoPhZ2HUCU\n1z59yCysROqlCZalSyk4EOIvvQUocHlfzTOp63rqdXPXWbx0tJnMovOvXNIU\n9DhjqL1NALVuNVm7VaOWqobT1YOlAQPIMparDfAUF4jkqJlCM4tQPXCpOjXk\nLj4i\r\n=u2Lv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYbisjupXL6NWB5WxrclVrcahV24bWOBrDuWRT3Q190gIgIW/dS6RVjECtTqiqCvbgiedyyyQ+jMFAm7y7y9FoTFw="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.8_1606720643265_0.468238670725724"},"_hasShrinkwrap":true},"2.4.9":{"name":"sfpowerkit","version":"2.4.9","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bd82b3c3d379e057ca573506e024266bb3ff118e","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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: warn] 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 <string> [-m] [-a] [-v <string>] [--apiversion <string>] [--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  -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: warn] 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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.4.9","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-bLKTKmoBb6NvsgnRkEJd1Gail/CyWVuCCoBgvsSwpHOAxenVfUGVyfDyjVYk3kq44mBb/WWSqdGvd8UHwCsWig==","shasum":"2c3eccc1c1ac37f952e0bc25d669d948477e2477","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.9.tgz","fileCount":440,"unpackedSize":2309526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxJ+ECRA9TVsSAnZWagAAbH8QAJPEFtYnjTBxSSyR3Uvb\nGNtez/NkaRbEsGDbhXNzPriG/Y9/d0SaHo4wNTuGRxjpc3CD7TawHGqqMY+I\nV81K2slRSrOl2Hr2XM3Ux4DnQDdEzPUx3RYCsnxvqDZ/8gZgK3irLNqv009J\nSIghPUz9GXORrr6ugVpVqI8Fsvc+KIYg3N4JMvh72uNzFZ9iXLI9Efc3gtHo\n4ubk3vw3FPa0rl2MrIpvoajWnnklbLbiqwNv0jHbt+g24bm951Lg5+rd8a5y\n/A1Lur7vVonvYtH+33Lrm5QzW8fR7UTnMNBe0cWGvgSecNTOB0KYyLpzDaeX\n/oF0iud5Ka2yVR2vl4ypnrnSXSe11e3ulL/VzCwkk1tIFx+LZ0refbCW4xrv\nfkRyh3ryPlOGVSF0g12fSAiQD60niRZfCa8yvoksljA4qipuuEG5DWVAtb8F\nYJ+sUZZOYx0W2UcqetllDvPAe64MHtdQqspEkauItFYi+whPY6uQLNgnNtuZ\nUSybvIcZ2whzUhjDW00+jpKCAJ96Xl3UauYAepF6qfkLlEq57s96W9Hiuh4r\nRW6P9MDYqXiUdKsKKE1WNfBmyogwxEHwy29fcD/Eytd8xnCLmMhRUGzYEeCq\nZ+sxqsmPL9+en5AYf5EW1+a9endBAgmkBbJFZnhfVOxzj24bEE/i4W5DxvHA\n5A7q\r\n=rwHY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHii+lYsMzJVgMCAB6S749e6ybjdG0rxikFM0nINS/PAiEA+PyNRjf+MyBxBfaIvYXJdhnsz5O5yBctypssIJmUm44="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.9_1606721412092_0.3330764652910272"},"_hasShrinkwrap":true},"2.4.10":{"name":"sfpowerkit","version":"2.4.10","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"714dfc3ebfe8547fc317f47e469679d8c74c92a9","description":"[![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=ma","_id":"sfpowerkit@2.4.10","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-pNYWonpNuwmTBokca1l9sQ9BYmENsf6DmaqSlR6oOzccQv0Ek1e2wMd1oMa3BI6Pzfq5B3/j/DedA8XoiC/ybw==","shasum":"4e82bce9d715dbb38bdbffb36c70e677461840c4","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.10.tgz","fileCount":440,"unpackedSize":2318745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxZ6XCRA9TVsSAnZWagAA7UgP/A0bnrhwYb5m+tJL4IlU\nI24UkhE7V18nkJQvKpDMKGIT366RlWzLoNoAAHlUPFFkspeI5KYcE6MFq0dm\nIYZSmyqTcE4bGeY57ruL6Bz1JyOzePvbbfc8CtLyh7CPfne0UzmLm8calE73\ndWyj2ZZ2pjme4rxgJfHe1BHIUrrxJ+c+9WhD5Tu6xy6EJ2lsdDAqFUqQZ4At\nMWRwAd8fKKrGjAhSoc5n/kD7W+Hf4LkBUmPVjNUxCYQs6M/+ByEr6Ft5HREi\nbEZk3N9QWX7Ib+a/2tMFY5mPWGIcqUs7Qzg0pit2hcGk/sC6D1dgJI3MqcbL\n1stL5/kuvd/QNLrlZav9IW4qDjksZbax4ZtsRGNRvCGqHGXnIXplPg6oMwV7\nMAFYXGppBiP8+3AK5u1F+Kf6fGTwf+727YcWAfjjm08gtUuhnOB8SjWIl6l7\nBrOGrvKOjBcm0kOME2rYEwG4zYJsnz/jqnBIA9YWze5Hoi3GDA4/UuEENy3+\ngA+g+xywmNfk7B+aERIgZbry6N5aQG3R5SQ3XWz1YjMPHKG5hD+hSpVtP/mD\nuWvGrzefUya+AjrbZzlBzQ7ZRAGocaIkMaVTpd0xMq302OJqL6wzuzr3/jDR\n+IzGJkS0eTUWASiGatm2wZSb40LZR2RBhw+3MLdIqy+VXkvujzBUoUNgwGaJ\n3XS0\r\n=aYP+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHNmalTfreO1zAIeTkYkoQvV7QdmlfAitfOpukqiOlEwIhAKNKKBLJ7hdFQz6VEThJJK1QPq6Ci5UqNu2TL6SEDO2C"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.10_1606786710981_0.6910232954973039"},"_hasShrinkwrap":true},"2.4.11":{"name":"sfpowerkit","version":"2.4.11","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"077932596f22b6a8e37f11fca7a187d39238b43a","description":"[![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=ma","_id":"sfpowerkit@2.4.11","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-5+a2ulEprQn0b2vaYBK/95CeFiFpkM27SBH49V8eAapXhxQiUDa84Ffsj81wFtoLFtHRuMJ2U8A/FG+mi/XUMg==","shasum":"d3eda1330aeec9f939ec89ad0a984fa53d52f8d8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.11.tgz","fileCount":440,"unpackedSize":2318942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxslgCRA9TVsSAnZWagAAIv8P/R51y0axUYgZR4DAumkZ\nJcZAUbtjnib6IRjnkJEMIzMfZ8VAYY5jbOJekWedLI5lEmwrzaGzf87T618R\neF1bfdOS1d8WQwljPzfWVELFnqfMmZejTZv61QcCXrOEefywQbugr4ptMsw/\n8dgF3QATvsv2mNcKSjQ2FhkwlqDDPT0sxlJapg2vV/9Fy4Tq5l787pseDCjw\nIIm2OJjJu46Y/zuuKAMx7MF/plHuXHsWUZfWiAuG5QuW/ccbxjYc6On22TGM\nQm0lyvBMIIUANcsgJC3/AvgCx2D3MbOoURN92yKMiD14eEkGOQUJi+ZMI+n9\nIMd/X62cSkPEhxN4kXINQ9WQkbwaehZbbCmfAr1QQ2gl6zMCcWX5+eZXKjLM\n/PeLggwHFtsMVCxgPxK1BWE70Z7zaJfI54LTz+VD0ZTxvHfLVyui/TQuWes0\nGcv0xWID8jzXnoR/eMIGt7qS+GrYNLbR2g8RUHOIWbACBBtWYbkjVR18Ld/4\nx7zxVBZa0zrUO7E/q6qKGV2Mi+dCZU6AL+MN1Yl+qpB3lRqmmcHsJ3/KB4RF\n+614EzxuoYtboJImGzBbAt+i59GEN7jTVufTWlZbmbrI3qP83RAYbrRfnjU3\ngEQz8ejSCV5YgUsi8+7B59yJzvHXkOmVQqr80wxvA7SpLamXKjZhc5THys1S\nfemW\r\n=PpBA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC81ukvoMrRU3mzl2re/hDuXs1Sl15fVFyA3w8ixJJWywIhAMes+HE3hQVJ6JXLYeSBf9yiZUiKWCKKUM+X5aLUqJFm"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.11_1606863199101_0.8021398354640332"},"_hasShrinkwrap":true},"2.4.12":{"name":"sfpowerkit","version":"2.4.12","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.2","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.6.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9b7968684862ce92676d3dec53950cdcc1180efa","description":"[![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=ma","_id":"sfpowerkit@2.4.12","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-bIktoEQA9iGafs/HTbOxupAZCZhE+vGaETIGV5TnQXPeHcIYzlnK26GQJA/gzjrI+wAe1KAUs78ldO2T6QFkVQ==","shasum":"a143f2dee29250dfbc65b51ba938d7f0b29718ac","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.12.tgz","fileCount":440,"unpackedSize":2320436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyFHZCRA9TVsSAnZWagAAEgsQAJW2VzapCzNPLRnW10kK\njo4UWbBXFpPpw6Vt7zzWmDDzB4cuOc6FDfHNHgRnCuE5H31CQZ4JCi2xQ8n7\nYCf6OOGqFAuujXZ2Iqvq+KSJiaPwRvx4ItZRgLcUQQ3p+LViXRPb1iTqXXCE\nsyi8nrAXoXacqnVIlVTuB0T8u4JZLvB5iX38xNKIBVczA7VVSU3mSEUUqMMq\n3ShlN7E0TOvDhNwN6OQbjbWczSnzoPigmWGXCVyOEee7NU6mP64wVk41tsJX\nPyEtRLtAIG/uH92ICPkAgr0SM9p84kUpy/tecQrkgH3eRqkMb4FKuhXDiN7R\nvhmaHgJQ4DSL6rpUX8xQ1ZA3dxp3OWg7XSu7LzNA0vEV/qWuS9JIAHcaahJ1\nZU3UHmWa0kZb4U8ZrZx14U3gI55cTHTy+NLtb7nTHErlaDeGFVpghZXQ9vKe\nJutuNgFUDxRZ5SAdXDluCLQGMqh5Vv/1YNjvWGG1pdlwvseiFaDWB5UqaTFU\n029M7cF5GuQPx/9MjooDVXdbvq/LTTLHdW9OqYmapF9UYFYPHmLMjkOQV/LQ\nroZaD4cdCPR9QydZ2NimOWNJ58pG7zLVU4eToK8VUYgAR6/J60lmsq1tLSWm\n+Wp4Dt1dFZDa/+m55aEP8qhJhmGqcLylIfpRIhscxbFrRmI/2gm1cX4rrO4W\njgMM\r\n=mSna\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC23gzAatIYWd/AhqDEy6bsb6msZphxLaynamEJHA6ohAIgTOgUhfmPQyw9j7igBljBovEE6KhtYh4rInm6D27RCEE="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.12_1606963672710_0.9779381061777399"},"_hasShrinkwrap":true},"2.4.13":{"name":"sfpowerkit","version":"2.4.13","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.7.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bfd87181b4f4f8591277f9db03e6cb09716c8973","description":"[![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=ma","_id":"sfpowerkit@2.4.13","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-WcXO5sH4SIUThlZQHbTpgn33RHevzl+WM3XrtKEdOQ6Qde0zfK1PQuwp4Iqano12rbH8HOyPhOZRxfDx7ZjY1A==","shasum":"dde63f63430e05922406bd7e9bdcacfd1e3b19cb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.4.13.tgz","fileCount":440,"unpackedSize":2296362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfybjBCRA9TVsSAnZWagAAo3oP/3RfU0thEVE+Nfhtz/Tm\nG8u2Sn+DhyDO3lBmyheurNSeUNp9rF0DudooANE6bkUU4/tgHwOI4eZCXS8F\nYoDNHWhbTs9AJcKZpUi0HB57LToHENGr62td+TJxeo/4xk3XjLyFAJEq/QAJ\niZ6T2sgtfNrfS2Q7YWh7Qy+jrnl9rpDjGG5yAXgXbyKjyJBgxcaO9ckIyUu9\nz5A1u9X/UeayoHxhwxkpoX3sZl1VF+qpknfgTCA5QJDH67p2+cqx7wa/Zh4o\nY+qUdI8yz/gAXgDhhORbsIp/6boDiZhVg2H2IFOJDoXqkO4d/yAZKgw+8uiP\nZJ7sOhhohOfSfDKsclh1mR5O9ZHQY0YnNlpNEvHQlqMaZHYbH6vv1jCGuok3\nuxrSATexZo3Dxe7XVV11hHr/G59tnD5O4+9ARETY4/9Y2+JsQTrM1uFR9TVF\nqhDdzkJmNxx6eTacyh+8bvbk22mNJ//uYm7a4FGeGjfXRwV3R5cE+q5uZxQd\nWf8cd1N/29sV/FMP5F6BSjs+M4G9pGXAO0l4X2oq8SdxPGgY8yAbODkXdrhH\n9Po3LejNZ/f3X3IDmee63/BpqjcGpG/Wr4kq1MdgNPI9/REOuZ8VDWxjEUnr\nyb/n8eIdVjxF3fl9incihlh77rTe2CIL8rbF0emm7/zXepT0sQNZMrUy1khj\nLWrb\r\n=NdFe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcECy/tnPvc0za0tdoyN/FX9t6O4Iy7zvDK06k+AQrZAiB2mrupBzcw0gcTyD1bj8uZXO8J90F8eeYYQwUQBk/C5Q=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"vuha","email":"vu.ha@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.4.13_1607055552255_0.9845034891094777"},"_hasShrinkwrap":true},"2.5.1":{"name":"sfpowerkit","version":"2.5.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.7.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0cdb220bc6dc3ce3bf0b22ea4dbee9398207a52b","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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\nDelete the scratch org for a paritcular user\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:scratchorg:delete -v <string>  -e <string>\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  -e, --email=email                                (required) Email of the user account's whose scratch org to be deleted\n\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:scratchorg:delete  -e xyz@kyz.com -v devhub\n    Found Scratch Org Ids for user xyz@kyz.com\n    2AS6F000000XbxVWAS\n    Deleting Scratch Orgs\n    Deleted Scratch Org 2AS6F000000XbxVWAS\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.5.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-nwFBA95vLOb3yBkxyGOj5F9gWhIa+upPJWnxSBC6WYGdrbwNglty4IMX/GFgcWhF5SokmFEWpZyrivCH9pFnSQ==","shasum":"31ccd91ab667eaf0994a600fa3f988c07e7b92c2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.1.tgz","fileCount":440,"unpackedSize":2296955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4qKnCRA9TVsSAnZWagAA/5wP/3Nmk0EdYKSQ6iyqyJbO\nmaUuh+mg4Wk1EFXRfvAKp038+riyhxT3aNJUZ068g17zcz3rrLHcAgBVn1wA\nrKBdqkZcNKojcVxVdWycthc19WCW6JvHgnMRvQHbq67Pi3wpn2OYNACyHitO\ng+jbv0CN0WcMj83dhBoESPMEHUoXvyvgSWERfGw2hX3OyfAMH78GPCTZJMW+\nCEfE8V5Ju9xYrIisGyznGWVUN0wCQGom1pmo5v62Cn5Sdm5EjMQox4r7weT5\nasw5QgC892A49GseRU+1TzOzuN3gQ/t3fyTMOCatHG0Ogam03XzHJr6YTRfe\nWrg4jNIirwZobw5CGiALQX4BGzQswuEAiPgjtKQNsrB3FBaREWL4tEOQRpfi\nj97uQY4Klcqa7Yxaz47cTVeB3X702Zh8uSDsebAjmCyxMBM26vryNflVnglB\nB7Zm0aQoN+2wOVHrgw/S3Q6PiOdNis1c7FdBGim/WB64EHmxZO2Qc1JIFhOZ\npeiXzYya5xiUCrqiQGP1smuAe8rDpR7mgNnvDDR6AMJidiSln0RQQgTypIQS\nB2c103IYOjqjwCjEvACiXD2O7I8vlZtlMILc8FzTK2SGHMr6q+oxUe58LBTo\nMHs/4HQNyiri+Ofgzivfvhi+TfHtlTJlauIeHLIwqARvxj8JU+qmUdQYIS8B\nQqdK\r\n=tQ+M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEt6KKV+fMDRyaIxUiMeH6cWrytqLR/leoTKhGigiSzVAiEArD6jn/NynN9tffp/R0q8PVyGtfrSHpgjvwqmiNsuGAo="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.1_1608688294508_0.9999107283647786"},"_hasShrinkwrap":true},"2.5.2":{"name":"sfpowerkit","version":"2.5.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.7.1","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5841be24f3e9c8ecbc8b9f4ebdc7a5cef04b47fc","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.5.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-HoCOEeLN3ogv7CV13LqTnzZGN1dUeOGex3LCSkBaLQ3iWKl16NnLbVNxNgh/PuoAVl6TttzzMAH3+Zwpw+crtQ==","shasum":"47f71dac9a75e198b1f73719b09c2ecad326b155","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.2.tgz","fileCount":440,"unpackedSize":2298427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6Sr1CRA9TVsSAnZWagAAPtQQAJhFqkokpcwFy/NALvND\ntpibYttoOUNnl7BMGXJv9+ECdgm+QDu4k5EDIYfcX/Haoo6zIpQXQwvlW9ZT\nU+QPW7rjnbcsJ+bZPELiy+SJczrHcvy1pvbwWfpsBXYwPubtMBUAu/FLgamy\n6CUM75ap56Jj73P5rU2cWhTo8Hmjdk/OCM98sHjWKj5/TSPa8JHy2+LKq1XQ\nxGcatJzMoGSXZ39gaEv2eB5z+vI/l4b/5IQ8YMDkFolX0KtTZynes5F/5NAA\nTvLS91ycBJIEN//zFmHSfD/xst+9XhLP+r4Pf6ytkEe1MieqjJy7PzPOij8g\nAJCRJMJ5nvmdsDK2Fo5Y84tf0wMTIYMkFclpN6lWcU7kVCocCS0Wzpbt5LOy\n2oQu01IzRoIwK8SGMm45a4knMm+M3zVoMHS4qN29HudXrIqyDeTlEDCdPGuC\nsjFmpxYO5M1dydqgNaBA/n3AnuW9R47VvCSsMF9CP32wvHxygkZB/kAmuzfB\nuZPNhio19HaOHHMLxW0zRcLNEB4VvcG8v+PlQuJpfolDdn0Ytk/IgiCGfdUU\n3MX3N4pEr2EbGIxCJmE7vnR+pWeTAxFfSBGKHVkOaKYnx3/Qgie2ZwEbkQAy\ndVE3nBLj9pd2y+AVqhiuK+MzXmYrJzXnDLBTfLJSDIzmyJ+ihWqRjsuSzNRk\nCFf6\r\n=0JXD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI6jggLFdAFVS7kj0plS9yKRFF6Ii9u5POdeTI7rKkPwIhAJHdxcYV5GS5EFATkwkqehuu66ZX6zxGN4mBhKvu+FnY"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.2_1609116403824_0.23042872205566933"},"_hasShrinkwrap":true},"2.5.3":{"name":"sfpowerkit","version":"2.5.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.14.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9dced8fa5525e3e11e24fcb9963ffdd510e48081","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.5.3","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-/8sb6CcwDI9J/XWTCSOnb9BihHIt0DUVdPYUdokSoNvx6cIrQxH1++y1e3n7jgsBpDg6GthF9H4NEhwcuTew7w==","shasum":"f628d99c2cc736ae8efc783c3a3f9f00ad884ed5","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.3.tgz","fileCount":440,"unpackedSize":2300618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAsmCCRA9TVsSAnZWagAALoYP/3rfGNIFLZzOeLb79a+p\nH40XC+JUGNatCFXKkwY9pFoU7mEN/NI+cXwSFvCR8zI4s75rrIQVn7zwYk/0\ne4kItXCpSwQ38t7g0P2BjWonUkCx886IRIgUvT+mP1wfDN/EOhpsuSx1uq1B\n3Gxp0rwhNfqMXYIv+lrI9WjKvH4miDsGEqfua2jc3Yerg6oVJ5FyHIp4NSqa\n8mpR5jPfs7rtH6Zr65Rr1lCGC97PHeJxCojBFxs1QgpzaH5+Q2FAx7tsklD4\n7lL86NqpccnAkLRVhyYXiio3dQ3iNT4HsebGOxPJmpBaGh667InTo7BPF7U4\np1MjIoMSe1U7bFUtIPgl4JgTF7BAHtRC3+NhX1XEQdouSK3ZBzLDn+HfvJM9\nX3J7+oit6AiofHf3fyB0GgeEKTQFvlqXERVejqsM9c1yeaaJd3pafTpcwzh1\nZvysyU06SRgSz/Z+ate9XGVaXlCOKq08/Z3QMQGAjXalC3reQSzuOqM04vJz\npTNxuvIVHymFPLBDG9alNhxo6PyN5uOL51kYw/qR+hlFQsUeltn44KCw/LU4\nQLphVlqLgPqmwD7yfuJWRWSYZvCJQgPpr0SE4uOhlDrI82wVEwAw2T9zcjBu\nJ/+hYmur+Sg50yrGZX8T/Fujj+OOQFoqHLIlUvN7qRTIt3YajAJnLEfwgM2g\nO6lm\r\n=podL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOgz/DxDAxMVTIyyTVOKe+jTpMGbveJb/jC8QGlqaO4AiEAzWGXhpFrpcZI+tnPsGflkJOg6Oy9v9ogC+oJ/TVgico="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.3_1610795393725_0.2954120032881531"},"_hasShrinkwrap":true},"2.5.4":{"name":"sfpowerkit","version":"2.5.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"^50.14.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","apex-parser":"^2.5.0"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"828d9e913395c4166acd1390b092e6a274284aab","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.5.4","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-bEt1KsT/cgcYAMn9dBDiuNWfqA69FTWZA/aAAi75oWWY5OX/gbaeNLV4TTGWn6pBkenijCPFbjouOVc+D+87sg==","shasum":"34fa0f785c22b205c63e358ee8d330da436fc897","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.4.tgz","fileCount":440,"unpackedSize":2300617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgA6isCRA9TVsSAnZWagAAnAoP/0qRyoGoj7iWK6/zWx4s\nA2iYIxb9iaUlJoACjmWbTnfsfcW2vfogzCQkbfqyzK2HWlc78JTFnFtU2TvT\nzuCuyc6qxlwokCLBZDGz1K6Sh27Z7HxlUStZuApRM21u1BBVyOXQeX8Ns9FL\nUMm7XvzloDCEb9e1zqSy2oM+8P0TcTZlztljrHctu9XuU7U+5NIQRpbzw8S8\nAZJ7MHAHR3FpQGogqDawFDOdLzR6pZVAibf99Jl03z1HRF67BIv56O8UA8qu\n7iE5HiyoFO2NXB+tt3acyyXq771AOCHTBQSVmXmtWtwmfzVOlOqhPMgnyh65\n9ZGSyve/5/89yzY1z07k8O4FJi1Klk8w4swEyxxeTcJ4Jdp661Tk9TUXtHGj\nqHOUBqGDGU4xKLXf3QLMqAiM0ZadLeHLnZEq3V+HoXVwkMIxK27KfAM26HXa\n9x2AVbg8l6ZuiABorgiKGeNjhbJF3LROk57mWgra/m4V4XAejywZQhJLRoPS\nrYv0bo02MEkjl9MOarVD4mJQisc/O84mYSX4subwl24KQT51Wrul2qVTEpeh\nKAgdwWwIPZEtUeLkOQj/1nqc5A10uQBDy89iyjqnv2lP4m6AZUX1Bz9N9WU7\nEkqQA+N8IDMgW67OdcZZK7okt46f37jA3MqKrVHr/7r4Ni06eXP2/x+rBY+a\nL+sk\r\n=LwTX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwAyoZzEKrleqZnauFUHkuXFbff5RPDM/8aAzs/6NrHQIgVAx2cTEvZ75DqUWL2IUVqiyJHetF9xuDTdIAtNkZP2I="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.4_1610852523761_0.7761313026523848"},"_hasShrinkwrap":true},"2.5.5":{"name":"sfpowerkit","version":"2.5.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","@salesforce/plugin-user":"1.0.7","apex-parser":"^2.5.0","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f28f13852fc3c0527aedbf3b1bddbb87c7d12a5c","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.5.5","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-G66KHfboCN99y84V1vPcRTUzq097RiYgiDA9AiT2bplaIbd5Ubq5Ly+jn7J2vvDi1q7Rzt4f0uTFpndH3RNlgw==","shasum":"0e31f0216cefee94634e75ddfd8751521aa70f5c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.5.tgz","fileCount":440,"unpackedSize":2302606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgA8iXCRA9TVsSAnZWagAAwWcP/3ZAt/nl3fBauJm/zqJx\nNr8j7zfDwlo2ff+IsSpPlgr8ga4rk+P2bHifYgtVFYiD/D3yZNdAAlW+e7A3\nAKIe2Mv4h+F79FqbpvBqk/gD7g/PBrZAaazKOApRA0j+COKKVA/4GOE63UZC\nEUZ3DZwZ3Zi7VuPfxEjDIKVj7paeCrB3zQrP1cAWK/LipcKCTsSimJsYlcAa\nXUZwsvYFwLaInTsom+GoxVGp54YQsSqBwk/a1KDhmE+Ce1P4BjDtvtqoAVhc\nITanHHdqjz9qnyN6XWkC7gVZCcd4FVok0VuJNDj07F7JNd21J2QCEVV4jGCF\na4wXjsjd1v6a9l8fj20SrhEinSqqk0NCulat0Irvw9m1EW64m6EPwlkgzFwU\nnl9xgepNorGsqUu4EkMH+jghr8SnupTfYLC9J6ESQ2teuUhXqHiZQNxLuUlT\nfE6+MhThfTxSE/J0ulYUjjmSHgAwWe7Lxsf9BRex6DYwXfC2kS3aggZ3X+Cy\nQqdAL8ojvDnm0Rspsa7gPW+fxRwTXSKSAVrfxsFJdrh7KC9ijKuFnFZj4kda\njGLzgwZNOMeXOiViGI62FF9Z2V9SMMyDzLi2UBrGKJzjquPRnq9+V5h6duuR\nyIX/J9Ete9uHnalYnFUvwYkZKWFHkrXfjEZWZOGo4cUbjw/iqmM3zcl1Ojei\nPh+s\r\n=Y/d7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3W2XMULTm5Abftcz6tEHlY2DV+1MqB571qAiQZEhOOwIgBPlXsJbYxqF5wH8a/I7Q+5g/viHmJWU6pAeRtyBU8rw="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.5_1610860695362_0.6861300481983041"},"_hasShrinkwrap":true},"2.5.6":{"name":"sfpowerkit","version":"2.5.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","@salesforce/plugin-user":"1.0.7","apex-parser":"^2.5.0","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a799422d8f169f3b5931d9fb7452638a3a2a4812","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.26.0] [default: 6.21.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.5.6","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-KxueWTBeSi9jKEWjehMMkncXHqLhJvjfxFaWqs/gnE4FPGxg+tF+PPelZeyImD9/2Xs/V7E92/Cztw+S5WFzSA==","shasum":"34fce56a22238c7217bc9c602e23b0ec99a5b491","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.6.tgz","fileCount":440,"unpackedSize":2302656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBLl/CRA9TVsSAnZWagAA+OsP/0tvkvEEAg/QZDG/fs/S\n7690eQbnSz5MK93h3R5LeJb77eCv6ULARfczVD1wnZYW/QE5yc+jgy7QPVVL\n6J64YJrF5TuaEeJzcVaXFTuaqzADGqU8peAjE2bVMWiYIZT2J3o4/MEwk18q\nZCoUl65dV4FR0YdDOSxMtTr0334K+tIeQnvPdUe4kGg3iqD80e9KuS1838vY\nbHuBAwnr7lN+giEo8lB3s47RWC7cC0jwp3aGZLEiTtOslIXeTyRb3WFGLY8A\n+GI+gygTvV4hhlvlvNiBlS3zeD0BoE7mESuPUOt1YMt/UuUbSjU6tFqytw6J\nTWq1He3alacizxv8P8BfqKq26hZVErRjdr+HwiQs0WlNB2sw11+b784SfkGJ\n6Wkb26NKT5cCRDTcJcraO57q+6jyOpkhYdYbyxqF0LaRDswklcB/3S7w6fnN\ngdO1dgkrlK7U0Lg8c5mKXQ03qmgGAPdZQxdTjHwRHDNlrtG/0I6aKZDJ9Iz9\n86ymYsYKUHEu6Ex0nF9NYU8GAzeleeH7bFn/u4xsEvJ4EP5QPgueCfa7x0I7\n6AyA9rCmnMb+VW4NVdLO9MrWg4t+CW+qrB9d3gQTv7vDwSdtDZkBnpZgXc06\ntCFiUZFQTU7HR4ddkvma88sDrEa1a6Y85fb3Duts5Y501aKaKvMnKf7qHAdr\nTbGk\r\n=/RKU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk/wZC0X7zcaJlBn5nO9s8MOccfr35rRIVkfFrHEkZ7wIhAOBDekRnE1/CNjk7KYBOpu93R6W6Sr18nY4Yl98ZbxXp"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.6_1610922366767_0.1786491668709107"},"_hasShrinkwrap":true},"2.5.7":{"name":"sfpowerkit","version":"2.5.7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.0.5","@salesforce/core":"^2.15.3","@salesforce/plugin-user":"1.0.7","apex-parser":"^2.5.0","archiver":"5.0.2","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.0","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.4","find-java-home":"^1.1.0","fs-extra":"^9.0.1","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.7.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.21.0","ts-node":"^9.0.0","tslib":"2.0.3","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d21a4b7cd1e7265b8de4e9c1135e3e61e7c3634f","description":"[![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=ma","_id":"sfpowerkit@2.5.7","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-xnhIln4M2s7x7dl/lymz8lR49ICshIU7TkqN0yTafIR1ZpsAw4/+MuWU1pKiUNHSAOoTRKNHp2yeTrEqtQ8cow==","shasum":"cf2d7f2ce9f5bdcac29b4607fc41779b2e63a0c5","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.5.7.tgz","fileCount":440,"unpackedSize":2302839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBMQmCRA9TVsSAnZWagAAS6kP/RAr1KaX4eBOlT3WvuhA\nia6zhRrBFnjPcuNJGp88CtB6fU10OFowYJmUNsswSUQ1/1o7HifpNHQPsAYL\nYbILSTineBbTwaJgL8K+8Q5Gt+zXaC5WYgugsGP5+i587c1JrSg6HoXU2zJ6\nUdPZTWb0ZuBzxxOxiTwv29xuFIqokp59aco3yaeGm6QdzIGQFYp4bXCovuGM\nLV757AAqJmqsgwH/5YewEiG7iYB6p8Kh1gj/FKk4/0V37kVQ8UcqErF+qMVf\n07iV/i6l7ujONosyY5B1uNg+eRJv6jHbkBKs1ga8H6tpvroa27jvDuVkoknb\nP0MkCoqN6K+4zvK7Kdq9JodMmrUxZR49Yxzz4LDCD1U9OM8y/KMKkqsR0sHD\nuVorjZvUz+cr/HY8L34QvP1BAJxT/usqMgTzKRPWl7b3/wbW0WJKg6RSNeTB\nIcje+EEeQeAe9Tm5IaXU/EdGIUkxYR9aL8Bsf2nVoeEyy/Ua+zls9H7ne9W6\nAVN2xr4dxLmXqb8LDmK0XJkHu3YDfXrFlmMNI7lYXv/pZrtfOTUl2cYiOILO\nJgY5uDnya4yexrMgCOljUqGLMIu/K6AkEV7vdKG43DhMYIxz/cW8zen2jue9\nJA9XLddSwQWgg2t+xk9RVE3gAxFHsM9lkGNsnfVMVvn+eJFAltOwtLRO0QF/\nA48m\r\n=FngB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPLvO8R0+a5K6L265WAFVg6+xof4QTEo4t+LqrjXYJxAiEA69zCjR21W6Tc0ATa/WPxhBRgWL2A8KhqorDBHiG/BM4="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.5.7_1610925093821_0.007990068885628254"},"_hasShrinkwrap":true},"2.6.1":{"name":"sfpowerkit","version":"2.6.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c71a954964362251103550ff408f1b791992ccce","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.6.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-YvAmymbPWM9HaIGua5uG/R4kJQGTgt1yTbrVTqinLvs+vkYray7Urj3Ut5ieVxZSr5h+Dy1R8CUXHCWCZwMuYA==","shasum":"a5b67dc44b7c9e5c7908367e477b27cb800360fe","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.6.1.tgz","fileCount":440,"unpackedSize":2304963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD6xWCRA9TVsSAnZWagAAXvoQAJxZDRmC9Qs4BsAL7nmj\ncdIGQeZ7cF74F9AsL12K3SEq4TCol3mnUza79LlpsrQFIiz8ez6H379H6Hum\n6ZGqQqnijVgNocG7CZ+lE1PjOuHrSZfONAGpu3FO8kX+w7BQYfEjYUtHhbtn\nYSjxZdCUTYEvuq9rx68jt/TeCbH6q4m4e3Gy+JLcSnG2ZpO9zJU8aFNVtShv\nn1OyFMKN9jrbrcqAnu+bX3iF8MXt79ZuBRzUulT6PZYeBRELFAFMsyIfjufx\nvtL1pg/35h2UimIz5yAW+ORGXGl9I6ekQugDe7tK2gKUhGRIYxE8ZQBIARi+\nTxOv43QN3nG8S6I3xAvgPTUxpLBTBj2PIW6o38SuBO+gxA5CEAnGqEDGnBQ/\nt3w/iyKrFeoAYF+BPBLk2YufEwT+A6xnQvApzyqcWDheDd/w1zdH+7Ck2EeS\nOeXBAPiEeu9SJr+LH3y5jXkQY1Zcu/eoDmAgpUq/VNvrfnBclmsShXBGjFKp\nA0PAvURZN01UMwAGwSPVUCTKTZdhEQ4ok4BQfHzwbsYKPojwjHrkqXj2nRkg\nzdQrOkf+bUroUs4pxAZTHSDoV0C4FF65mRi47waa9xMYB8H14/zFU9+IHCF/\nhXlyx9SnYx084Bvw7rCn1vuUKhDldr/wUF53we4C5Wsr43KGzmUcEM14zMbP\nfQqe\r\n=1Jzp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0DoG7BcOGJakRAMuqwM0RTFEm9HQjEv8EwUbjFjbfPAiEArezDlu/kg/T21bK7eM2gUhMcZLvfYdtd1aDbisc2U1M="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.6.1_1611639893161_0.5210148026910078"},"_hasShrinkwrap":true},"2.6.2":{"name":"sfpowerkit","version":"2.6.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"cd4b7f99ff4df0b2e447d2562064fc3547a5c8fb","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.6.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-1Kn1UlMiooef6G6j1MEyIWKiOJB0gaipSCty6KVM8niLjj3vEbQLXu1u2kkw9GmGqvTHetjI7Dk+qSUUxXwIbA==","shasum":"80c2ce8fa1a7f12e9ada9eba0c4f1288651379d1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.6.2.tgz","fileCount":440,"unpackedSize":2305103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD79DCRA9TVsSAnZWagAA2nkP/0UsPKASFZ8VDe0Su7NQ\nsRq5bGwcKVeE6rYBWR0tZDITk59fYGgZTcNzEbcQG0VQpOiWNOVgm+xlFd9S\nHuO8qQGBDn7yto2t6BNTHQLzBqKHQgfF7sYtL2D2CAO3dnSpHoI/JqB+Mdy3\nEnmOmrX8+SJEYEuSKpkSHFXXD4kuxGIQ5YZdl8eFs3FpM+KPNlV4LOa6YzMX\nleSWMl9jTxWKg2Iiy3xkntmMfC1IejpghIlePtGw07hjUPeD3WbvWyts5cdA\nH/VFiVZJXsHY0lAAWMGHTp4ICwJBJNhf5S0M+Dw95l4aehX/Uw6qIDtDAeaM\nGu9WHyybz8RfBmrRqGUIbIFazTRyZk0CEXcKaBJC4pfswKGfQ/zlFEUJZGUV\n5GLSLGi5rK17C5Xr2bdh5rV8nxKcqGg7qBHDff7hASxKRacsBgdJq/8RpPwQ\nMvChR4Nm5FLBQbDunteaaVNqeuzHvZwcOjlS6oZP1Ge27KqHZhZRFEJtGG16\nQCNKnF8mRNWeCjjcLlJ1XcqvNq+ZjdUbi1k/IbQXXlm1f+4KAdJZirOeQJ8j\nbdwLT8v1Z7EANcvHrgcjgru4R8REqwyFD97DlNeAF9vWXjcdc4wOzMp3KqB1\nIP0KUloc+A9wlYwCFb/SeTrY8VMFaXN+1S6nBYBB7q+zuJxS70ILxxnL3nsx\nPzMt\r\n=t4Hh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzNx6SHH2UaVspAGWx/vdBP1P0UGlsK+K9bww4OPAO6AIhAKwCh0VIsPV57stX6n8nPsrXadePVcUg980xnoamyXqF"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.6.2_1611644739147_0.2170488662033192"},"_hasShrinkwrap":true},"2.6.3":{"name":"sfpowerkit","version":"2.6.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","axios":"0.21.1"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"7386b8e98a2b5fdb94631954cfed6fe0d60bb2c4","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.6.3","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-xEx/tOvzQSLG3dENIk1YKSD9g4tv03bZekzSrTLShViN15wDKJS8X5pxu3xWIOrxp4ilMeYA1MiJ2G84sY81lw==","shasum":"ef1d601ed84788efb62f315639790d24a3139cc8","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.6.3.tgz","fileCount":446,"unpackedSize":2315087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD/22CRA9TVsSAnZWagAAerUP/3afo5dcyMyCjPeWx/fO\nme6jVjH1JEq11HGoYubpA9BqiH4JnAS7K3rJm9aXscxMs0MmilwlgXVf0lCw\nTY7Qw385NvxEnaA6HB8+Vsl7t1ogF5Z7Al89E0zZGCeWndtHVV1dq4l6041J\nWROr5yCpaI0+4CduNkULstmTy2xAlkAEQWPCI/h1eNU/gLzCvUoE/TB54Vob\n4GCHXgNgwi6u8GmEG/hqnJxowGQGXl7s//LqGeWPKg52uRvQnYsJ09NCV/3D\n8cCdZmrfkmzHECo7JAnqGE17Sd8MK5/WL6q9cFOkr8q+pjjtRaN/8eOAu4bY\nRBt81jtQL6ryMuA6qhGd3GmE6hFV2LuIxRwVUUGnqqKSQSCSJUunYZkrVB99\nnNwdxr7nehYS3k4ENxS+cwG0XGSlnOs80xX4OXdwI8ldv+Cx155+RtwZ0AE2\nDBlkpZP3gZO9aRvOpeiUETR0KEqjAx1nUulJRbBeHISv0NOx1gJky4T/03in\nUjlnIRgx7eWXW5O7URvIJhr2DntNxDYbdw+0RydyjoLhu/Ajp5dQvzNXLjn2\nc5LjF/e2EYRtOl2cUqeYRFgbOY84LGpWqd4mNNW3VtA/RA9JdrA4WuL6+ygd\nA6t2cVfEKAx1GRg0klzU7czvAYuOW/RANuet/ezg0Ckb/rEpqCc+G6r5/8qs\naZhp\r\n=goeD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDnVgD3/OzJ+I+YuSmxgeugU5ZJNfvFhPBmKu3qAaBVAiEAjZ0YZu6TTGtrDm6ghUiPXkLsM/LEVHV5U3kw2EZ92SA="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.6.3_1611660726025_0.04563742248073144"},"_hasShrinkwrap":true},"2.6.4":{"name":"sfpowerkit","version":"2.6.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","axios":"0.21.1"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f240c5817a6013fa873bbb419f788810b71d769a","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.6.4","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-vrxs017fW7Z408GMEph3XlkRxPvweJOaZxghTR76rzEhnRzkdw9sG/VGrd5FqPLv3XQgOrj6QowQOiXelXi6DQ==","shasum":"acdaccce2d478f34ea55db7ddbe22b208983b736","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.6.4.tgz","fileCount":446,"unpackedSize":2314845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE7wTCRA9TVsSAnZWagAAHA8QAKDtCFoxTkMJg2ZAb2nM\nKrhC/4V6fxl8BCP4G5EmugnbZ1/4Vkt7Q1D2gnseNiYjaBkWEsc+8KB430gQ\ni0IfPsXplkIeaiw6Ywfac4eHiKQ6WJofCskK61BacyOnGfZWUBVaurqgZ/qc\n45EOEHnObz4+0TwUzDWMrV7zn9uN+Rf5vZVD9flKTf0yd+Mvo7fsp+KJl6l6\n049VfcME8uockRFSg9Dz5GhkK2kpu1WzyGEUPFxEQCo2ZXl9WKkUOWXn6VMD\nQM9DoXgYOd9UXhjDPn6ywIcgjDi6BWIoWcxCDaxbQyJzU6KU4euNHwPD8dAv\nAs/VdaAQwABKitvbJI0K/zY6BchBHfO/XRx+co43Y2xh2fWhZvS4zAHVS+bV\nsFV89mtFpwRLZJ0OHsIvr1N8zEvbff7SekcWI5nzNk+2M8hPUdearkWQVaOT\nWCwbrOBGTdfS+PDkVfu4PbOf/xJQRyiG0f6ciw1qhIqSJCg+iDMK+8witb/F\nmyWfE42LT8VCBn3TBwqaNeVSWx9pBWJnaCl6Kf5g5sTjYLXoK3DFItVdzrod\nOwLc1vbyuLaSxTFeFisNM7ClDiFPvk2c0wqBSIQNeFSq1z2039JFEKM/NJFW\nfZxS9y6tGUcEBMlAgNZqplvzP+kf05uvnJFPudFSdLcVLf5ApnaQeUwIAhk9\nRlcB\r\n=w3FA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgzFcmkhY49vTL7JVXRISK8im5H540G2pR4PlPS6GRqgIgJRr6vwhkpAnRkAbgvRerz26YbXo9cDfhlBHonuWCPr4="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.6.4_1611906066543_0.6373681353209792"},"_hasShrinkwrap":true},"2.6.5":{"name":"sfpowerkit","version":"2.6.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","axios":"0.21.1"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"dc0c6869f6b53f424261d5844ef60abe82ca0089","description":"[![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=ma","_id":"sfpowerkit@2.6.5","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-E31CyshAc68fGPZk/90ONKURfx4OGH9OwDWp+uHRetjov/0c9TLTBLKNFv60+LqFtwMT2Z2lxJ7rcFY8F99E1g==","shasum":"fa9e98c78107e393e28b5d85da1ca80e64ebfe14","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.6.5.tgz","fileCount":446,"unpackedSize":2314845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFHsSCRA9TVsSAnZWagAANpgP/0qUzjbTnZ/4vmcg+eC+\nPREOA0PrWRfEtbTzDwr926h1bh6EUSwPtH0CKH5BP4lKHsMoRJCMSev/+uYl\nsFTqW7La7/NGE550UrEUmjXwfxIQD2wd5Oo8NvpqK9F9FIuSSZjuP/5843MD\nGxiSSLHh8Aane8V5N/GHdc13Kr9QU/UxrcW80ygRoFyLccL5UOiSvXcN/If3\nkp4uXdqhVhPoGegRQ2fDMlQpHdA/h+byt5SOJExpNRY0WKHSUFq08jqAthlp\nei+uQdTzmpBgbiAg5PDAbwJ3Fuwk8QaMYI/aMXJKYFgRyBHuG7QMG/ILk6V8\nQ4IdXCCZpgusu4wEKmcJL4CduA06rNUISnQhmkdHarkd6XhxXbtg6AfQHwQ1\n7Q1cd+4HVk3/yUrWsc71uQdJktGjz/57OXckhM4NEOUoWQRcto7sV8bgCiK3\nyirDSgiR/7rNq3YZsDr2Q+ner9/UdOLzubDQLwo2pQZYTCSuY/C0eS85kLxM\nwvSn524EC99L6oeOWQz0f//wKk1nzmkkehLcba2bBDY5OXPlwSl3LY44JQyN\nVi/fAi2m0UebULtLrchSoYMXPCUlsfOaM09qcploXaqoi5L0nOMWvjkKZTj+\nGshzJOf8n6KlGlFw7a0ewv2INUzTEKT28MNhRTzJfOHOzlkmp7mZJTBAmfPA\nrtgT\r\n=R1dW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGCDd63UWiBTfrDrWyXRUnUa1ty0kSOXmA8wwtwoJYzwIgLq2lnKdapIrLVJRkZ0DOhBsWxX5Dn9F4ySw9UZl6Kds="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.6.5_1611954962153_0.07992504663089361"},"_hasShrinkwrap":true},"2.7.1":{"name":"sfpowerkit","version":"2.7.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23","axios":"0.21.1"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"17e298a63f8c3894e63bacf123bc5e70147b3d3a","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.7.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-qfCLctlmREiX+KROOgJuI01iqv1XB9XthbFncTvsuGuChjHUD7juRrZS6tkf5IrphctzQKQjN9y+BkP6FRJ5Ow==","shasum":"e416a2aa18f5401c378be37dc624106f8dfa2ee2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.1.tgz","fileCount":446,"unpackedSize":2324343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgH+2nCRA9TVsSAnZWagAA+S8QAI7g6H/zJvNfMUB0TEen\nxHlKzF4L9PZoOxdoDcpItWm0haUdE9QvudB9iBAp53dHzDRDM8wZOgl/QlSz\nLJzcgBBekjQ0NIz0TcQh1G7A/MgYeFLrJDdQXhl4CxG57gOL6oO3PA/FsIgj\nsp1nmV1hp6eQOFq6CQvdHGB9rwUBjo/rJkehpvhhUg0OOUGFzqRugstVi20d\nd7M4DwKzZScF/0NSV6UhIybSawEUJcE5cz326GIlpFKulI/qazHrFwQS1GWO\nSSZ4IennUbRY0o7g6UVUmPLFoEEHd7L/xvXKWCd8qcPzWQU4k3oelE59SP0/\nFp/UCP1Svyq+HuuFRiIEqBD2OWwN1yBGghNNtAku0Ix5j0dF8dnpQXm7i9Ur\ns+vBWhWlLkAelGQWJtZV+S0nzkPFKuPpPZRopfj0l14qdbH8vmffhlYfcFx1\n9Kg+dmHpSR4zsVyr+LuuByOvp35Wp6vG5C2dytdyQGnHlSaTW3CmOmG/ygIf\n6eUi7GeDzDTcJb6tH++AX7df4RpymO3IwU6D+pFZO2/BvxB041xnN3gWXdtE\nL44imwpBKQl9sd5l7TJLIgw2RMND7VYbgIBANW1pAfDktgv6bRKNT67fRczs\nv8hBawUu7j0uI0APgdmJwEgjtbyptej8Yd3h56DnCeKaaJ+hjNcZ1CH4kgsO\n2bt9\r\n=stYw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL10m36fD3402nhZ7elG/PaDDEfHnohBUewLqh6SS9AQIgN8RrzkiqRbYmipHTDuBdkvW2uMD3PvSLwVOqaANag/4="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.1_1612705190544_0.032602432586380514"},"_hasShrinkwrap":true},"2.7.2":{"name":"sfpowerkit","version":"2.7.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1fca19a72cd23016db2b119aad23946c190f1c66","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.7.2","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-w1rIRL/OKy1e9DwU+TTQet/i201Cx1+DtEsq6fzklicV76eJqrBCpOT6Ou3vv9u7Vgu+64nP7PJj9BiM4uXLWQ==","shasum":"cfe46ccee4441ebd06f58e7aa4ef8243ad3c9233","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.2.tgz","fileCount":59,"unpackedSize":955957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLmkfCRA9TVsSAnZWagAAf2sP/ibMlLEzV8Nt/zoJI6sv\nyh3warzix0W5y0dguumsMZyotfZIPIRhkg7MkEgRvB4We+MZ0MkOKZtL732h\nIaUdxP5U4WxGfgOp9ymLdn7S90R4UkuVHQ3UePSL0G1qkdXOWVv96QgiOr+k\ncBa86RsW8Km1PIJt6PlJmO024e+xFiuGWHuMbQNbGc6sTcMoAeKQyc+vnoAv\nEnf4ywLnQHdYR0r9oW2KeWw4yL4fR4M7xU/1AGYtwluHoqyruZRfcxLY9QpL\nYroM1qAyKGHcSnR8Qy5SeXksaDIaNM4wIOJF25csaSGFyTuFgovVGcAQpmQL\nTIOx/VMDW/3pr949yGmWSl8KHKKEUfaQTpCzcwqOWrPyskzpbtoQ3JSRQSSp\nrsZ81y2B2ZPGBHf7NjpTsCMtZyJvTi4yP/S6GIi4k4Nfu4HqCaet1LI+R3aR\nmEKD023Sut0Ru1KCUMTc68GTwGIDiOBbaJd9p5PheVdo6kV+blffZiU7m8U5\nEs3nPmQJqeekstvailGdZPiSPwoP2CnxktSbeiCSvKzFbrz3OrzxAgTPNfl0\n5RGAAxtv9n6Ndw+88cuG27PZFkh+jwo8mMixJq0gmn7bn78MmuAQFiOBSRzJ\nyzz6ThUBw9IMYtWZu+Ku3sH6Ial23XmsmV3TPue4MM3Jh09b7mVu5R25GphA\nPA/0\r\n=AKEP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEJf2HCRGCjcjJjqkBd4dJwe422spN2WJdCSN6s7p5vAiEApC8nZCP/xoye0lmXYYcQb9cyYagXKUDKaDRouXFr5Wk="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.2_1613654301909_0.16395760783063307"},"_hasShrinkwrap":true},"2.7.3":{"name":"sfpowerkit","version":"2.7.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rm -rf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9a521e7d0246dee33fb2e51fb4b586c7b87ba9c4","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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 [BETA]](#scratchorg-pooling-related-functionalities-beta)\n    - [`sfpowerkit:pool:create`](#sfpowerkitpoolcreate)\n    - [`sfpowerkit:pool:fetch`](#sfpowerkitpoolfetch)\n    - [`sfpowerkit:pool:list`](#sfpowerkitpoollist)\n    - [`sfpowerkit:pool:delete`](#sfpowerkitpooldelete)\n      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 [BETA]\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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.7.3","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-pSbeiRZl8g7288nBZ3N/Cv1nm3VKtd9gyyTkObNYwM+7CAX7Xh6YQtviL25HyzLdAd/MfMHBqGwoY3RoWpjCTQ==","shasum":"e68b20033eec9b2c4761e505e69477413b336846","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.3.tgz","fileCount":293,"unpackedSize":2519508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLvQCCRA9TVsSAnZWagAAsPQP/2K4a3mxtWyJnXEozqoU\nkDhRDzgmQeR2z3epUvrcWjPY+jGIh9ZiERbKKc72HcaaflMVXRveNwyZNXwC\nLpJNUNmJcwfyc4duuamveB98dKAUoIaWU7XbiNQWaOsbw/AY+j8OVwXYYilk\nEmh9ZBJG0L24wOWAirwA4GV56443f/VY7LxCYYaakUjlpSmyfsqefv/SYZnx\n2yk3u3r5Qn2FkDjlgfZYLq0LZH0l6WssKBuI1jrz60o+Lzbm8nT3hNn+oQlQ\nnnOmqwTIiDonFGhM8PyobDv+huyRZcEAXr9v74ikgIuOFCH4YovDmzg/L51K\nJj7AKJHlefhYH/W7DyG3c7ulfPqiIQztQWQj+tcpbhvcKHqz5TldvX/JLd5U\nn4wc4zZSKxcKx0ZEnMRljeIhYHkgIB2jFJIwtMtBbjK7exL2+l2G5X9/3Zl3\n1w9coA2X98rB55GeQJcjNAW1I8/w4iNCB8KCjk6HjZ/0C3s4maG1EDo1Uuz+\nXKX7hz527zvo7IWY6fcZQ+snaa3CAtBfXR++KZyBHxNTL6bRsZgNhYhTU2Yj\n3nF8s0BlGw/FOSov+u/T7lt5M0uxgRyO8OoxTXPAb9nZjsB6X2FG5SxO8yNQ\n8WWpAxzmfdemAXEwTp1Goh7o4ox3JxkDlpPavQfXQXimvBPLOVwLzLtI/Yy0\njRA6\r\n=4cKj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbd8y6yM17+FbN887z3Yf8fr1j8rBsiS/JWFky8Y3ONwIgBw53VTejmJjJU2tlbyLc6JmEeHDj+HvFbWyL3kXhoZo="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.3_1613689857787_0.18670046828453812"},"_hasShrinkwrap":true},"2.7.4":{"name":"sfpowerkit","version":"2.7.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"2a173b2ee3ddaac51110cf8c0d80dbe1df6464b3","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.7.4","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-kCUCwE1xKlCnk1KBkCDLhtQ79YrJLiUR2dieJJwlcLSLbGn7wQdQ+SmHkVzH7P5HxgXNluK7VsU73UBW5vz8DA==","shasum":"39ca7911768773d413944803e99fb71c4916c6e6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.4.tgz","fileCount":293,"unpackedSize":2523582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgObKXCRA9TVsSAnZWagAAQH4P/02kDGKgnpfUEZifZcl4\ni2JSw+TgXzNznxYPa2b8CbSyXUTOcY2WtR4sfLeWzfZme0aoe2OGCjJFm5Nn\nd1tJL+vKNHSVo9iRLhtWxYBu1XHgtdjdHzxUDJoot4Twm3tB4Roo77raIF4a\nN3r1x8Y3caT1wVImrCN5awthJZcTImd+HRF/y4VO/yWO+LUS7DpbhGE3x7Ny\nGeiW2qInamKyM1dtd2FgaBzb9Jn55FnYbs5zDunBqS/UpNuYPKyPkCV9p5LG\nVuFRH7z3QBvBXJ9HUZNfAJSYnltrfgwW9y8hiTKaF/DSK8BPtd4yiADGmn3e\nbIpEPduB9AS0E6AVIMdFKo/thZUH4Ef2/zZ/PMZcE1JFyHkflaFyPKKNeyiO\n+jBR5V3KkM7ZKZvOV5DCTYiD3a8EIQjD27V6xx8hvgCb3tRo7fKFAKLwaPka\n+GPKxcMroioJleBPN11n5yMRD+z5Wp9AXOAyi0QWSkL124I4U9RtZ+0xw6BU\npSdsyvdBkBmmGHLNBbztIkktwG2k/Ixf8pR6qVicSdQkQwbjpeYuY7RljCKm\nzjCbElqnwB7l4dB52ytsB9SACfwBiklcXK8yH6O52ylnVI33PvUzR1WLSiF3\nJTF26uHwBUSDElu1MoXbWiAQ2mDFouBDSBpZddfUMHUsD+xUJddl3442IQ1E\nE7dc\r\n=hN1y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd18S6VZTx+UvN3HXOethEZxNoviBKP8XiteGbTl6HEgIhAMItUh6tJ3QsFw9SNoqYP68AVRkmvgF1vbau8DXSXcWZ"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.4_1614394006304_0.31456690600955906"},"_hasShrinkwrap":true},"2.7.5":{"name":"sfpowerkit","version":"2.7.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"9af0328fd23c2ead6c3933e232876d0897ada37f","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.7.5","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-BkUP5YpZBG4xMBzFGhxF30ImCDmgwfHbPDpybFyaweK7z2MknC0kVhFuSROfXzENOc4+Lhhl8Bogn2vDjU1jEw==","shasum":"b71ae5c9264a60572f4b8c6c17261459dedc4951","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.5.tgz","fileCount":293,"unpackedSize":2524612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOb7jCRA9TVsSAnZWagAAwkAP/jkxykRtuWs+DoEmg3u4\ni5r+1K3FFbfjrTWoSYpfEng6SXx38RvfE5hEI854s8/cymrm7zahEqmiLUnW\nlMbEqrf2aCCUyeGCAY08W3E4OIDyhIjJr/PyB9qGZhKOhuS5S6No8oy6HZir\nRNwqgYK2DR0++LnT4pD/ZWHTGYUtaJsztBR5fF1l+qGPyax7B492rYwV8EsR\ndiUGrxDP1JdneFfSHnJTrZwbPdjjiNGd3EGecSRhNQB2xZCuAGblFd9/F60m\n1LuC9VApW9nwdo6okrXHL2iitdSiiwYE3oy0QPxwjcs+Ihyb+NOfpWUX04HO\neKorZfRiBSnV0QXjta2jIsgG6ezZQFA8ORld5to9xazgI0zhxd9bop8L7eyZ\nQMkwqxK4BckaQt2B/QtjAgJxgfnRJIZyhDzH4WwjE+6y6jVJwe/T9iZhtdFl\nS44acw+gU0HySM3CojBdSUVwivObslA8WuqaAcwtJnjdRp9q2zWUyvhmXbJq\nXAS8cg7PvIA0dmFXIFSDXo85x09VCd1IJCg3sJyUrLwQ8qXNGu6i8Xxz43w3\ntv51hKsEZWPxMOBx+Hh4ZtVJldRk9sFEsT5B1wbnKP8nOjziErqvWBnLkDxT\nshQMYeJyW2d+PqmTyFWi2XYdtsWgGF2sBJloDvvmSC574AGgpTvDV6hQJAVP\nonem\r\n=Iqc4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDquf6MLGmPtMUS4EUx63vg5YtHw/Gh81cXmsLWbNPuMAiAg4SMl9K44769MKnT9TEAPBrQP+9wxm2oN4eopL71HMw=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.5_1614397154858_0.45500623640941074"},"_hasShrinkwrap":true},"2.7.6":{"name":"sfpowerkit","version":"2.7.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"000469ca86a0a692f44b26b3407d9ce86460407b","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.7.6","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-bSRqz8lz/hNSBE0AMkHRL7RUM9xUS3XElRUyCVps7iuRjTqkywnm+sqYe1WqMGG6KKUXE8GruHQ41HyWvnd/WA==","shasum":"308355e37458a07445655e1856882e3a5c21ccc2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.6.tgz","fileCount":293,"unpackedSize":2524938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOiBZCRA9TVsSAnZWagAAJjMP/iZP3Ef4Gqr+RnenbHsd\n6vOq/vULWvZsouD2kfzSa8dklh8Pi6vluhqUZiDVrqz7kr7q082eOzfRIoto\n585XdUGSv7ADuXnABRrw696bxTk4jxoYesmmN/UYExaXYEw62bXNq4ua90ji\n2RxzLrk0hfcFUvfn5j7JUNaUkKuisr7QBgPkr4UstAGSJex86vMLSzf7hNHS\ne/MUUZGd8UCsxDxtbSUNYKYIXvdpzqzWqf/ZcmtLdYcRdQkha/Hg1R1aMicT\n86nxK6BWWD8QNJZoA4V2GfWqOPya30KpKR9AAiiSLrbpY1byL6PxT/faSt6j\n/OXxjnfXCaqOmB7BnW/L5i5+RUV05A1Ra2DzI9CwvBrzafEbVezukwtRfLaf\nvhvTHi6eeQ4k46Y7o0wgsS39Z4ksT7g8lvXZ61f9ca4u7NmvMobN7Dx41xGR\nDX99I5rMo3Zzdqjx0QnaLhJUPnB1mibWyctTTTgzTFoobSEpYs3YjrMuubis\nwHS/osaRpZF11F5cqsD/gwRvtcMh0pFimGQSOrF3CCe5IqN8S3/a1BgDrRMU\noMQYDV0Q9n5Om1FKGuVxYnzS379DKr+p45id8V//gT5i0g6Zj7PXDTpt3x+q\n4IYj5YAMV+NcaXkyO4qLJSlBQlKqFW5Th5yfhL6NokoDS2jmE+K+c1KIxJFg\nAU86\r\n=P6ps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICXi39hTvwIAPXSm53VOQvt8YjEG2NbM5rs9qWueuiOuAiAsLhe+LFeV4bAycDj/AIfKdASIJ+Tmg3tbDZD1c1i6eQ=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.6_1614422104974_0.12185663152501958"},"_hasShrinkwrap":true},"2.7.7":{"name":"sfpowerkit","version":"2.7.7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"652bec8bd17cb9ce6f5433f654dd070face67435","description":"[![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=ma","_id":"sfpowerkit@2.7.7","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-64Wp88lFqjhNNmaZTGo95Gz0LalNuzXdNU1wulXgm2/XLk6mjRYA9rb64RC6Q7+zqugb9V013xF98L/U6n9ShQ==","shasum":"0461e96f7b5c702d645e95a60ae8a228e01d6d97","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.7.tgz","fileCount":293,"unpackedSize":2528300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPHx3CRA9TVsSAnZWagAAsikQAId2fAt0+Hz7npccLFHQ\n54ElXvjoiuHbvn8DWfg5clNvibUiyG36CiXUMw2pGWcxetp5jNEmEW3CTWBi\n7BKJqz7vosFgVL0tkiy9kbUF7T15dsTOAy8MJr9KhwPX/FW90ACcxVmvv0r6\nFj+o59KftxQa8pytfBqaM7jZizghpS9xD5NWojwm1MYcypwFbhCrV9juSnFr\nHO/sFQIW5+013jD61/mQ+B+2aDb3ovw8A3gCah+daYDd0mgll9unCBsEHGgs\nCXwSYuL1j6LWWPJC0zNFOUG3ceraQXrncn5rQb9Ty83xzaRwWzXcfm4NiFCI\n4jyNkD0/4EYSORnuNsmrAJ32w64Mfz3sJPf7b52JEsIWu65pGzBTvcIH70s1\nYFAzU1ReDa7kebyZmiNliRuKjx+4tkeSnwrM5K+tqh6A0oc28PNw6elS6L+n\nPaYa9Fmgrq7+bdTwf9HNb6zmTNq4Xe1sBIkrfdN/NoNy1LObHms0D2WEgtVN\no2L1O22HrsmRCiD+avRXzOqPae9DTqlCpsLVtJZtNCe2zjbPo3X4HrU8oTiN\nJf3hKrwchsiULL5kS4R5RYZbs6WEfZWdQUqPo+Lkq640xp3N2qOa87ekWZ1w\n8hngdkFWiJ2vS3QBi9tBOA7wDNXCFf3LGwtR7F2pKdm6ISwppJP2bxrWaqPx\ngl+k\r\n=18tB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyr/GEQYbDdKwcEdd7yN/rBZds410VRRgKYlO8/UKAaQIgNnrxhISh6zR9NNKwfA9WsOydcUtf7DIwdKqjduO6f58="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.7_1614576757972_0.14941542105599837"},"_hasShrinkwrap":true},"2.7.8":{"name":"sfpowerkit","version":"2.7.8","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ba67d0581e35991f10052d9a819a06fd1c8024db","description":"[![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=ma","_id":"sfpowerkit@2.7.8","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ZhAHBcbwQyOK+W10vSo7aoJ7x5LIw+ZEjG7SIGzOY/arg+cHug7f4xsvIuq85ZyJsbt4UP/sUgfG6wlSeItaSA==","shasum":"cf4128bc5102970508457a46768da91389ff5cab","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.8.tgz","fileCount":293,"unpackedSize":2527704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQY2bCRA9TVsSAnZWagAAKDgP/i1RkLEWUcEef8Yg48mk\nqd8vf5vt4qAzM1AtCGmxhHT+BXZB4VZ8Kr5SufmLvCZCycl3PD2F9pcyFUTH\nBv6wRKjIQAWTSKeVc9czPN2LHG2cwPwKwGxaQ4nrZ1piqo845l6AKSkQ9ihg\ncmyXC3MyOkgwuihdMFDEYWcrUT18ZWEWyo/OAql4zpaBrPM4BvL+sGWDAako\nK7/1gyN4NscapMeY8N8rXosmNrVtOrFT4EQ8YxnUopRmb5wXcDCHKCGoV84X\n4HqAjO6qDXQcuh6KAdrFv+fiqplBvIfGFmJxudMRAZVfU+wiVDKfpvKT5Utf\nxetfyt89u7F6eII8WAzrEPNilJEGcyvPK5X94p8u/k1J+Gz8fVCfmsYmy0MR\nAlV/9rQK2+ZUR2GViH09H1CMrqjHx0nMbrGDBwEWCI1p55KMQjvqlMxrSpPL\nh0Kr1VlC9KVaVTPYsLRSMtwA0hxbmFIlbXDTPfG/XA4az5qHLTPAME69YGCV\nSrm6ANKv5M7SpQSgQghuW/E3vhV8IOrU9mDfn4UTRny4chh/4E5UvEiqlAd2\n1FSd9aUEwEobl4V2UFRVxW+9SrWXY2Tvm5mNZxSMSbwB8PkSu4SZBN2aCqKW\nPoArW12agukPJM8hnwIBOO881QtE9LMVJBuKrZLFR8V0fXW5B2yKNY2Gl72N\nb37g\r\n=Ve44\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsdXmFxlL1z5jDWmWbuS4raCyhqN1QbChfAJjsgrItIwIgc13YRCOHlK6gxCHtpnjSxlR3fTvn2Dprl+ysZXqOn+s="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.8_1614908826625_0.5976540579578185"},"_hasShrinkwrap":true},"2.8.1":{"name":"sfpowerkit","version":"2.8.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"58afcb9286bd657e8a2cd8dabe3829ad7e2235b7","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.8.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Nh0n/jl/rnv7tzGl0xOEdFSeIn4aGxlXeq38oiUytxQMA79399AFJYQ51QLIZG+zuf6ZjaJCTMajRuCwwW4okQ==","shasum":"fb3e01b2530c07b59ba1141275e21c020a6b20e6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.1.tgz","fileCount":293,"unpackedSize":2526378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRdeHCRA9TVsSAnZWagAA+sAP/3GzgbvZ+Yo9U19UVf/V\nw1ynlW9jkC0exL0nbeSlNtJz69kWA97CrsaPFtf6GES4vcLHhOoGxR1tdVMs\nGSEV/MgZuh3Ad4pQwpmg910s7yerLRqnvCBKKdguzaauuBFU6JcfbdAqHinY\nIaUSw9mSkLV3VjzJK+Emw006YQehLubY5E5AafUwN8CWxvmjenX2ivwl+mHG\nuhQjamx8yx7AeZ08P/5NAWu+W6DDv4aGgzTrOB2v92mdT4GZUjkrkxGPJkBk\ncP41j3RBzNT4CTsQpoh8+CRx04dX0CK9S0xFZEBS4EjRSOZIhn3gxkd7VRzD\nN9ortpssnVuwJQoQZ4za0n29LoJ79EmCD2/Ij6GvtMbSHPe+JzfsVtvkjqsW\nKX7h+vTC+X7Qv5VWBNMURZRxTj5eP49TybvwIn9gzjb2RoaJ720QDlpu05UN\nO5iPhk+Pb6m0Heocz6KqN2obcmpAifiHr16bLAubeWMfzuV6prMxMg5jUVVX\n9Gtt4rIbwQ15Z0YHNSTrBnJNVPH4PFliIitMN/rel9rvfsZAU8mR0tGH52r+\ntZvkUKd/J3e8wdAe27JgUuVgv1VjzWZIuW6+L9l8lUoGwxm/xk+NRkiLs8mD\nFjI+bHKS6X3SrkXyoILYver4OXsEu19GLufatac3QfYfDrTzjrEY5ceBLfX9\n/FwN\r\n=aPsk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9PbN8xOxdN0XzUP/SH9HfkYjPiu4WhaEe1b61nRXPVAiAYbRqMWLDnlPpTSuDuqAs/QlF/vZbRlWPbaI+sIc4Mig=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.1_1615189895089_0.9200603781327539"},"_hasShrinkwrap":true},"2.8.2":{"name":"sfpowerkit","version":"2.8.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"18909e8caca6b159981b58fed61f6a99c1bf09eb","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.8.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-8wVEiXnWkx42tSOhZeyMMdevJ3q/EpjAUz3sS7dTHc8OirRa2U2/4Ke3as6WG1erA/12nJSdczCdXU2CYHZO0w==","shasum":"7dd55c25ba17dcea35c83ca976b55d435a771f0f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.2.tgz","fileCount":295,"unpackedSize":2528736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRgArCRA9TVsSAnZWagAAVRYP/2zfTL9Wc3lcWOqUvKFg\ndy9UWKC5K7N2eZWJ5eS83vh/DK+9+Gy0PBdGNgfIW40KNIiUCADU9ubJapWa\nuCEtohaWrncadkqZtuupBZLkNd2LkwQoYmwlDQ3Yg+1g2YacgFDzEynaZ5tt\nJl3eXz5QLGDjJgPbq4R5hoMmpj4Gk3ZoS60/FT+FgRxb7WWPtTAdyfF45ecZ\nCnWS1udWvAUtfv38TGZyLNfdKGWb4010NynGE60fV7XKfTd1F1Avtz70kOwX\ndllMAvwBFxk14osOPUaGa6For46gKaE8E6W71ILVD8ZSgKnkfoHMX0qoQci/\nRwoFG8vha4/EKutkjpMfUzfvBl4USFcNqzPeEPBTlYXujIgeJrYqoi2czIl4\njnqB5SdwD59t0oPekl507tWpTpjql6Smv/O4UNEjw4ty3hA9J+dUjn4583PV\n502ycs+fnPaUrREgVk58VWQL2YsIzjDEim3w9tjrt47RLt5tyRx/Y6UbRlXH\nqgtH29JtKJiikpUhj1DrcCXKngMmq2+QMgBgZ6uH4ntjw9mfAfcpVdyf7zfa\nRdEiI9otqKB0Ndn4CSAWsmFFuQx4bE3J12sJ6/4JzYbfdoTmm+rosisVNGtV\ndhEzf7bTkt+QEfu7VsUUiRbGvaBx7uPUWmaN5lWKWlOPJnuM2xexpv5QSkyL\n0/aN\r\n=b2PR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPCztHZDZDYyrD2lRJzTxU0I1ODlM0uicM+P3+xadldgIgBLsAzB2L6oIYcyebiiWS6tWhKt7F4H2BMJ8zptIUZak="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.2_1615200298727_0.0352549528029622"},"_hasShrinkwrap":true},"2.8.3":{"name":"sfpowerkit","version":"2.8.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"bf234ccb37dc1d8ca4b2ecc71d032844f1545406","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.8.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-cAIUVg9x4W4BrN3TgNuVOcHQjLvkSIDWjDZPYA10Gtdny4q0ZZD29LaA7dvoN+wgAOEdKnXPf4LA9loIHetAFA==","shasum":"8a6c26c934e25d041bb38a00bcc508b6b0dc638e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.3.tgz","fileCount":295,"unpackedSize":2528764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSAfPCRA9TVsSAnZWagAAQ8QP+gJfsI6j6ixnC7HJ7OQu\nU+y4gNwkUXe/XvWWcjIm+BBBLsIJI/ukbWi7G/YRaDovRPfDHYsUJjj7G1Zs\nCQUk4iMeORgyi2DQgK4O5YgxQxSibk34OGZQ4eFigNOGjZSj6yTV0iWMvqJT\nwehAdhvbhjNJGMfah8sZC3DwEcmkZ9T2DIOavhd/YsqIkqb9T58iwETmbSjZ\nQMmPnObbtyT8RrHu91Ypr+dJIPCeILykcRa77MPLlR7Hx0Ye7nIRCh3SNoEM\nBKXHJdaV3PYJprAdkQVRIZ/FtT54DoK3krXIn2I7W4MIkGTb4K6Qzcqz/stj\nECjCjVUM2aNcMe+U4tc8GAINYfKaUkEy2ZwLNTbp/SmXwcFjaLzV7MOYiSJA\nkIvqcxntV6sCjlXcACLis8gcLAnSC33FKGR8GqapMGiEaTfu80wXFccsShKw\nQfWAHCkPRMlX1jCbj4HfQlujBvgkULvJPExGnX6nJwV/0/ICy0lkkA4p0PCu\noho4VCr/sKHrEjXCoDovU+TP6o0FLfEnp7j/YWIWpVkL8bUUyHHdhrenAPIo\npQ5txcM4YfFVMgr5syPXLMKJtPQWvS3vkUYcDNRzVpuIugtVNzBUssXzLcEp\nMKq5SZyHM5P8ne73i2O3izg7UEgv91nqI652UKcc6hmmnjm2Sc5MGPtIWiWl\nV/2x\r\n=QelR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtIa5b3GNz3vGNHqn3G61kdTlefUpYebd719Qh/iKQQAIhAJthXsl8I55HIlQjfIEdvfus/NlUntZqXcp0VMfBiI9r"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.3_1615333326547_0.8992945378810524"},"_hasShrinkwrap":true},"2.7.9":{"name":"sfpowerkit","version":"2.7.9","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"73b8c2bb65f19d657ba575776902a6cdc7468e5f","description":"[![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=ma","_id":"sfpowerkit@2.7.9","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-jq7Agh0H7XA0SzpuX6NLFHDXLfowf9QxOyw6wY5peGCfgtkCKllV+M3daTvDE0t6jg1kFVcq2131Pb6xlpO2gQ==","shasum":"a6b521cf55951fb1a2f46abf64a99774c1ed4823","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.9.tgz","fileCount":293,"unpackedSize":2527755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSA1TCRA9TVsSAnZWagAAtoUQAIPXGStV4bdsFDpGbqku\nE9OadoZQpm1DyO1ims/XMsKu9VtX8PUhnLXySxstjAHIFMUJa1ZqIeD+yTWq\nDeVRo4Bkx/pe1VCdAtLYKk9Z7I5dcTu+ZwjAMWELHylIdisEdULW73FoFme9\nCiiu0yM1QLsGJLIdVBfrLBO35lSY6QVD9NHMI2CW8UhVu6HYNBOEwv1E0HA1\nl1Ghf0eGXQI+2I4Yz/V5e8sYpnm2aoDn/NeS/MkoPs6fltxOwqzV0K+BlCSt\nhnQGnZc1IaoYEA+xEOgO4GFGcTaR1ckAzytZHS+JMyvc74Bzf6KOK5H8aN5D\ndzy7/obywUDdexP7+1+tkZEhNx/upz1eh+lIzef0Pg3cF6/2KTVuv1hlMFo5\nnHv7hMfZ81nl51IShnlyNc42c2ciGhm3c8uAvB5MgCKjoEPgIv+B2hlsuKCe\nUfOKNVSlXKdPbK188oV7VF/CBZ+5XletUVbcfp5oP0Y52O2yATiu5GPFFztJ\nn3tLAKNQ/67NwMgQWGqzGozQDt0MEF1CSLLJgl2LqRJPH9TA4OlzWIWnWaS9\nB3VTAtH02Q/lA/4yALIzkp8GPDdC9zfnTu7ys4fiA14XeXzvUYCbEPpx5Ep0\ncH8zu7wf0Mpcs7Qxe2JwuDCzGmd0C4lJYJ8tXarOMN17O3ys9h8BCRPPM4Zr\n+K8u\r\n=qonx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0xsWhGgsQuCatadqz46SRBfvxIqboDmlmHBEnxns8SAIhAM+AtxUig/qeW3J6kTZHbQu4s9+HkJfWqXIUoq9HUOvc"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.9_1615334738941_0.5143785894361015"},"_hasShrinkwrap":true},"2.7.10":{"name":"sfpowerkit","version":"2.7.10","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.16.3","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ff4242daa5680dcf5010d40888c8a2511f62d167","description":"[![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=ma","_id":"sfpowerkit@2.7.10","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-leVP3S/CJ11EuzDwrmBykKJWeMahKzokWjJgJTYCUFR/0JzFvLvMRu3aE8f/9S7qoDngoY2q97NVLq6Y4xhyUg==","shasum":"f27e43859fa24f627d832291dfc8c4ef7d9b4f59","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.7.10.tgz","fileCount":293,"unpackedSize":2528290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSCk7CRA9TVsSAnZWagAAqtgQAJMMXvZb7qA7eSxg9nJb\n65kprK3YXRcr///Wf/QCwtV7CJgHPS1dTIgm/029NdZ2UBwIM3MqfY2Ex8/2\nbgR5CrrTMzi3YVCYHEbyteNWd55Mv2TjjAEqbHGo9LkQgbpl9nPv9cOhH3ma\nPwXH/mPP72F2vfkXfoIygkEEsvr+WP+dTvbSUBTsK0YXSl2tXFGy0SUu6Omo\ncpH6ykyWeH+2Het4jc+RIKA8Bz4RdVMnSBerk9Y5WnVcnZ5xVAjt74vUUxUZ\n96mhNGckQKy7vbpeZkBrSawVzWeED1NfIuie6aT6HR/ZLRdVq4lGkuQNuWsQ\n+H47lA4rFEdQyLFo4CPVmW7HmNAE86NIY83IffiSzp3LfZjziEm5uwzxToFP\nSbm/7qM+jWx5vaNvxl7JCH6togo5TY6qMhc47GGKrttbqMSRP024QEtT6hcC\ndcfJqi2kY8kVu1DxgmDPH0F2UmAz7YHF1Dq6NLG7NpL/36Ei7r8jYP5LJ5uT\n/LAZLR7nglVh7WWE2oFLZH8kzaVK9lPuj6zyecY9SqjsFcl4gBLDjEpxBSae\nbPjvNOQ5S315QrkBj91aj7GBvxjck8DUKT9ZFyN8lFv9mmJD6jfaY6HIKXBI\nkbIrkBtYtmRRdY/C8wgBhh2aQJNiTtL5zgIL3y3HD6sGAuJ2y8OS9fY9vD+/\n9lux\r\n=VvFY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnJAkcyIV3bibrPqWm86LUezzWH7BWHRfEtp1m/UmrHQIhAPPGPxp5WdVCPmGPpkoS8aPx08WHdswSNFyTrm3AvRjp"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.7.10_1615341883180_0.31092342113980087"},"_hasShrinkwrap":true},"2.8.4":{"name":"sfpowerkit","version":"2.8.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"0840bf6a320553a6a175d3b129b30bca322c4ebf","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     comma separated values  of metadata type, member or file names to be excluded while building the\n                                                                                    manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.8.4","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ugYJqUBUiij6NqI4Bzie31Xs+1UjKCXNBrQvfDzq1OPaDJXE5/BPREX02ASdBVajJ/vCE9Dbfv0w7xdCSDYkew==","shasum":"3ed610d386ffbd8c827f0b5a9aa017ee20dcfc55","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.4.tgz","fileCount":295,"unpackedSize":2529296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSCldCRA9TVsSAnZWagAAq9IP/A+D3rRPIyL+W9jhKGaR\n1ZoW/5bz8KrfN4ykH1Gl4Of97stZldkFNwYF+TPHAw+tn5ZEQouAX180Qzhu\nmYOJHxvQlwKWtRMm359sQXLjupsxs2zO+/YjA/RDjP02WzQVFVOk1vtkSgId\nzWLEbj4WJQ40qPO5Vs6CmXcmKQMSi8cLa4VM726S73Ef7ALPVv5VeZ0vkGNy\nKjnDlgp95fl1X1bUa01Kfe3wTgnFcnfbikz/qFJItu8qrrw4m6Bs9j6ZbPmb\n58xgwwoY/glV2BfF8oSiVyUUzdONjF0Z6hKXSyezjUM8DOZWeI7C4C4RjT3v\nC90H2PWinjKrnyvF7lZ6lkm3K3Z/HebzED1kgydVPgTMzxAEGUzDrmUPxnl1\nhxmPW1cNakZpWWHqHqLUv9sdpMMuTnY4GAH3gZkcxZdzinUSDSgoqDSTGMOb\n8v9v7J3VBvcgRHMCLn3veVwy6+Akr5z0KC2/5EqlLD5jcmUr7onWozh0Ca1Y\nc+EziOg7CCMbu/UzR2arNwLZCrVprG5w4PJxuX0YL54GvjHSpje8aad5B5Em\nbN6wTEuUlMQ4dbgUy+s6SaN6he5DDXtpPjFy6QPb463j59BKwNG8iFcQJPFQ\nsVrR7oazAo6tSsjQvwgwxYIuBb4Yxr+4G4nlVNH+4Rxkh8UqxbD6ICEa/acS\nqttZ\r\n=R19H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/leERx1mHNm4uUjopDz+bG3sroev0OkSPKrHksEWoKAiB9NwfyB2NeOCK6cE1reFnE5v0u7jwcZ9PCwyZ1TVnoJA=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.4_1615341916677_0.45975593408142346"},"_hasShrinkwrap":true},"2.8.5":{"name":"sfpowerkit","version":"2.8.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ec012f6c08dc5759e849fda000bac2e3123d177d","readme":"# sfpowerkit\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&branchName=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\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@2.8.5","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ydqUFToWMDiazg3sz8Et1f1ANQsJg6C0KLbPorMgsUYoK6SbLxG+vIeiqJzlmG97SfsRvDNPL2quPYCRbgX3HA==","shasum":"6bb0a78c68ce0f9e54e4f29098f24835f901f024","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.5.tgz","fileCount":295,"unpackedSize":2534646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSWTqCRA9TVsSAnZWagAABn4P/RlY8nea+N8G7qj0c0vK\n12Ui5w6c5kgA6kKGU5XsN4i5FboyA+x4ODhqZ0KyAccf+Zs3sqifmOUGtUJk\nyUdpskKhl7gq5nPe3e98Gm2APzW/XZLafetL1KJqMsR/q4UmQYxhjYoBjXBB\nL1SsJv3ieCRL8lqrdbk4eIdARDHIMWwDzfbKtw21L0UJoBGljyTS2lpyBQLW\n60YuTttpQPDGWmmrMUYdckTi4QwBsgUZ77w8qQznzPRLZsUyYfVa9hEkA7zO\nMVvtuz1nfRG3HwlCugm4s4AUI1nv+LBXQwfRqgFOJT9wUw8GxfbnTIg5rB3N\nfa1Qt+jl1a3vJFLRD6RUn8MTGXHvFArAtr5YMGAAv/XLXnNmUJWHJPfxh9UA\nT2Lyx+rXruPb/JffVqMyXJ6+dbHvsDD3mJBOIZqvzfDsdHIPRM1+8K+XSnaa\nTGGsRDhvDJPv4qwF9rxkHiHg19I0vWT2nYc5B56BlBP82CGVcR1+2xLG0GgB\nXbVsGzkTtkbURt9995K2kITAGyM6QDHqZcB3Yy3fQ94ngRq0IgRl+9iKUDR+\nWlNUmTJ0C7hmKMzXCZfdyQg33UqXQ/FPW7urNK00AZyZSAtGb05PuUVYIfHP\ncx+EGZxnoxV1WYbjdlPg7ie4yR4JlSUavG0YyohCwZTWplD1kCfLh3oe2ZCw\n8rXB\r\n=YbO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA4XMPwCw0EYg6HOTC8v8YSPejxLpLpREQA5FTlkc16JAiBb1QyOsFqP2ObcDp2j9YBHsE6wp9nK4q0A/vkaBeQETA=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.5_1615422697436_0.45494945745508253"},"_hasShrinkwrap":true},"2.8.6":{"name":"sfpowerkit","version":"2.8.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"627773dd09d60a7d4022cd9300873b9ca5d48c88","description":"[![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=ma","_id":"sfpowerkit@2.8.6","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-B7rmJF89rWe0UUqX5M8F5pqzbYLj0Uf6DjcTrS2Ro4IEdUJgR0Np+l/RT+SsbLOO4LIfuVSfgfYUngLUwiy9VQ==","shasum":"766386ef25c9598484790dc3757ad7e7d71b7306","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.6.tgz","fileCount":295,"unpackedSize":2535090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYTTGCRA9TVsSAnZWagAAYd8P/ifu8g6kH/vrEHSRgGWE\nSEqPmLFttaN/1KOigVvTDr/mF3fV+NQPUriKbpnEIq0JBhCSsj25cJuFFm1Y\nhbL/7+DHBBa/zRaawnINI6wxKCqncWAdpmQ5GtjKUCRQiEK6s0urHJz+ECf8\n5W0RgQzDb3atyhDW+uOrPz6UFwX8wKJphmRNr//DJHCvItKt8HGJKjyZj6mX\nhE4LfksKQm2FQtdk02YWxburlvEpYMd5laK1rXcCzN2/o4PCs4CZLN/3p1LB\nGtu7bsY3vZI6+3sEnBlvpB72zdTNOoMET8n56g2t6Kuy8dZnXi/4bA5d+YgM\n8RYbFnIw8rjhmcjiXWNmgf5QUM8pC0jVXVt4njJ58q7ZVkkyUHOEhlSWTxuE\ntRTY57m2jFwl0Z31CdakBVdnxhfoq1Js1gtYTLlPrZ9XtmhNHfYDzW8S6KD0\npkXLtIRXQ6IKoY9Oq02mnIG8s9sQgf/bRKIgQG/vdbx2Xe2sPcxywz33Abrf\nnQDqfdDTGitNr2ZNYPJjY4xhBYyw7DThExlqDl2HFtzsKW/7/3wxaK1Y1N0d\no2eRcUw5KkqWCutcvM++8Zey+3xqKVhWCjnx0otjf0gxL159z6L7LBAzMJOO\np5aXlTs4mJaHn8/kxsuVCbFejVRD5vqk3aPw6my0IYOudN8lQdsQF1m0LGGR\nzWVY\r\n=SeCV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/Af0/aw4QgzS/XOYORUQ8Xns7hIijcZS1xWcsPz7SHwIhAKN1B9zSsD48/XcB2b51tA8zjzez4zbZK0bJcjhRlgoS"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.6_1616983237616_0.2437803168509607"},"_hasShrinkwrap":true},"2.8.7":{"name":"sfpowerkit","version":"2.8.7","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.4","@salesforce/plugin-user":"1.0.9","@types/jsforce":"^1.9.23","apex-parser":"^2.6.1","archiver":"5.2.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.0","pino-pretty":"^4.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"50.14.0","simple-git":"2.31.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.22.2","@oclif/plugin-help":"^3.2.0","@oclif/test":"^1.2.7","@salesforce/dev-config":"^2.0.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.14","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.4","@types/mocha":"^8.0.4","@types/node":"^14.14.7","@types/pino":"^6.3.3","@types/request-promise":"^4.1.46","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.1","husky":"^4.3.0","mocha":"^8.2.1","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^9.2.1","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5b7671de680f8f9fbc6149ebedc9be235b8fcc02","description":"[![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=ma","_id":"sfpowerkit@2.8.7","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-ka1tME1Zv8/xmBOlE8mtm9TkTV/rt7KcmkhiFnFJyf3QLdQHl6IxdpitOQWsu2x/UkB7bnmX7FgbhOHi0hQ3ug==","shasum":"fdc26076ebea75ab6baffaa659ab3cba70d3ad0b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.8.7.tgz","fileCount":295,"unpackedSize":2536136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbmA1CRA9TVsSAnZWagAA7/4P/iqjJlapoDOfONsCju1k\nZakVJOXCTJ/dcoBOTtbz2opzt0LYDwPRCshPTR1/FAu+vWGvwXvLjYuCxsJx\nqE/dOODMI6K2+ElAmtw//m2YCbk9MhV4Xz+AE4wRysUMbkYk4aYEIUvkFILV\naW/ZGcs4HQnMLqCSkKwd40KFcedTkm6ZDM1CGrqJWnhADXSPo5LBGATKgYA+\nxICc8NQDoUhQAZSYx1svEe3YAEJE9RgixfcCiaGtpsJ2x0EDZSUpbdYv25la\n0eRUTeIEqIXFLyKfkGV8oxEmDbG/4hXbA67YyoMFns9TwfYK1Ke28e2I54Pp\nx7THwRWffY/3TQhP7jGq3FOMlXeB72vuxR7CML3//lCxQnTaGMPP6eqWvaqt\nra+ISnPPuHZc1yw4XF7layPqQfKcGE1ZJwAwoM89Gyzh4xifA/LRJK4DfIzJ\nek1jynH/p/soAWOIcvK10vypcdlv1Vt+Vwl8n35QFxQ1KfcoouZLzymcZQU4\nntGlvRv42ftp/3QJhIFDjPURMaVuja9HQcr0faAOgUTgNBv7+YIlSktXTEAY\nFXfkUwQavbDoGupH6hcsC3nhPTeZ+0UspWPXxiPcRM+qH1az3HAwr7O4ZT6U\nR5ivcSaM9apGth3iPZvK0QtibaRdVN2k8aTa1L6l9jQ6aOmBeHDcVdGSUJeX\nMzvE\r\n=2UtK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHW6tSfLYVIUIjokYEvUukh618lAyKblP8OVz8fxkInwIhAOy3tD4V07hFXBLk1TwEvYr9MV5Qo6hNbbPJm/AUPUQ1"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.8.7_1617846324496_0.928638789976987"},"_hasShrinkwrap":true},"2.9.2":{"name":"sfpowerkit","version":"2.9.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"51.6.17","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"af3616ba8cba000e134cd961f1e0c2c438b8c7c7","description":"[![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=ma","_id":"sfpowerkit@2.9.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-4SFSDOPVD20tb59kEgxEXneO+K598poO621PcPZhd1MYmNGC0eUA+Wv4Q3yyku34q7eK6giJdhdCDH0WZ9TFcg==","shasum":"800a5f88f8ee76404ed081ed1064a54e71aae5c3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-2.9.2.tgz","fileCount":295,"unpackedSize":2530527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnKt0CRA9TVsSAnZWagAAg3AP+gOd86WPGcBGczHXX9OH\njtbAcWGG+A3iqPYnZPu4NqvdfNGuH1hNTsMgovphIicGl/phS6aQT5CJC9fE\nhMB/LJWr3pmn0ikrvFG+H0ZCKgpjWP4TFaKgveYpYiib1o9dJrVdI9iTlak0\nrqJzGkY7I0XWCAqz3Iic8QTQ3M9bypZQNvivm6uK2C2EFomryR1bddWF3VS0\nRp20PFgiH8by46qsxX+u1573jjlwr26zIVcKHHAul1Al9xzQy4a7x3ZuK6+i\n5hZAt2/tKcqC2KFtYgSHHYzefhem87Egy3WZl8VAhFETjMWXfc/qGMaJA+hK\nvmNe2Z5b3x1smacYDo2qgZe9WKxlT57ijWRyCJSOa5cYtV8zsb5CulsrOqrE\necyWr/gLdI5XEs28OiS2n5Tt/sj+3NxiPyTT7AJBLx//z8sWs2QrSYLIzQ05\nYVhNIKvQsRCnUbgl0giY+zpb71jsl/c8jptDW3jOhHKiPzIMfAalzeOlYWTq\nIqW706dV0WAT8NP6VZ6P3AquSguztpPd06A3Ly/ynKhFKpr7r7145KnRN1ry\nkOSnA0HXDTLUAONKExi86Ao8uK0B8HmYO05UsCphGSMkLMRIVIviSxMBgrP9\n2vd2VmQYr17LJq1EuvF+YUzjzEB3FtXTVCPMu5MJ4HrqNkysDPCxVzq512DN\nTQZP\r\n=1h9k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzPe0FPFjnOmVJhElCMsU5+y8SfDPmmW8Z7Q5IhRp+qQIgI4fyJfplzaxVFfkaht2+2crWtQYyy77y/lzRKvBJOSg="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_2.9.2_1620880243649_0.41785099763213474"},"_hasShrinkwrap":true},"3.0.0":{"name":"sfpowerkit","version":"3.0.0","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"51.6.17","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3c0394c9265d4c798df195c6523c7b1a57d0dde9","readme":"# sfpowerkit\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&branchName=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\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@3.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-Q7e46emYansxlje/CGfXVxTfhiHFww1zZhVuuyP6KUXGmT3isnlcfWfHjES/ZOK0hfoubVwrSCzFw4ZC+PeKWw==","shasum":"45ac31726378471da6360d89f03af8da8a757c7e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.0.0.tgz","fileCount":295,"unpackedSize":2535876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnLPlCRA9TVsSAnZWagAA8+wP/1/wZqW6DUkN5MqV2N6X\nMvHE8Og7RUhBUVzW0yUuvBh2Ff50I6v+l7JnV8iDn6ufP2jiSVc3gkfK2mXE\nNS0GLEYZ3xRrf60ViubdDjojRTzUM0l/A2DvSnovMAU3hZszjeYLsi9yKo+k\n3Bx+VPuQ35BQoZ09Kfhwzevi2ug6dR8IBXoq1jK/s/hOivoElu6awCWdkSNu\ngkTTGM+0vippbYHpH7mwtsuxgPDD9jC4yl5K+wgKh5CqCiQOgpVZyVytQSlN\nrCxcPC7BbpKTtoSBH0Q6rxROu9tqykVGz2H+iBMjEMzlvdiOdtfFuz67o6AB\nj4WHi30rWCVA1xQqrPcTRK6+JWvyistDSTaUJApImU52bVeqVW0jqs0j4nQ3\n8isKRIcOp7urF3YYg1KYN3NY4HNIouQ33dq8yqeTi0q58s3mbnV2guAAbSw3\nZe/no9lMRuO3QR6JEu/qmTdrMG+/sa488ImGNA3DhexqB20iU2xlJemvW8cC\nqiovEHqZZEjivPW4EVRm63Mb/oO322w77NAqH1Ja/5kJAMKT6wA6G9FvQpN4\ngM4LWQYfpyD7K6fIQFZ3eagGJINAB0AJZWw7mF3uBpqghRg4jsFBxJA8V/wu\ntObeS63T/ZPTawD5zoU7EktEe7HmHaknbDDOnEJ7H7pzWagCTbd/AnOitwBJ\n0V0k\r\n=D34r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5hLgUeAm0JqJuCfnyrbbWoVMRdKKCgktvsjVzoJJj3AiBxiVOQLwU37K6lpjufOYgxYEMJFqdjeOvYMTUSXI9D0w=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.0.0_1620882404943_0.6005499412017321"},"_hasShrinkwrap":true},"3.1.0":{"name":"sfpowerkit","version":"3.1.0","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"51.6.17","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"88d3cd47a7db2cec38b3924da8765fdc754361f4","readme":"# sfpowerkit\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&branchName=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\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@3.1.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-qBB0CujWykPJG+hnQRbMU+0WNHW6caWRMgcN9aMu5MuOCwrCMzcidXhDO5LI2X8CGiWyXv9L4b72fWXsx6wxcg==","shasum":"4e62a7a66890e5abd6370ad0f1bcb06cf73cebdf","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.1.0.tgz","fileCount":295,"unpackedSize":2542541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq6dNCRA9TVsSAnZWagAAAegP/0QfH5eDGN6NaIJOKWqY\nLrmsWsLLQEoFkgwJVE0g/cr6hK+8W0GKSbVnUvFj2v69k9Zw7wcwzOml2Ini\njlsNEljVpiWfe1L32n7Ma2Vw2TXMiAIC/fdCV71U4QgVHBeIEOt9In/JNRi+\nL45u9DWImgh9O9HKq+Oo0aXYpS6E1yzPCEI88wmJPUh/zSjjpVd9of4OmRI4\n6TORblCEMnsuXxXZpkJkfLpMsJiCTCRy7tDFqWoHSCs5b1886IV4PFxnmQcV\nxhmKAy5tBPGk6yjO2D7fgCZ5SCJ0VFmWC1SY1VH7vubfA4tYYl+BpMIJJYxT\nE/MjSBoT9kHz/oK1NMXGnyfK+JrdjGE42n7dpQnlkq061SqittKUFvoHvRXQ\nOmJU+ZHPJlr0f8B1yCqwTiI8UXyNKy7X4UEFQuzS398M1F0/YDayJadxc1me\n7tKk4+JRMnfEN+LDrbnn+RHSt8RvnQXR1HBs8tI7T72RSLcWGSJ8HLrLJz8x\nHJYuOvxGNYxql+QS2iDcbw2J0g1910etSvbeeTHBhHqhdZmnRJ6mh4FMGX+C\n2J/cXF9HnMr2JmjiKQi5otlRy4pEIRRijp+673Jjjb1H1yUDfpsybzX9xu17\npirDjb7itwFyzHvg5LK4K8ktm0ngLAQZZjjr44ltxIpgt1uJEAe7BGboq33F\nSAlj\r\n=GHBz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE7tcSXKuN6aRa9qJPNIFdRM4bBWwP0j3eTg7bKY91H9AiEAysA4sUWQdQzwdZ7gZeNqic+7C0yGOI4fbMp9O54VMzc="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.1.0_1621862220780_0.7597809199020089"},"_hasShrinkwrap":true},"3.1.2":{"name":"sfpowerkit","version":"3.1.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"51.6.17","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b6dcb07f39a3bb9d544f10961528e9867a676acf","readme":"# sfpowerkit\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&branchName=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\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@3.1.2","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-PCmvEn31SbGJFPPDEl9wPTulzsx8KJPgjiC1VadHG9BnHevAyecoR8N05o268KRk8nJq4P8yCDkuRKa48DcfrA==","shasum":"5b04ccf40dc4a6011e1fd5ca188b3336662519ac","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.1.2.tgz","fileCount":295,"unpackedSize":2545427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtXlBCRA9TVsSAnZWagAAofgP/2OCEAzhv7HS+Q43Muvj\nS2nXb2x7OgzF61aAm66un0LXDdoCJyR/NaCQoMDHm3aSYmK7BEkxUYcMjGPg\nLoazsVx5/AIhRFs5MAqGGKEd3zv5heV6WQxk7yd9eTiEktrAt8YrM4yaAuGE\nawJyI6f0DKr9OjvrRKaaLXW2zXAdLM/x2+306dilBKAV9NJ4r/BKnd16iZ8K\n2s8vlqRZ4/QItMREGAW3eF6g12nFNOfIrNuPvXlXuArFr+FrRmfphxw2RcXA\nMEbmcvnzvsG3HNFMdGuYwgdgksu4OV6Bh9Fo6T8S2UKRUCyTQgbGx4dqdWk/\nloecomeOKPHJHWsKAd9E9ARfqzyeICcknJLKFioHPNKfLM7c1L8FtPbFFYgM\nvroB3c2RSdMbMMrVwtlpvI3z82DlZg6ZuaNAqvyePiDrUfwyTRlT5m9l7oIt\n/QG4dYqNhc00F5wGbb7WMlEUc82H0Qk0KczjsByo8dIuMK4EjDEWx9P0bVt6\ng6fg3NlRV5wX15OVvoPB63zmo5kvUsQEwQIIJboCk0cIQp66HQqJ+8MVLpa1\nE9N8827qM/O2rk+gTLPowziMDqUsgp3ovMZJ5QVGDF0Q8wtJqJ4H4bVl9KU7\n2oBEXuLF8055Vowv4jQM84nZKnzY9uedkETIFh7oMx/H+ueen97YqU8AhNre\nn6Qm\r\n=pQoa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcldKYWecjaiT3Nlm0xvGAN2CUcCLbRu2puAAc4+BXtAiBUG8XDclquTZVwV72jCZkPmIo52l7FtwKak9YNuIz+4w=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.1.2_1622505792297_0.2894633685726067"},"_hasShrinkwrap":true},"3.1.3":{"name":"sfpowerkit","version":"3.1.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"936b08b01c8780197f215de3b2f8b8342c78ece5","readme":"# sfpowerkit\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&branchName=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\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@3.1.3","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-qebUoyb6lCFzLO5JOFggSGUMywncYWt/AXVpCDin04WO0lvb83k4s2gcZf0M3+oH8EDix2OGsTr/GAgbjmpWww==","shasum":"47a0e8851e9dee83283363d7ae6dcc1e154df102","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.1.3.tgz","fileCount":295,"unpackedSize":2551018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0UcOCRA9TVsSAnZWagAAqdcQAIw27MWy8KEGwTzy9An9\n8FSxQDnMaUA72su5M/F4Gi86mNfnVfQS4qJlGBcCzbY5mn7pjgz2WLpOKnsO\nRYMiIzMxyWPQKI5KrMos2l0O73iLulopveqV9NOhH4JK/bPd99HglcyjfIth\nGdfTIxJILMyngbCVIK/QAqVy/x1d/YUpvrZR7neryT437ADL5Q9+3+BVi7vd\nAyF1W9YFXaoCg+WGQpQLgsIQnpe1LQaPZFE87WQKep1u0UlImzY+aLLvYBHw\n2btACjfmP9eH1d7dRI3gGmz7FH3711zB2W7XkXNuv7ifwHpSUoK4GmkNE50B\nBBl0gb0CBKZq1Qk9FJdkeO4rpY/xqWs6DpUh34UkDxyV578X4nsPuN63SgLE\nWJBD5kh9XooMXWCHEjZyXMgu8rT0d5MIuyk+QtfJi+S61hJVHpQj4PJrtR4N\nNSNSvoWaTUtNX62niarTPyly3k7KbB8AQaR7d8T4ceMmNrHOiPknwE1/jtmy\ncI8BMosWXcNOHf9u//quqLSdSD6rw5ujahHrXQ0W4XOCrNhRncMU9byWqE/9\ncs4YzQFpdxw3v1wBtbtafE7iTtwV2Ikv3lbebaBHp5jd0p5rYZNOZXxsiCc6\nspCaau8TXw+VHlgs8uR9Rnr3Q3MwKZVfz0qqGpPrwrHbdL+S5qERAfZFql9U\nudWj\r\n=/LZV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGe5Bch5x/qFm5uIi2VT4Yk9Axpd6HLgmtTG5FLfTa3SAiAcPI2iG1KVb4hmzWX87VuCmeReFATkC1Srh6Ml0t0z0w=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.1.3_1624327950320_0.8459884330802854"},"_hasShrinkwrap":true},"3.1.4":{"name":"sfpowerkit","version":"3.1.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"037b704a330e177a2564f63d3c3ff57df0e2bfdd","readme":"# sfpowerkit\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&branchName=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\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <string>] [-r <string>] [-f <string>] [-o <filepath>] [--javahome <string>] [--supressoutput] [--version <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -d, --directory=directory                                                         [default: Default project directory as mentioned in sfdx-project.json] Override this to set a\n                                                                                    different directory in the project folder\n  -f, --format=format                                                               [default: text] [default: text] The format for the pmd output, Possible values are available\n                                                                                    at https://pmd.github.io/latest/pmd_userdocs_cli_reference.html#available-report-formats\n  -o, --report=report                                                               [default: pmd-output] [default: pmd-output] The path to where the output of the analysis\n                                                                                    should be written\n  -r, --ruleset=ruleset                                                             [default:\n                                                                                    [sfpowerkit](https://github.com/Accenture/sfpowerkit/blob/main/resources/pmd-ruleset.xml)]\n                                                                                    The comma separated pmd ruleset that will be utilzied for analyzing the apex classes,  Checkout\n                                                                                    https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html to create your own ruleset\n  --javahome=javahome                                                               The command will try to locate the javahome path to execute PMD automatically, set this flag\n                                                                                    to override it to another javahome path\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  --supressoutput                                                                   [default: false] Supress the ouptut of the analysis to be displayed in the console\n  --version=version                                                                 [default: 6.30.0] The version of the pmd to be utilized for the analysis,\n                                                                                    this version will be downloaded to sfpowerkit's cache directory\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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@3.1.4","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-jtpsfk9Z4jxWDIzu9qinhyPNTahsOKBsZvyfTkfvtlv4Y5ujOsDB130+vbd171Ezz8N30l6DAfOwBCB3t8aTEg==","shasum":"7759a765f45514feb88e4c01a14807e0a16bd69f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.1.4.tgz","fileCount":295,"unpackedSize":2550963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0lmPCRA9TVsSAnZWagAAEmwQAIrBfI0yQVQSTVT1XuZt\nSwFPxzyXeYXBXgga/bHu/atFqGXuDCNTg25eV/fjhevry+c8y5n26yVe8yQk\nQFU3dkzvANn2OlC1IoJVLrCiw39I+6L7O8cn8xkQ+nLaCo2I5NWLU/5em4z2\nwYyuOe3+mU3Zf9C3C7il1GdUZzpi9NlY5XA8mv2sSaecMfRaKO9ZJ5GO7xTo\nYd6JYFYzXXX2m3SKHSiwO+qghBZ+kqIPVgf6zlievx3UYj+Od1CtjUWsej0r\n+wb+CchyC7zhQua8E/S2rVceNGdFroC6fh7CJqbuTBRzpj0R877+XYXkNRiw\nVXnAKfkYwMeGvzaG8fWMCceKNYkRNWbE3bChMcnYe3nhy+/bwwrk+msBMY9G\nVbDYEk9PeDlXRBK3NNU32YRrbrWKpE8BBmvHCgUPAtdIGAXSc2Jy0mCfxvio\nvmdsISgPoJI/mIRasxVoh+4r4+WfGeReIjQY0FI9akkC9ANFVLRMXd5pG8pl\n2qTDvUn9xuC5OxbfZ/clVjP5IHTId1JY+rie1YptQRFD5X1JRCLA4+YIQpVN\nmqnt6QyH1KuMLLa/W209z7k1h1Y5n3v0T4dFM0lfNRra7BNVgRM2/SEaBw2y\n8hIf1FIiODRYZ+RKII6Smr5fSKg2siT7U1NCeJuqgk28N/k8fDMjRVE1KMG6\nSbmW\r\n=+bX+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcOwOMeDpvyuhyrBfbrQZTaHbhSU0+YEEierTQPVWJvAiEAmK3Oqq8J7nuRwpDvRzidFkvANch4XncPKVcmTdVsLyk="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.1.4_1624398223310_0.5630988064561646"},"_hasShrinkwrap":true},"3.1.5":{"name":"sfpowerkit","version":"3.1.5","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"921546caeb7cfb06a8f0e8fa31c371181de67b82","description":"[![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=ma","_id":"sfpowerkit@3.1.5","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-9toUP8Gb/XT1FMm1G2wJQW33iPaZQSqW+1Ea5o1gK9hK8cBKGmaTK8CeackRzsTK4ZHPzbN4LVIsCGUdxt20pg==","shasum":"3a3063f71e6ae5d3eac782df616b20ee91b8d0b9","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.1.5.tgz","fileCount":295,"unpackedSize":2604430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2VfhCRA9TVsSAnZWagAANi0QAJzgQA6WRSCEv0bBNeY9\nE7ws9zp9aVgY8Aa8AQkZxg+GNcYL/qFCCp9s76E8PTyPeI5BV0IenNJWpQW8\n+Mie7xce24y1xhFqCEf2mA0zv7CrFlXu5BlUmsQrxwjvBDv2H3Mm1i0XpLTo\nMoBEje9FR0WnCj5g58HeQdQjYczJ0HZa2QC58xMFk1K1GVoj8Dx5UWQuYAUX\nlrYlMkQ/UaCGZydxLZ3L/OqAU50FSP7q+RZa1dU1q0LrHh8cIzoYqsKh/jYf\n9s7BBXd1vDq/uT9nM7n+j3o8lqHAw9bZe+DSjBxaM/Us/bS1JYkiyjlv+ISk\n2IallbS2YPBwI2i3ko5bW4WV6zgMUIAmHMEQaBg3y2iI8kqLm3UrdltsfAPQ\nM+pgNMV/ZWXr0rlPQJlqiY+tJJQOketuF93tgtsVRJEerVFOTtDt8smMUIS/\nh3zJI4p8BP5tJnxBA9mwcyCFSNDMsSrZUX+pcNBVh4ZxsH3tXfFgklC7y4zg\n1g6hDzq55ytNSSxiOAU8j0f58MMyfWjsE4hFSsaaboour+ea38uILbJowOO6\n6F4f5DKbX9/d3Xnm7mL+4R+lVkGgcCKk6bJDclOR78AwBem60AHTvD0BHH4E\nN1kjMgQH6qMfjTOulPfQNJsk6mmV4m76gUH7FSZlNEtAePZjlOMjL1YDgE7D\nnUCW\r\n=LZsC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+TR1+3OEFxPrR6epUb9/DXxttRqrQudhmxF+0A0RiVAIhAJhm8TnQjjIRwDRsoS8r0KfCwCpFpYgtFSNWIFLH31p+"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.1.5_1624856544981_0.35645929320947056"},"_hasShrinkwrap":true},"3.1.6":{"name":"sfpowerkit","version":"3.1.6","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"323382aa3f05af3f28dd100a6e513954907d01c9","description":"[![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=ma","_id":"sfpowerkit@3.1.6","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-UDWePhQhLPNUqmdXN1keKs19uuNsViit04+es2iN5jYWkW1zT3o0V0n4ClzkwUAlnxtEciYR54e684Bsund4yQ==","shasum":"4463155acbc66146cc890dcfa8cd87e956c008f6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.1.6.tgz","fileCount":295,"unpackedSize":2604951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5SC3CRA9TVsSAnZWagAAk/AP/0wLule01yPWUdIYrZ5m\nMztuoISi505Ia72+H4il0fn9Npppd5zrS6eCO5VXS9xWWa8IvBVivzenmoPn\niNY+6A3cro+7QdcQAaBw56zHSrhcT4KQaWZ6WAuR2b9ets6vvV5/qVl+MQ6e\nn0dbz3WMQv79Us5RFlhhvHVdm8sViHyIp06rJ+gAsO/3AdRvGMhu8mesgJe/\nuEhv35XplPdWHLL0ksgsswr8TEtwWWxBe5XCBhvwb3VhzehGxb31yyZ88Xsv\nET+2bZ6nFKYE9ScdSQF/idZNYaby9tnkKszj5RqQYYJTq2b4xXR1VaEibnet\n8xE8bSpASiUwlw+kGspAecZlfFuEj+BaYjkZ59tOhaU2T40Il9bJQaKaOT5V\nvj2iAt2l4sJy3qrFK6RGrqr5UWcMfzXgQDi1HTqQtY1AylapUtHno8lWgIed\nYpB3t+fxibvhJBx+0pJJXcyMvJVdHMaya0aL2NbDO96GRjbQmAQ5b9dsUj0E\nIxhzXjti+XA73P5mnrlb85j3ZaBPalJlJVZ10HIiO9j1YzGvpfvCxyvG+8Qi\nK3Rfn1VzsOg8l7mYvHQUXGaVv70vuG5cEFxA3DQnoR0nKYPm/xspmztu9i9y\nZyKRP7gGmHwtNzVhT6CVQEQTJIANwKTzF2s9ml5Yxm8HQ8AdF5d5pocHCCs9\nnM0V\r\n=yew/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI04DHqjCPxvg7j9Diu5rDryFUO8Y96Ma+jgaXXBrjfwIgMGjpRbaGsdrYae/GkjBzJB7LpM51Ml4X87qlFbioc0c="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.1.6_1625628854542_0.776091115162719"},"_hasShrinkwrap":true},"3.2.0":{"name":"sfpowerkit","version":"3.2.0","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"1ece2fa64775c6e8f0fa7afc820c585734b2e635","readme":"# sfpowerkit\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&branchName=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\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\n\nA Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows\nRead the blog here https://accenture.github.io/blog/2019/06/27/sfpowerkit.html\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o \n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker \n  <string>] [--version <string>] [--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      [default: pmd-output] 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: [default: pmd-output] 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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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  --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```\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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"[![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=ma","_id":"sfpowerkit@3.2.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Wt7M+V6nmXrY/UvO51jyKwNFYOUfMFJ89qd3lLHv6g14CSZUQoG5GLhbUGwl9nAjcj5gdZkXhVUJb2JpqfPd1Q==","shasum":"2558612bfa54e69a367b8f34d69ebf6e1f2f2f8c","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.2.0.tgz","fileCount":295,"unpackedSize":2606836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB4avCRA9TVsSAnZWagAAtI8P+QAOv0NVJlacYDJXWSgp\nAYFt13qicPWzymU+oq09MFv9auwxN2oSpQe27YY1EVqmiZcWGBbzeVHflcZG\nd4cQcJvi19yUDmCZCSOyQoUgFMXfIIo7Vb+7ppYYlcGkrQbQQysijdmt8FVx\nph83+TBK7Q75mnXG8QS7yuwLf9jWxZET1Nrd2LHzeTy1OhwZQGV0L+g6YJcA\noYDpc/eVYeWXP00ZC5r1uYEyPQYRepUhf45NM9vAIIchqN3JKjwOLsEkb8j3\nIeh3eDsFSzUKyV04MyDWIbDhHjnm6zdHBaGECSbQ5MPv+xp1ul9BfUB+y0ee\n84eknrqzcR9Ikf8cAiKzBeG8iZENG/dSFIeRFUsS1GTR3bdndnQYgzlCycB2\nfp5TbXLfru1XOrMI0YEYUOG43tB6dhyenvVgSxDE/hP2ie7g1k/NkfFa1BkI\nC5WYOWAi8KGs6qAAo8TAgdL53IRuJk7JqimT6CJF4aqyD6FCrJnxaaT2uFjw\nQY2w2iEv9cRbRL2wvoVsk3z4VLLN60O+gyXR05ApdreX/rBD/Qi/CfAoxf3e\nWO3KvhMmxM1+vLg1s37JzDhgn11tolLAPd7H+6OYzYciZtuubevr5w1+B9ys\nxHFa2Zc5CUENl3aFv2KMtr1R7LjvHFuoeQEPK1oV4QKY7uTv4F7SZUs1U1zB\nSEKG\r\n=2Bv7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7uZKM030EdUSn2J0qTKGyxnj10tY7ce7gI9rdupHiAgIgLTm5tXjZZJu9ClxEg+AU8S0mgPO8f5kIQxLrbo6q70Y="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.2.0_1627883183064_0.5730034252596152"},"_hasShrinkwrap":true},"3.2.1":{"name":"sfpowerkit","version":"3.2.1","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"19d8542998c89c656a4ee9cb5ba5bc7a7cd41ecf","description":"[![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=ma","_id":"sfpowerkit@3.2.1","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-F5fM/99hJqsCX2CGL1QSxUtNwcCCVOj/OJfmtPI/KM4pTHwcrtfCTViqolPxKJArWMWmu9lD3sT++gRAG/HM9Q==","shasum":"3cc6c4ee4148dcb28967b767d2bf402235baaed0","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.2.1.tgz","fileCount":296,"unpackedSize":2609910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB4m8CRA9TVsSAnZWagAAUD8QAIKTaFrGl9GkDh+edb/B\n2RO3P+6Y6h7vL3xsMRN/kSE5PrF1bX91nHhOeey+1S/32GIMdh0u7CZbhaRb\nB2M8xdLk3XTS4s8ZR2lr60BbDMDvSsH/5bkT3vkBlE6n6xtRAB49g8LfWqxg\nu9v80j2Xpf2CDq83HDgtPE2aTjSmmHoD+iQU3Fvp+PeCUjtx6eVgnSRPzlpt\nYC4EyOTWSvO6EdjZ2zH8QtJOMNkZ6RzJbEqbZRDQpFY5yIxiFrSOOqssZN0j\n2tC3O4Qtyn19946pEKUQoVQILokWStNlfGi5EzkQ0UfKHW1hySvf3ypYLMy/\nBjYfQbhgZSo7FA3BBGOD+BQ+reaa+JHiHKiQRwxkGdjzzVu5sia8MbI+Q/zy\nnw8b4XKWVu8HgPdoSSNmAs0YHOUf/6im8ypMuGxgT6mpBCKYCu1fpu8Sc5a1\nHJ2Jl/h6gjMCvg/7g8BaCIAYXvVTDhGwdCDx3Bs6061eJjLgERm3zcx78tQl\nEDZWWEhfoc9Zz1613fG+DWDaNnCOrbM3eQ6qGXr9PMO6BiRcmvXL67cS6x9z\nEBjmI5cZEmUyQfGdgnrjPD04w3a8gt8X+fg9yCRd7xPEbi4OsZ+t9wLIqmBM\n1frEGOIgJR5T4BpgksKWbVh3aP/jL4szJrEGnA5CABr030dKWCg+BtzA9WaU\nbm9c\r\n=Go5/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkz6Hxbmr205mkmMizbYKPN2lu6j9ZrHgYDihNtRAEkgIhANjN+Nvv9eWJ2HrCPkx0aQav74JHd/VDshay9hmjFtgO"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.2.1_1627883963917_0.02696645787950258"},"_hasShrinkwrap":true},"3.2.2":{"name":"sfpowerkit","version":"3.2.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.0.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"012bdcd40bbfab9d3c23324ee6c977202619bfd9","description":"[![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=ma","_id":"sfpowerkit@3.2.2","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-UI5VNPbq2+LI8AhABTaHcxh+TN2RpwNNWHdw7hqIWR9c9vQMiJnSno8SAGfzYncpUicqAKNQLOlzFhZpgEMiFA==","shasum":"6259b9be2ade5faa97f70bd4ecbc30ee0aec8ab6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.2.2.tgz","fileCount":296,"unpackedSize":2607704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCKbrCRA9TVsSAnZWagAAim0P/RP76jI79SHTyxpbrEfC\nBGz7ALJOpCDcSINfDu/E5FsAc8tgib32EvGmXPDC3qT1jkA0CwhmakFR/bP7\nb0mWzSghM5AVb9he295qJSKpnsoPWbJQtv2k3PKM+wFfAGFt7Ije4akHqKMj\nvL3D/ZSJIz6gLQPoLpdX7eDK5rYFwUfHpaXltojyBeUBwcQWafjaxhZkWGyu\nrPQ+pBEd7V+QxTtJSKBL1Vj5UQLXtFt7gZI94+rFJsUl2kzugXZ845VluMPc\n90gMWmVcyc2s7byCJcVlGQsc0WjuLkKSnDVKKiP2X580iWeX/aTLixn6yXFn\nV7V4nYdeliMSyWW4AmQqCSbWbaug27Tc/7rLszIwJJ6Qgng5ca60iqT3hE0o\nm4YZjYtYruHv0QmD5oEbQg5thZBLg6L7eEyidwIfo5UWElV1IkzEjzqyQvao\nbHQcQEybqysuouGXYyyOvWX8mGLIyOg5gRZ3eJdph7sHs4NfywJSUhgKYFQH\nCJyCS/7NdSVVYfJdq99jYr3HoUmY7r/ZBIBufaek7eUnH+t3AQe3+BoUe4VY\nA7R9lC094BQbjgUapjeJSuIocvTITL449vaVnIrsvlOtSZqfEfukQzEb1/cn\nmePeAf0BOwuDHwFa4hUoGn1T2ukLhI8nA38v5n5s9K+uK2OYmr0iLW3tuowU\n9LwA\r\n=TGie\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDitOcAY2tpqgAPZHrxcdEBE5zrQBCs0e2pV01IesLe1AIgCVv3NeWA+nwkcgNjnpJcajOm/DVARxrDZ5+YdpmBo8w="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.2.2_1627956970994_0.5407878279910383"},"_hasShrinkwrap":true},"3.2.3":{"name":"sfpowerkit","version":"3.2.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","ajv":"^8.6.2","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"8126099c42b68ee6e406c8402ed5d522c21a80b3","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.2.3","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-CKyllqHlzg3hKW4414NczgQbwvkHJS2zBFm2TLYV2Wgg9As2wuWusIBo73HbaasctZM2po14udVthqyHzATv8g==","shasum":"5fc2d05269c4bdb8a52ad7719cc6f3b05b28fdb1","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.2.3.tgz","fileCount":296,"unpackedSize":2610866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMV/WCRA9TVsSAnZWagAA7UMQAI4DV7qS8mtOCQTAz4OE\nZMoyzF4yLtfSz9zn+bJdaPBgkHcYy6ZUPU6HA7vk8vBf+r44v+EDfLZcRyt5\nhx6nfT1raNEeMa3+tpiLeuQsvkyqrRR+GC81+Ac4j14KOgyiVVb86Ps+Zln+\nlXDvgHXr2zVzIQp8k0d6MXU80j8SLfdIvCF79/fxKpYtcjSwQBPEF/D4QidP\nk/RtReyaMGsp7jTTDbnQ1MDU/CsNwKbxMbfdB/NMFqD69Q1uSgSSHh7PBpqe\nkFkvSO6KnNyJzMGt0tNOZMua91s4ZM+0xPGr5+Y4VazOsRw4g6XYKDciphD0\npUtj6OJNZs0s8NXw6YN/athu3A39WLVsfKRZmYjkbuUYvs8Fhuh/XmmsJ78H\neJRzYHoBloQOJFIGDR/8NmU6GNl8UAq/n7V0ueZKaJLRURr806Ewp/jSDhyB\n1+KCk0L0BcGhioowwpZbw80y53hwL7Tx+UsnBAv+DTQ6uQQVF2cU+Pr/6kZJ\n8th3C+7a1XdmeyGj0iybcRle6DMOmkrTy/AyN69j7vBwxzHUlZNu59HpmdsD\nSLHL2Q6nd5WAd4XvJP2+012/eEFeBqDZzp57zzO8HcAwRc9WBGUDJTkl+VnS\nbIG/RTu1veDhd6BBQ3WiVbGqIF0+LUNfyUEMKxLmrE2+T9pr1IiBawaqDPT9\nBz9V\r\n=R+cw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz/00Fl88TDAl1iiv2vOGzHwdfHaY/yBELHXGuO1rjfgIhAPsNuh3MKCg+m2aoSz7QOFOvKfzIloJyeEHz2+7ue6zN"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.2.3_1630625750503_0.3216944054131492"},"_hasShrinkwrap":true},"3.3.0":{"name":"sfpowerkit","version":"3.3.0","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","ajv":"^8.6.2","apex-parser":"^2.8.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.1","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ba392c8b21293364ba68b30f9704093746036c40","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.3.0","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-JOZr4tO4kvEbtO0O+gvarJhgC2E4wRk8dDkIHOfoJuDRQHruDSaI5kQ9Y1EKU6ETZDqYuu/RfWNejXSX5NEqlw==","shasum":"e90653f1f08af4c9c9b8522584f22dd1a6f1220e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.3.0.tgz","fileCount":296,"unpackedSize":2614131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOqppCRA9TVsSAnZWagAArrcP/RBJoZHn9ay3keTPHZ3L\n0NzOZssWYBEiq8r/EPvHqg42F200bSirhJIdMsYGVnTXxxOvzq9HxVT2Pvhp\np5iCMApc+Dt1kC+6y25RWrVRtKmudGgwntqC9NAAYThpmoRQQU599DSheXdT\nI3Bu4PPwWwXANsZuC3LraLc7wAlzV2LhIoaEE/numD1dDPfgDh9aY37UWOs9\nhpVOeqNpaghrQ8sukV8gtPzWzJSjL7xC+8MCq1N6eywcmjlPSemDtN4JC7Jv\nRNPNaSsOjbG3ojE0dvfBva87veYVD88GnHWD+bBnCyoRMye3UCb5Evppu9mA\n200as6NW4a4sqLLlQwIKqq2BrwtyjRsLUltBqwoV6FWWp4l+QMODP7DU2zTv\nXpEtrcmC2QuOAhamocmsWSfC4wJpYdrldmsYkDqgjU4OFyFKjbcdajNqBO97\nSBOZ+86ok01vmxMMW7tH8SLCKaVXc3N4pOU7P4sBjbtxgkqOa8cgmq+Mkm7d\neTiADQkCup+nZqSLVAsdjw9pzDpelstQwv2OYO084lh3DH6iHaE+R3XOB+fk\nRVfQkOdRqiFDbsFQTKF6Uk4dWKyAdDLMrVZ9rBpv+zbFgPdQL9AGuhfQX92y\nhh98Q5AlIbX15Y+AMZjWHUKtN1uw+pfkPpHiU00UoCw6yj4ebz8CiXXx0L08\nWxOC\r\n=POgE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBy09Hke/bQvj3dRgajqdurN6BHcYGPLo9u+oKjgKJOTAiBUn1d1c+E4LVvNZUlqRdAdksjiysT5jOHZkqOUJXLwHw=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.3.0_1631234665144_0.5659880091637566"},"_hasShrinkwrap":true},"3.3.2":{"name":"sfpowerkit","version":"3.3.2","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","ajv":"^8.6.2","apex-parser":"2.9.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"92a56cc168cde76d67c6f3a3080766d793d7657a","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.3.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-VejadN60HJS899PIOLkztKy500yvG4Y3I2IyNPPkRokbUcyezlhtHRwPNoTGDlaptDuPGr5NBpEyYxjMErSArg==","shasum":"8b0fbd935b2865f4121b0e918617f36df78a6ade","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.3.2.tgz","fileCount":296,"unpackedSize":2637128,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHX2rmia5uuQ7EYs94MDgH1aB/yMDPXrfdSDHjK9HYppAiEAscsM7+0r+n9QIUH7KtfBePkmaCLF1Ih6RWrEP/z1ElI="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.3.2_1633386223047_0.12288356693720348"},"_hasShrinkwrap":true},"3.3.3":{"name":"sfpowerkit","version":"3.3.3","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","ajv":"^8.6.2","apex-parser":"2.9.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"48c7e322f83563d5405b1f9ea745c34daa41ec81","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.3.3","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-JpoyCCAPR7yNE3+AqC1osS4IOLAtqQqK1QdewEzUDz/0l02JYbQhqG6qIwbC4c7LF0Ml7XRmoWVykbyI2GuRhg==","shasum":"a9c672507016ff6144f4dd844c55bf4499cb3cf3","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.3.3.tgz","fileCount":296,"unpackedSize":2641271,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhcSKY60rkxEhLQNoGvWJDBlWNs7BgRdJzwi3AH79+fgIhAMYuOEjF3pB431lXDBrgMuXDmWxK+5TUGZoqu5W1DEqf"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.3.3_1636065898458_0.2723771684661145"},"_hasShrinkwrap":true},"3.3.4":{"name":"sfpowerkit","version":"3.3.4","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^3.1.0","@salesforce/core":"^2.20.10","@salesforce/plugin-user":"1.2.8","@types/jsforce":"^1.9.23","ajv":"^8.6.2","apex-parser":"2.9.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"^5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"52.0.2","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"^1.26.0","@oclif/plugin-help":"^3.2.2","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"3a8ee04e100fe9ae361fe8513fb277b50fd7b8f8","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.3.4","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-+cuw081uMJcpU6nG0cFRLMFUgxq5L2/OcxzyGCdOefQamHYE+6nlGA4RGvi4N7cm+4PzQ5YFthGlAXo68dXf0w==","shasum":"af183011c2702cd6f502464268e26506963548d5","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.3.4.tgz","fileCount":296,"unpackedSize":2637067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5Cq0lVjtbxY4eFAMy7fkypMHM6cpjTqMQkZ/vun6vQAIgRkZG+CjxYFcuFCHVqViNYAxexJ3KtUYP0E7T2SYTscA="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.3.4_1636423468406_0.5104461978305683"},"_hasShrinkwrap":true},"3.4.0":{"name":"sfpowerkit","version":"3.4.0","release":"november 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","salesforce-alm":"53.5.1","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"901f6bc2162ac3bc8c21dc367c55544b13d7bc8c","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.4.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-nSW9fwfI5fX6doyAFX8/uZRNM8alurCY77VHqxcNKRhuG+TZkoMsNLDsQxirC/GilN1rvT0j+ZCtCzML22yvAw==","shasum":"223e1a118ca6fd55de4e9744b91fa8ab7d8d0f01","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.4.0.tgz","fileCount":298,"unpackedSize":2647094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpw6TCRA9TVsSAnZWagAAXaQP/0WkbACcadHzHzetm9ph\n/Q19MItXyH4dIMEoiPb0rkXbDk4jwAS7EhOElhefp73tguyEYwQZ7BH5bMt1\ntc4TcKlbKM1HNwnBgxM/SoOv7vfRIFwonZQxNmY2LZ5DKk+EFos5hqOPRDTi\nGvhX1QtymGqsHGtdWPDo/YdoRxxSKNJsPOxqLsj8IzPFD/kyHtQab0pPMtrX\nHzigCfm4WjlVbUM16/eTvqX7NO3M7ZQYNEkEIlq9n5OLlzrj9ApufX+Kv7ZW\n/WPF3P4CP7xmOzal8o/PD9SnOo47WvGpIhxYg9wI9ysfYycn1Dnqe5S5rk1I\nsqpIXuALXaa3/BrO3Kzhx3BU/ylAGstaPFKxWVmVgBF+bSlaq4pph4rPGneN\nBuL5Uucqtgztgm3ZCUCl6Rs6wHSjO3Sz0tKn2c8G0wKQqvG7H3+0RRYPm1wM\nDmUiZNOAsqFz+OImOwxsctmYxlsDB1q6CAJ5lp701pjiR6cqJrTi0l3efclS\nWPnh1dVFJ0t0gamGmYE2rM3jARPJLMUA8zczr55VFKrkHPBFvWoU29Zwly2O\nSC5TO1LNTeL+yRp3CcmwgO0d5ctSkzaTpvl1nKTDnLUTX9F28XWU1lwLDIiB\nAe9jMxf9uTotkGKZvzsuChbkaSOQwE/1cnhrCHaKY7paLg/mKYGRJ/mQmtKg\n/scm\r\n=64/m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSW70stbncP42cGn4p2toqpMKNYkpVC1jp2OtXxdG2+AiEA8KqK9A02w1UFtqdwV9D26bTqZHi7xIhR3QXy/1OetYo="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.4.0_1638338195569_0.47306757127897203"},"_hasShrinkwrap":true},"3.4.1":{"name":"sfpowerkit","version":"3.4.1","release":"December 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","salesforce-alm":"53.5.1","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"204a0317b6864f713eeeba3a43057971654e5600","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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 [BETA]`](#sfpowerkitsourceapextestlist-beta)\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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\\profile\\retrieve.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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\\profile\\reconcile.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 [BETA]`\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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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  -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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destructed,follow the instructions here to                                                create such a file [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.4.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-ACAQ07msUh/CfDBY78Wqv32lS4fw0pvbGZH0ugRMNS3rIuPRSPboMTJ8XPKLHqKn4aiaLueduejvVAV2OWoICQ==","shasum":"40b75d741b5c819462d15c5ff9733d737e20285f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.4.1.tgz","fileCount":298,"unpackedSize":2647204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhruQlCRA9TVsSAnZWagAAGdQP/3gfp5DuWh/2livCoVUV\ncm9IfHjvzhqOc0dHBTioghnXDCN3KzCnCYjkm85jVCyaBUenNe5tjXIKu/qB\n+5kQR0dIumPmorngylYmxlGkWUzbdy5mHW5ws8P4WSrUdhrGuLBd82n1eWGk\nAxa4j7Bf/Mpo6OUkPGWKz+1m6j4UKc4Zhf0N7dp1F4YHKz+ve852mgAFruEy\n6r3gAahnTCvelBwBfMKsGmun0j0g0DOwn/ke/e8Q8HC06ayU0+uNZQCh/S15\nizUCROSbgvqwNF5cS093JcdDtyOHEYbWS+TrLEa2qKnesNJ5Z2scu+MMtl6d\n8cOIQLgQomlGyLsP2gv1FYM+YFYNXYuyztZyASD/gvE1Pss5up2lxpAKrkyp\nQmqrwY04hFS09Qjye3iLbqP5eWMpq5G8RnALVF2zfpiRWiv5y4Ohsca0NweB\nI9pcvndyXLnKtRv3vnLOELnxsNALY+lYk1CfY6cx2SIERjdT/VdC/f6rVd8U\nb7DtnIzdTxgfo2m3517l9hNjRgNTJdnRMWDTAiN1C+JQMI2sDOPT1tfCkOJZ\nCLsv62X5imutyf6ND08wgnk2BPdRi+hYVAl2v67sH2p5ImlQPiK1iWLtwqZn\nKZd+5gpXz1ATBUFFZIh1/q9HFNcaMtqFC4Dnmoj+draBw/y8oTZ7PaGjfo5p\nZykA\r\n=km3q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRZzZ3qHSRqwDlGHOhg5whJXacnFzqv4QsEeEJJbhKmAiEA0wl9WczZI2p36OMK9QWhY40/+JVSHsCI6DoqXRx/a38="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.4.1_1638851620898_0.10098809627305116"},"_hasShrinkwrap":true},"3.4.2":{"name":"sfpowerkit","version":"3.4.2","release":"December 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","salesforce-alm":"53.5.1","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"d5a6e63f21774a6c88fc4ed7b6f7be84061766c7","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.4.2","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-mwrRKVoBUKbNsbaBXirHaD4r/8Nqee9myGfzXFiPyMTa/umc5SiX0uCwm64xF7OF2zzzY5qQvLyAkRSjIUPmhw==","shasum":"83e99a145f8ebd31ba901f82af597c8f71a3ac2b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.4.2.tgz","fileCount":298,"unpackedSize":2647204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrus7CRA9TVsSAnZWagAANG0P/033QhI+Fcc95++d8EVI\nxGYMGuIHyJDBWB6qdBg7Nm86EmVkHPsGuj08HGUlzXQatub8E3dMZ1MBR0MR\nBdXLMmCUkwo7xskbh2tHXyGWpnC1Gp8YiQ/BPtei6/d3Nx8IxB8q8Vr/Zy2y\nNn336Et8R0TeHscja/+XCBVsE2jurz0RED5pYX/4VObb85pWZINkA+jI476i\nV0c1oJn9hlL06jZE14RNPfYB60URnor0xn9VZDBlMnhrWd4IjAd7hJ8FjSrQ\nXNRgD7J8PtZDR2bCFFApnurEe6zTlSoobXSqZF/fZmnDS9lwqKlATPvA1+b+\nGYSjDksDIMmXMDqbW9mGOAeUF6e8b3Ial5bGUslkiUr2tPCg7XHhfBkKbVWy\nGumx+EYVMerLkm+UkGno7KEVKjauYkMeCRt/JARWmXKh0HW1Tg1YZ9BDItr5\nQxZqHh1UdzHVwz/YqTg161Fpg+igQKmV6g8XvFxmN0+6IpWoC4Zv50tH8jez\nzakwqqlTefXZObgU7xJaKnBUA7MWSVPjEBMnfS3ltocgztuWoVaRC9JUHAu7\nikVDqZsrONfBe0bl9uAod9mfZqCEETB0IQiKDq2FFr/RkavMuX2AHiybZDrk\n6jPONSLTkCdZo9IbutlJ0Pm8DaOIq778qPs29O9NOhnI9fMZfw8jt6UO6rP7\ngE4V\r\n=WeTQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5Bzi7CfVz7qBpbFwSKj3keNRvO6OgN8DBlhT3ULbr5AiArfEzROXZBhuc42fp3mWdbOOORNAuDjOsl75gOAdFqNg=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.4.2_1638853435753_0.7642369950362529"},"_hasShrinkwrap":true},"3.4.3":{"name":"sfpowerkit","version":"3.4.3","release":"December 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.8.0","salesforce-alm":"53.5.1","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"b9e5d6095781f20de23a1b0abac9769a7daaa063","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@3.4.3","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-CJSjHm8wtyoIq4BMgLg9tasviQZhpYfbGOxs2fANnELVT2dQHQ4R4Y8XCL0gFRs3WYIf1UlJhmHgnLI2C9Vq2w==","shasum":"f648910633d728f62387cece3358b3e8c9e29408","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-3.4.3.tgz","fileCount":298,"unpackedSize":2727660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht+OFCRA9TVsSAnZWagAAKi8P/AqKTGBhZo21wUoCddyg\nnHhnB1pptRv90d2/9CIsm0870FKgULr4ifywDDjuumeDfwiI9BAOfHhqPtcX\n2CZ319wMbVHtUzRzQOAQVoAsySRTHgGXweFbqGP5VePvZ3CsPz7xqqe0gMdr\nnra7f4PR4s2g5LlGh2D4KfDkqK/sFnB7pFxt2fNm8wCeCP7g1tnfj0JPSOUc\nU6yHx1D+IP9Rt3p1OJso/d+LMiZQNM5YkRAtUjwKDX1YUaxOWYiE7SjFpDpa\nkgEF5tf0Xlq8uoHMRJw8SLlObyvGa+PJhqWT9pq1sRi/EY31pPYWUQl2T/UP\nylTubSJhcweJ8aakbkbZWQDiTpbV8dbG1mZDm32Pw7ZLxD4pZoh6O/f2ZqUR\nWsLDcBNOpsA/ZR4xQxPm/P3Aus+uHY/A4NoO6WAjbHuBWECK9VPMX9kFZ4UZ\nyPo1lUCfd/6TDD2wacD9beaS+gg+ktFk03aW9yDqQA5PlKM3cqBWGxFkN+6v\ntGL+GwM0JKa7o8CVgNS+tw4AMJttYF4uBwqeavX1Y7ba2vQ4ssRl6iC+o5Cn\n8LqIIefPTuVhwcAmDZa7wJ35O2lWxs9BKb6SpvslpHA0G92S/5LSSd7T3gtY\nks9B1U3nAnYYoavSD/rZ4lPcospo/yXgz9vVt3QFmNHzW4vzs7v6UqyHW3Sx\n2ED3\r\n=FciQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHRkLuGgmpOJwRRL5FAx94pmMT021ylR9BN0STvtQhDAIgVyiG6yh/w1lY+RqWYmnZ3urYXWjA9WwYKqpxOZLm8A4="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_3.4.3_1639441284866_0.1372242785867106"},"_hasShrinkwrap":true},"4.0.0":{"name":"sfpowerkit","version":"4.0.0","release":"December 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.8.0","salesforce-alm":"53.5.1","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"ed03b2ffbf046d8c0b5df2fc4a112b1deaa335a5","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.0.0","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-tkWCy4kdPEI3gNfNsX0Xbj5jCQY1qj6c/b2GbXkXpqUF+Tsb3hx3cBVJxCe5n9WD0BoovBPyiDu3xxRcJ//9fw==","shasum":"a1f80f66972faecab8b8f09b426969440c353476","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.0.0.tgz","fileCount":298,"unpackedSize":2727824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhurSYCRA9TVsSAnZWagAAVx4P/R8JR99fbFNJSFZHqbwO\nQTTmvS4gCHuuwWwapFqpn8+ktmn29r/7BMT12kisbgv3awHjZjBfSxGCp1NI\n71k7j45sCQ4f13gsUhxgQg9CBV7S1FUUiDsC3tsEKD3/D7Ds2Ac8EeHcZ1Mj\nLyzFaNxPy+jFjaB7rUOv64pOlEAlFH9HKiZ5CuvRc7DzKm4qKPIlDYCGSp2p\nmLsYDW4ZzNMoCduS2jhavsvZEAxZZHCdLV4bqgxLhbtPJ64kyQ4fnNzewVa9\n+CWhUJpCyYxTsi29O46ThRjbIDaZEKOjmxvwX12zAziS0LeQGKiPXRfkvbrw\nikdxDBTkDwDRbZj2QcSJDxbBHSwVYMGg5MC0xDHcynrg1ZyYC4fU0AsI3OPA\nPHJPdA7EMW+1VcjlFqVGfe8oyc+1p1lvR3CWkKBePyWKHO+qFlWwX3oJ4TiT\nhioh4aoOC+sAm5Usz8kXseSd0xT31Q+ykaxU/pX6z8z+GfrGF2W+OZR0ORCO\nTw/HupuFh9nQG+xEPHQQ0hd219UDLpEAc2THRLkLl6fkpQjsGtzcSLhm1KBV\nzSz74aTMXJfRq+Qxd/c5kjHB36YXOhYCpokKf9lydzZ+JTwOphMkc4LABWic\n3/2WNgrvfdAY5Fi2ewTywAtsOBKSu5Cf1ZkbLFC0KATJxj6mtaCRcUG2+MCM\ndfxq\r\n=QPN0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5Ue/PVLO6IyeEGzt9S1w+DHtJu58gyVWifLy2lnEUzAIhAK/FKxxmG83Mnh/qOyXkAwwtQ2njC/jDTG4EzFoD4FZP"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.0.0_1639625880592_0.5013615355728576"},"_hasShrinkwrap":true},"4.0.1":{"name":"sfpowerkit","version":"4.0.1","release":"December 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.8.0","salesforce-alm":"53.5.1","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"06ae73f12ec072b7c1cb9c9a3aa9a5b92c640229","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.0.1","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-2T114Xn7Yjikjp8EvESE/rrrSdhrz/kWCXT/FixF+Yy/Km3VWhq2rGixNW7fAlVkH8JDrRJcfqej02CBlUZ5Xg==","shasum":"8fcaa96f8ac59d6b9847fe7082cb82bb9fa9cc1e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.0.1.tgz","fileCount":298,"unpackedSize":2730694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhv9dmCRA9TVsSAnZWagAASXwP/RUev9VShIscwx/EaOc6\n2WVq22CGVBwiHbDQnM4gnIpLVHidjMjQV6uAzjGCA9AQPnvBQXho1OUNmuVN\nhlNCKRa455vAeXofkpYI284oklLmwi20SiwLZ4TKRew99zOVZtVSORbZVmXZ\nLbNER/CExw/ql2EhOQFmwjdlsiUqFTJbBGlABdFRIgeTs8PFIiFpRcLQJx82\n2d1BmCCvN50a3MbBsSqXuRoL0xxe5ucfX1Wr+lyh1ocAKSB/B0tQ4MZDcT8T\n+Hq2K2PFNHhpz5yJonxH88b8zolkknp5mFWqRyYpRuaKytxIuBU81OaLVt3x\n2YKwYRI6BstWhwwn9wpu76rmttin0dS6+MXleTUCEOzJRKAKEcCJjLF86AC/\n2zt5wMp4FDaI9KkkdzmysQM6bhJ2QPSYxhgM2M9UxTfbhiVpgBDy0loN+aBd\nJGm+FMqTcXxB6J+aV0+kjNzUOPVjDBrBI1Huj1LvkIAMqEGPab1v14XUMQKK\nZBgK18xR06m77+QT7mrll3myTyO7yC9LVn03lX/R0Oi135eEapDCYwj8rDKW\njMbFoDxct42vmLy1NHrdQ388co6hYveJVEMuSgZxIg7XTQM7MMtaCA9RcFcf\neDZtxsjHmeh3R8vr3u1Rb3EnQ12eDtJ0Den/HGLqI5uevH503rAFdyJUjFpO\nZgRb\r\n=Kzq1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLVjsxyOKzvyeoePsy+VX9XFApi6MHlMRL28wPyP4uRgIhAKFev1QBmys64tocYLkgtq9h/mxWtyjfh66FzGKqG3f8"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.0.1_1639962470486_0.5790039480747009"},"_hasShrinkwrap":true},"4.0.2":{"name":"sfpowerkit","version":"4.0.2","release":"January 21","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"contributors":[{"name":"Azlam Abdulsalam","email":"azlam.abdulsalam@accenture.com","url":"https://www.linkedin.com/in/azlam/"},{"name":"Genoud Douanla Djatio","email":"magloiredjatio@gmail.com"},{"name":"Manivasaga Murugesan","email":"manivasaga.murugesan@accenture.com","url":"https://www.linkedin.com/in/manivasaga-vengatesh-murugesan/"},{"name":"Alan Ly","email":"alan.ly@accenture.com"},{"name":"Henry Lay","email":"henry.lay@accenture.com"}],"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","salesforce-alm":"53.6.0","@salesforce/source-deploy-retrieve":"5.8.0","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"79a03d5f7209398827f4965818833b410e5c2538","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.0.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-wAVQj+qY/19AZ5KZ3JPSPADT1cD5Wa2D+cIHjuHwcrJxI6lV51MCBfjhvpHwzjeQiDGgY4iJuHJhT73pDpVWCg==","shasum":"f7e2d24f363ab1831732073b3c9ab11d52ec7657","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.0.2.tgz","fileCount":298,"unpackedSize":2725005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4QMzCRA9TVsSAnZWagAAN6AP/30aW0M/QP5+Qpyr2FqB\n0ZyWWzffKvfPBWofutH7P+Bg1QQ2Rg2WQQUXgiuIyoYZtpY4EvngzeC8Wj37\nOINeAkv8tLxXC5qm5OhC27UweoQ4Xhf2O1IK0GTayfoZ0mdsNDEsMl1fu101\n416fGaWsbJPQxP5BfXZjTD9jZBwyCn83PY7xJApLv2Uw+Vekg+uhtWfaZkLW\nF7aIl7QC36O+Cu+ZG3RVUVuOO7+ldX0cWWsKT8ihC/iACszyQfXMg/ARY0PS\nfFaCFvXetIGtvY59nculPOsnWOrKkSC+xJVjqDyjzMWHVysjDKBggdaSKfxt\nTFCyt6CQ0lHCsOscHQpEA/QXcIpbKgkRxR+pu/cdHl9kmgxTn312iCWcKCNs\nAv4NSWe3l3k67O5p9nYxyupxjJfjOc1nBbWT+mYGGEJQsAinDM7Yo/8GIb3Q\ntYzI1DqlDG3w2SixXxh98Q0rkvSMZD6E3m1T/dinQlfnaGSXqFQJmQL1XQMu\nRm1dmIQN/v3WImpczB7xD/UaO98jAcTDhzd6oFaScBdfUCWSqC3EbYPyNeB8\nwq6EHmfzXFcILpQ1evK8uDBsG1gpQdOSloy8nIEjfIOZ1B0iu9zBTNDG62jK\nQWX5fRW3XH/LYyFRZg1QsRFWNTNokLBk54jthHm1FMyJp87UqHEkVARqOeGm\n4xCg\r\n=2Gj+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBm+AHPgtaozp1GuJfDgrpTTVmYBvZL5ZlIDs9j0G7aVAiBkQVAiS90qBd3iovW4tqolmtjmkOsK5veQKD0WZihhyw=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.0.2_1642136371349_0.4473300421839159"},"_hasShrinkwrap":true},"4.0.3":{"name":"sfpowerkit","version":"4.0.3","release":"January 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.31.0","@salesforce/plugin-user":"1.6.0","salesforce-alm":"53.6.0","@salesforce/source-deploy-retrieve":"5.8.0","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^6.11.3","pino-pretty":"^4.7.1","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@types/jsforce":"^1.9.23","@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/mocha":"^8.2.2","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","chai":"^4","globby":"^11.0.3","husky":"^6.0.0","mocha":"^8.3.2","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.3.5"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"695c52d8b9c342e87a89bce3bfd4a3e317a1b4af","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.0.3","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-5mdUr8cX3uyNkumTvu8sHWHqARIQZ4xIxfYmz4UNdSaeo2CG/hV0UbSpTocjUcKY7X5X1ZDMCn7BEMZ4laSHIA==","shasum":"01c7b69e3da2b3e97652a4836eab3877c9328d04","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.0.3.tgz","fileCount":298,"unpackedSize":2724404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4WPjCRA9TVsSAnZWagAAHZEP+gP2IDPYdz1xiUwCDkb3\nBhNl2t+YS3IHbou9wtvmAqUFT+64pTv7dJQLRPrnnS0JG4L6ZCsDuN1+g+sv\nqqv3AmipD3Cm9WJZgn0rYp4kCt56Ec0ENhdHoCuvdm5JqzViN5+g4+vZZkDw\nhU17DhHcfn3njnNAwh+4FWY/3MTZSu0+c5AzT4NG0LXW7AcNNxNjhSoJcYOm\npIKZyMo47s6N6WPvR1xXhXrx8Sd3hU977W5WIyR+YhMYIleG0SBqDqehdkML\nT8kDYt05iQVa80T+rRYz1O/Djt0wdIth6iyXOLLSQr05lI+FjBllgFw6xFS7\noLuLpTzpTy5FTePC1tJs9+wVxctB/wPODm9F5rGb+nq3TbV9GVGgfAwig7aO\nrzqf5QsX7kD6SukcxvaDnwh60TTrNFM+Msjy+S8YgirggpLVohKx4RwtJpw1\n7a9EmtF7EriJp5STvRi5nWymfeJN+VgAzyW13WX+iDWfoE5rOwleOvHeamgu\nSR5eDFb4Sb++YW1wOQjveXzOL8TpfQdCUQ1jUFKnZp0aS0DJDNWHrtw/4EK2\nXnu8HcoVR0x278iRCwM/Lxuf4wCoEKDpE6RRUYY0lwaP9pQLSpkgonH3TpIl\nMhIS5GowsX/m1jtqVL59OEx1aVi2xNL41lNgsKhQUFPuL87VqNeryBZYD1it\neiLM\r\n=F7Zp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+9878xGjEgqtccSNj3gQmUhLYru8H1ELTkZocHqnedAIhAPKQepiNQbaLD37xBmlf/l7Huv4MpCRfttFDOkPsSobr"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.0.3_1642161123308_0.8149848409343567"},"_hasShrinkwrap":true},"4.1.0":{"name":"sfpowerkit","version":"4.1.0","release":"February 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"^2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.8.0","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^7.6.2","pino-pretty":"^7.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"53.6.0","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"65e3813c5b79ed16f62e012386dbbdf091d3b004","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.1.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-V32ufx/3t73fBwC+h8xU1UA8ZfSEHzthxQjNir38agXynZm3ZYAbrRq5bR75pDDb/LT8CialHB7Fcnv8bHKcqg==","shasum":"046fbc5baa369fb79bc0d5e5f83b4266feafd18b","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.1.0.tgz","fileCount":308,"unpackedSize":2786331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/ZxMCRA9TVsSAnZWagAAwu0P/jjDpluxAssTSVTWAuy3\nqQL0ACDBVeYIvZDVJTAO9KnbbAWIzKh7bZVgbj7iMg6SaU63sdkU11RGUNfu\nZFQOIQnoUawoq6GP+xBjD+1mraaAWDyx2o0r/ujXhIEQb3nae9tni+CJPjKR\nEXVSLo3yc5kwu2Okl/03g5V5dSlNA0h1PcyLMolASmGfysqIoPTjqw69NG52\noJdloxuDViWtnCQIYUaO/huUyCpv6KEiSlP6LLyCVv6Z5i5/ag3Syv29B38k\nDl9W0hyBYS9SbZ79D6/bW4TuISINFMWdXaZmZgtR3ESAak++xxiLgAEWmuHL\nsQWaAEgxFk+MfEw0ZvuEx7cKEFr7b1h364wEACUORcdIunPHGE0uS8VcF1GS\n36Jn3IOZF+zqXJ68kGud3P8iTns3ukSaw2e9fBxQ9DtKijVBFLj17+Fqnp2D\nqfPXP9d4vkZUqw7O+n9A/PRV7d5uNRZADKVLVhdHS0ywUjkfZmKydONuyhYh\nhKn7ThPj4GuQdtY769FKcdHuBqj8NBNWwgwmD/zw9q3LTVE8KOXSr6TQ0FpQ\nDZnc0ZvhLfHC33CKW+oEGyc0xtgHNwo0GCsixstjwT+5TFrVkXBI1akHKvie\nviDW3HOaYGBLbwf9RDtA422wjXboRX6Ot32DzoeOA6UPNyMYAamuIWmmW5TC\nc2MX\r\n=1pDr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJtggcPdD4ReFN3pykEsMfTkxS3HUIO7zTnszK0j4bTAiBgYEsEtOXznYt+yobLOc2ZrX9WLnxcR8mgv1OIg0OYbQ=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.1.0_1644010572032_0.08648981821525648"},"_hasShrinkwrap":true},"4.1.1":{"name":"sfpowerkit","version":"4.1.1","release":"February 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"^4.1.5","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.8.0","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^7.6.2","pino-pretty":"^7.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"53.6.0","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f0e449f8bee99a73b73f21733fa321b1515685d8","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.1.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-u7obmlcfVom2dQMEmUxbI/zyqwFSwBzHdJbEpq4ZF5RSCdRYRXpg8vJ8rW4TmwzluFfZYC3PD7QQhGKisVP0AQ==","shasum":"05b5476785697ca02d3e1e1bab49af4a02102452","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.1.1.tgz","fileCount":308,"unpackedSize":2786330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/ZzGCRA9TVsSAnZWagAAK3gP/20GM2HLWYpDaZtSF+0D\nbHsQ4OG50QiqEPTETC6QP1T0g9b/q59+Eloim0lbxiP3lLvc8nU92kYSIjAg\ncKBBvF0yvEdMGrzwYXVG+JRp2fQUlCaM/mvEjW8DmDg4qZ8PmewS1akUEH9M\n3Arf0C2ncAP9BzZOT8zY1F+ZDc7U6X0asvyPTnZgKv6m5dFRVx5cV1pcwj9u\n6ouCb76GGgVnjBs2CLoRfQ7g9GDn9H/BoVKX34AHVGX7VjQ7ElxR/S+/IHCR\nWA4RvCaX+b6n1DLua5CEQ2qbaq19CggUizig8LeMPnc31H1mHqt19QTX7y3K\nOloYEXjpd9Ae1kABS9aXdgGVN6iKU8tvm/o+erAbDcyZv19tsfGa18V5D5HN\np23AnOyVb7P7NhCHOSNPo2+qyODNiNxjH5dN9ctxiIMeGSDtRh7sWyyKcE8T\n1alIrsVJ6gPholquZx1MmCLS6/zOyaJpfpJPP8Lt252lkJHcKBMerj0sJsBD\n10L8ta2FLfWWWP1vIuPRJV4JI3a5gWElej42VU13gpFI3oqIVwqMn8XFbVax\nLxv1pPKRql9/+xvvsoTIdCWtvFWh40Y1xIf1GKX8sZyAafl63zsTamfYFci4\nLzjGC0CmeP0gtaQpYlekavdaBwDMu7wtc8VZ53Wu+jXCpl4a0VDnbFCnGrNZ\nl82x\r\n=+Zqd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8A2FxO3Rsjx13c7OVtqvAWTvKvXUnw5pqCzHD20AmPQIgCiHFp+VMTgEL8QCBMimbWhqukJCYSAz+9MijXgJWaP4="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.1.1_1644010694538_0.34639577479448413"},"_hasShrinkwrap":true},"4.1.2":{"name":"sfpowerkit","version":"4.1.2","release":"February 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^7.6.2","pino-pretty":"^7.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","salesforce-alm":"53.9.0","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5d5d5ca4ab1fe83110d31f9a4c7cf1413a929999","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.1.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-++1bwwuPnoD0u6c/0p4e29XV2jHzuZgqP2P2UZBlO+PLZtf5wQ0qjfmAGMysnKZPEPcEqhUpkXrPaQ+jhEGgkg==","shasum":"6b965fef8d18cf363bd0ccce25c699786951a2ed","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.1.2.tgz","fileCount":308,"unpackedSize":2784974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/anuCRA9TVsSAnZWagAABDAP+gN/COchDawNUZpZ+/Mg\nvbRrFoQUyWXWPOEl+FKhGDOT9acJxBDiEV8o3bOjhr4VS9+qeGoyBMbHYH68\nSy/lUqtHLeGN4/fn2ply5A7IE2LJ4Lkd1qZdOxwH4nGHouwqJKzfeV8k+l3r\ntjFHfDc/IS218YJVjmenVBcvvRGXvMKgTCxtk6MitT+6ktX6BHzCZuHvaUdI\nxvBvPoHkFkTSfN0DQvGuaxB/zpSN/XfibvoAdEYQfTMrOA4ttJoPw7sjCOEF\nVs5wp6uDSLEvFOOcTdqG8DutoW1qyoEM78YQS6QXmeFokbw/fFuSIl/r49xO\n81+s/by4K4uiLuDfdCp1Gq56TNvj9T6ExkDSJ0Eloe3eiQZnH9QZAbaO/NwT\nP77X9Oq3cagYdWl3WDrcNm6v9nM4mayVs2bRqV324ndPyVrDGGL4yP+EPezJ\nIMdIfYO3AJKBgR8T5semD3WNmhCz0yh+/xGPKPUCqH2y1ZzWbSV3W5irMdPb\nyIT/iP89n9GAUdy9fpJTADxYxy1ahLhsdSYwDVQ+iAx+Kj8IpwJOImbO/NPV\nAYgM8uFT3MSt5SdfFksxA2j688iM8QvCMqYihG+I9gUyBxycTL0PibXK59sJ\nWlqHlkXhUbqfByBrp96VX/90bJ0+ikKdJ2E7RVB+MUoDmWqpL1GzQgwnSmv8\nyCLh\r\n=zUyF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgxj+ZjYs5Mcfuf7/YJPARbMIh5Y8ZDLJ2Jn5rRYx/SgIgAs/ExbwtHoL3WW3TNob9OtuYi5AKgAPj8zYtWc3HKX0="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.1.2_1644014062257_0.9064794529370901"},"_hasShrinkwrap":true},"4.1.3":{"name":"sfpowerkit","version":"4.1.3","release":"February 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","pino":"^7.6.2","pino-pretty":"^7.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"f7e00031e3e41f67945fb296927dd47f97b30c80","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.1.3","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-ErRdoiWD2NrKQz5IhSoYsAfBg2UOKvXEumYZOPLlIL/nK54mi9pbKN5rhF53kcV5dUacQJQRowEQcylYCuewbg==","shasum":"816abd2b61ae92fda4507c49aac3cfa9f558cc5f","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.1.3.tgz","fileCount":292,"unpackedSize":2697211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAgntCRA9TVsSAnZWagAAGBYP/2nKIPI8SEMjnEjBC9P7\nJgMI1gICsD9Of5S1Cd4zgtJ2U5IkXWNSP/uWR25+3AQvmJcaWTPLJWpn56M3\nZ+fpsGgzy0TpszRzeOCEXpwPcGFQm08MowkgY0aD6f8uUMG2aJ62/QDY6ei9\nLQdfl8F0WCwkDvROEscp15ZJJi6LFR9G844Yk69ubG8vaoReVPOfIgfL1Hli\nmzvHv2j3gypejXNLQttd9GntYVvjcw+iNW5MDTIVkpTv+URKp0OekjLAzM1Y\nyLln1JfMh/JKW5t9EbKmpd0ZlDX17cmJ1+U7Qg7v7S8ySqDXOGGUT76/L/mT\nEDanixQNbuOkeNJNSAUC8oCa+SCVcl1zonH6iOLyRRxRoUtqszW7I+am7Z2l\nxqoAiA9lNgxojv9Hh0GUtOz1yDFCbXHQxylQj24d95kxz8h6D+55TQnoxEdh\nVii/AX6oFMy9yq0OEG/ttTjiLQIcV6CmJqURVAGhdU/qI3L5XhPhLpNdygyM\njiT+bW3Sedl7STk3JLqxiFz6hGXX7kQCzj28w8S8yv/7kJsEJBgtnYezzZ+A\nqanFZiLcFrJOKrbruAzXD216mJjAq1m0epC3+SUh5OEj7B02pigqLtGwYrTs\ny+WX+NHXPXOJxiBcoNl6C/jIk3OenfH3SAkw0Mbb9om3Mpw6Qw9vagNblHp8\nT+ud\r\n=3yim\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYTN5P34TXHZWPYs7PptVnjQyGOgumTHvjc4LPQWXdWAiBKu/mzG4U721dvn8NNPIYvnLTUad4vEzey4FCWlZ0tLA=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.1.3_1644300781569_0.25827240677388397"},"_hasShrinkwrap":true},"4.1.4":{"name":"sfpowerkit","version":"4.1.4","release":"February 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^7.6.2","pino-pretty":"^7.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"cc9b6b4bb3d3438df6cdd27d095b581815d101ee","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.1.4","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-82Ymn2apEx8LnZ9GQ4PLahoNYMcnTZh1wbdNPUvA4fQrYaokyxwllz/CFMD9HvJSWYFpim7+C+u80uxGDL+TJg==","shasum":"bb1d185fbaa0da9ca5851947b6f8db3782f4c079","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.1.4.tgz","fileCount":292,"unpackedSize":2699083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBDB6CRA9TVsSAnZWagAANcwQAKRV5RsbuFg+P9CRLeRO\nXKmiOgLJe10A+oSkt8AwPU9WN+WVYAzd4B1eOxju8yGYg8r9wcg7iNur/ww3\noGPT2FBSdEbzj3puEL7D5cxCYFbZRPizR5e2m6YgHDQ5sU/wlmj6RgrnNucQ\nBlmNb3+NeNQNM4lRh+pYf7AqOx3ff+5plHvFZJ+V2lXlWDA+H96zxEOZo5pa\nDY+RhzTQFYFe16jsG/FXwiDHgdtLAVodIacJBaOYJPzAbfpwuXYNrjJsI0uI\nx9rFrR1s74TuyZzep1yqMw2SfmubtIM5NP9EE3+JcYMMrm8neV4jRk1++Znp\n3jky9MRJHnCS+6yjIdjb+u6kYO9iyE0hxO9kl51ZOT9cFmFMz9HQ632NMKBz\n4Nj0b407z3P96ZXb4Dgp3W5QTtqUVx0xsY02g2K+N4/nL+F70rUUNzuD80/D\nFaxbjlxvQrRCAutwFBxHNOf6S1vz7fW9Q7609HTUIDckb73ynoMPWvvxsCLw\n7A/XwOk8LLBZQY7RuQ77FTjcxAH99ul5fwB/L1bImZC+nkK0M6WAYxofYPOq\nqoNgaS7iOY+9ZG7PUCNIdGfDhnttwl9gCB+XqAnlD8rN64kdmyYXKOq6WZQa\nzuQWQ9N2ywwuU/TLxRSpA9VQaS2SQ9zt6nmhqknYGPidz3ql643J7Jp6JLhk\nSi8q\r\n=RUhQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID0ASDK9mCH7MVHTEoeuDnPYz8XZHxSoSInKbsaPteyuAiAor/xrxz/dp7WvRLeChcfoY6JYScNseEnUl96pZvF5eQ=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.1.4_1644441722609_0.17304572192022127"},"_hasShrinkwrap":true},"4.1.5":{"name":"sfpowerkit","version":"4.1.5","release":"February 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","pino":"^7.6.2","pino-pretty":"^7.3.0","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"74d00a0d5a557072e3544bb605f5cadd8efce6de","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.1.5","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-zRQX/ZWFLBNUfE77S8c3qX+yfVuhdgXjSVN7/YI42TXjWBaqUOyFn+A+4zEn403nMqaG7WOgLxMPKFZWcWVwWA==","shasum":"58f2c0f6fdd9cec14dbbeb420ac0cc202ba573ff","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.1.5.tgz","fileCount":292,"unpackedSize":2699552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBZP0CRA9TVsSAnZWagAArBUQAIRhGyT3/dFDcv/8428/\nJRTPzGXOpYKrLvW5H30XxfiAoHOk2K6SoUHQMhZ9fPOb49LWrkhjnUd5awLH\n/vNVVvuJwhHIXL8rUAujQztzD+NF7C/iZfRGc0NFETF7eP8RIM+WhQp3qygn\n2LMuZ81Sunch7D5DQqX6oHKpwJKUgcIhghIr7NGYsWSdpbttd4rkMbDioxXl\nCfxkdapj2E3nGlBhxM5YhPxd4UA5WWTH4CP+VB3eP81KcGLG7rkmf5U91Uyg\nV3Tmq1Gbvv3xRVyLqHUQFihIDrmHKXyOYeXJWmlG4igbZlgBB1zbvaqsdTaZ\nUSWVTQvQbMjvOZeHsg+8dl8598VkcBUU6DG2d2MXgpJOr2hPTZqB1QVbgM9v\n9IAQ96Gsjiocf1p8hvKOhdmKLoq94vXMocavKI5hr72+v03Ni/1E8DlS/Y9S\n3/J4u1k0LhHgzN+IhoHI1bPf/qKwHx6+vPIyM1tLVYu2nrJMIpISp5sYCzF9\nZCeS/n0Big1AHwcBC7nJqfDaZsTnznPWvwMS4JkFoRsNAOF3DllIJwz7FkGm\nXxyyjgXeR2iSsSMiqtV53+R5fu1d8pWiF8sOec7arlXYNw5VO+SSmep9i7u1\nJWhG4AcSolhcIR8j8KNmgfmTCJoTSjTQDaWbtrDgctc+2izGcjwQBQIk76kk\nPgYW\r\n=/xPx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFSclsJnc00KUIzYxWdsFwpznFvYz+7vD6tnNpGybQIIAiEA9amJPIND66i7z31qcqWUaRb7pqDgZMjsyORL4nPwfuo="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.1.5_1644532724147_0.4314210228215254"},"_hasShrinkwrap":true},"4.2.0":{"name":"sfpowerkit","version":"4.2.0","release":"March 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"6bab08c5b60117d519e6fbad94cd86078323e10f","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-+jz7A3n0DErFa2paBoaL+QVH6IcETR4erQP5HxylP+/DcN4HICbL8OY5unDNv60ivov4Ws/DxkYMRP1hul96Rg==","shasum":"31310a9359edc16113b3e8530e04fcee61a8a635","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.0.tgz","fileCount":294,"unpackedSize":2696445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCcSOCRA9TVsSAnZWagAAcXMQAJ9mScRRQAbp+IbbxTO3\n75b0a52JqD6onz7Y0nEgVqPIHWe0ZYCyUOW/hMDz+w5OSrxZikXdlDXTbiuE\nSi2RdHCITBhIGjXkj3U0NfBCIpjeQbI68PvE5LEAl921/6tGsIIVTCQl7qz9\ndn7AFtWz3kMhHMnm/sfBx0UwTC4e/eLq2teQLqfx3nL8K7dgzZwsJc2f39Uh\ndC+nA50CHb2xKtzQcJLYY83yDnkB6OYnuoyXaNBTT31ng7aPCLAil1A3HOdk\nP3QK9SJMjDm7OJVdUTheVVZgMCNG3nChsc4+/LN4iKtKfJQ880g0N5MwuHek\nJjRht7P8f3tTH7NMVfHmWtE4seXpG+eXfLfeHcFHq7a5nLQ2bgYjytITGGmD\nkCbiZ3mm1SAg3gW3yWpl4BCGD9w/Pg29cCSSMiMm/8vGvrSIVUW+yMT0hmgG\ny7qWzCW8P9eAnTmI4hMd6b99hX+J6tfarXW/yzSMNX0x7EJhemGJjKerjcmN\n7FDC5RIBDGIQljWwKQmAb/9YcogWpgkwSM5zQMeOy7paENifanHoUI54p/2d\ntCB0iNLb64m1k0eoPReDGZxoLLGssr4UUir/FmWWvxXGlMDIvQdaoh5XnE+L\nHw4p2tHGEJvNUCS9QwklPS+PQBlrrg0ZGTeaRB81p+yTmWazE1NZ9W/w9YJp\n1jyk\r\n=bNIG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZJ2+gKuSW6UF1UPd9lELaC9k1LR78yfL6ND1gepOxWAIhAMg0YraAqtGMtULsmjOGEbT/IN6/xDbSr3U6ImcyhrOp"}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.0_1644807310377_0.2962834132416474"},"_hasShrinkwrap":true},"4.2.1":{"name":"sfpowerkit","version":"4.2.1","release":"March 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"2.38.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md"},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"de50fa02b3e7415ee6c141ce16e584f913ec640f","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.1","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-dDjKooq5NLUKLDbpnKFw0H08skQhgEeLBCmkuydsRlBAkBA0oL3R2o+5OLZMcUZxYHjiRP4yrWOrUqrufDdxqA==","shasum":"18d8fa0ac794407d52f81dd95be2613dd928e024","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.1.tgz","fileCount":294,"unpackedSize":2696628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDkPAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+sA/9HPGxHtYCseggA5+WSf3lW8acf7UJYvYPu7RScTKG2+vEInFd\r\nG6JExJg0nFHbd5Bnlxj4mpGnWNYMCbYPKjnZ1A/EasATtIwk4cLmnM6wTEzn\r\n175ZLDMUa0520m5UgcZYYp336inno3f+bqIC20CMCauvWPjGoD4W3f2ZpErB\r\n4MYUD0PO1EyhFosTtwXc3XBNZ9fu3Bhe0zIDUhRF1Qb53QqHc5CH/ztfG8lq\r\nVlbYzOumeGpStHwDe0O1n5SzcvfIoF6ic31GY5klom1BJNpyDHOkQXnKcA2V\r\nfXyAPS5qAWKa59e/pLrzBk3bnYkE2nzyBkPOSc5sSP0QzSgIIkKgMfqtzlxg\r\nUQGsj5RxSJZKhivBR4+GmvXKoIZQp9IEsxwjEpIDPWSdHJ1WILH4AaUs5MHR\r\nCBuCa90UjiXzjXQDbxOyFUxLxZ0kn1XQncEXLLb12aWJqtP9xwxsz9eGaK3L\r\ngsoMQeDkMMyugViNXyFLf8SsOBb0ds8fnyV7T6h/xqrI1oWOThEWHK2d98+3\r\nYqqlFo0tNF1u/hWkhEqOtFQ/64WdWrAUp9OBTqiFRncN5oOwb9u4tstlscJX\r\nuKApCs4ip3x2LBXB2con4LfeXtbZGENJ/QociBhoNRbsW9h4iZtpiGUQKJOo\r\nxufDpCwh2RsFqzx2Gj6Bia2aVc/WqUa4lo8=\r\n=TysP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFb6gnHSOU4h3hS4PEB9dS/0YKiv4li/p8dQhwn9O8a/AiBqG5Zp+KIfd3AtSm2JvDnjSF6SSTcCYTy7U/O2YAolUA=="}]},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.1_1645102016363_0.1807370375046764"},"_hasShrinkwrap":true},"4.2.4":{"name":"sfpowerkit","version":"4.2.4","release":"April 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.3.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"c797b8a12c22b8b3dc75960937cf992371abb403","readme":"# 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&branchName=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\n[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)\n\n<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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### `sfpowerkit:org:sandbox:info`\n\nGets the status of a sandbox\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:sandbox:info -n <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.4","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-TTsif99m6uT7gz1mKzzYMYRvLuAICPPxsvZ3ivsF71BQ2w/su8+exHGRk8ZagS+uS9oBr1h8g/iGXA022DPjzA==","shasum":"5086670222d98872013e0662ada32e4ffe336e29","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.4.tgz","fileCount":294,"unpackedSize":2851964,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUIfutt6IxI8haqPr3S90HALJT6C9vFahrtKVcyiTMsAiEA8B394rtJT1u79jigaRgp7OWNBHYN1zYSl1TtqshgiyA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTP+kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkPRAAiCLxbJxRS7blTkc3tmCY1CZLNwYXLbCM/QfRac0QAxENxt/5\r\nxara6+oxGsLpUCFum59GMqYoL3O50t3O8SWTr2dQOFxdbqBwaPS0mtar4owI\r\nzRh4kfu2KOL5ftsrI7dYzPFzs74ix5/1uoDlgIHXJKuBSu4oP9u6YwJrQ7ZA\r\n5egfzz+EYQBBtduoPOfLWscl9AiVu5kOPL7BizkgiC3OujJDoLvbLqhzAOC7\r\npyitll8ZQKBXdCEfjvT+Cj6q92WTDLSoG/X+INIsFKxt0eNazp0y8t2hj1bd\r\nMjI3tkMPSiI8o1hzwwxkIlDtPufaEL4HuLpcehluI+HKXddX5PiTsTXQXEs+\r\nTM90n7o5oYNNCODCPzb/LaF/r/+eTLZonmgHB7d/MFlUb0UCJ2x36VguQuDa\r\nm0aHOH1mZ55vsTjOV11f7vIXtYxCYiHQm7ToCuKTFS8LqMC7Pm5J2zEhIROp\r\nD8YsvV0nEIV+CwyNvmM+o65FLLK9Gs2hUDzR5AGoOZyOYA7z4LjBSWb7We24\r\nFV3r0zgYYRALFqo76xX8SA9p5bKVkgGB6IVaKDgVVraeF+XqBjv98iyHB9Fn\r\nj0g1/S/iIlflXwXTg0rJ6/4mkU7oEgv6Hpi6Uf8Ekp+knXz5GjNMIfFVMxet\r\nacpBMZzhs/hZIbU4I5iF1H/hq2g2dfEmICQ=\r\n=FaCy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.4_1649213347897_0.3372153090097363"},"_hasShrinkwrap":true},"4.2.5":{"name":"sfpowerkit","version":"4.2.5","release":"April 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"dc8a867a4d180dc8abe8f275c92bef5760fe18f1","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.5","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-3FEMLxssl444GYe9aFIvbtxE1b0sH8iEuk1ITZ5NgNXJ8mojLXyOl8v9/fHxSpTvYNYEMKH06ohkc05YjTklJQ==","shasum":"f927f300849a4d6698170deb6a3148da70578fe2","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.5.tgz","fileCount":294,"unpackedSize":2852134,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHW5/3nxEpYOxV5uVViA5YCfSVOV5fH+LiLcnvOrAGjQAiAG8eSPqu3yZ5t18c+UY7LyStVcx0MYn9kSbyAwRiRb8A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTlu8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOZBAAgEwX35x37Xh4DLh6LsaJOqcae8ePzjG83ROYpQieKB8Lut5L\r\ntXZX7vtkcDbhixbV4Tv8bEWawU+43dZA5d0CdGK/6cSQMEy1sFAcuPQ5q52T\r\nVnu2lyEjNo5WeBXsqabIrncvG/gp1Q446DGRjMrIRLBtB3OMvdyjVmHcML3g\r\nWfKBlqEZGOobskgqTCvk/erTsjbmt8EKcfMEdA/Xde/hZxkthzi4LOLbl2vd\r\nIKC522OAeGPKH+NZYpHFIdQ6t0kk56pveaz5taPVqmVThGCgRETvktaOtkT7\r\ncQ1Dl40cILxFq2nRRPkuF6xTs2ont7IkKpxlDtq9fnb07L+CBkOUleMd0g37\r\nJgrQZGf6kK5DLUh7sRP/hS7Fu1ZW2ZQfofMvPjXWm5xqZBquFPSPizNbosFa\r\nWakZeHl2HbyvRkMyqGTV3DaDtNDIfmQSMV49eZNcbSZ5f/sdXb+2nBtLQNLM\r\nIbTSBg20owPPQI6vRJUL00tiOPpbLUng6w8jcEw6hPi3Cn2LR6Ccy4YVjYFK\r\nCcyq4kfUwdWWRnqvttSn3LyfvByhbu4uSA5FatQnvJT68eo3StByC/A3WDel\r\nxsxoUdpQ2S3EtcGdFQJqVGqqbu6cXIei1wzwfCTbg1O2m7KtIdADQQNuvCh9\r\nYiOmy2BZ1hZ46hNZVJbtayeIDFpXyLZwedY=\r\n=K5Wf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.5_1649302460339_0.07298735998277195"},"_hasShrinkwrap":true},"4.2.6":{"name":"sfpowerkit","version":"4.2.6","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"a149212d20fb6e9d29d55417e3302bbfef79b24c","readme":"# 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&branchName=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<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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 <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.6","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-sE5kkw3jvnzTLge7OUBUg/pffTeF6tJQfAS/hVMSp22aL1Gq1X+KNyYXAHQ9SB/1CE6/xakPMm1tTPZZ7RE4xw==","shasum":"1b8dc94ae4ea5d7b56cca1573a42fec1fa34a4c7","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.6.tgz","fileCount":294,"unpackedSize":2854279,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf8AoO2WdEsoT4n3/StIy6Cj4qlOIe3qwX6/tarPdOhQIgHxbFvp/BSDMAFoMGV1Ln6v9uCJJBtF1KDJAco2Bh8fM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJib0OOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMrg/+Mg+K+tjgdcJtJM8q2BIx5zpgHVaRFferN8AS5cjqfmoDN2DF\r\nvWMsRM5FMtX6w/mSvaAsRRqvss504BjU/iJpVC3KrZaa/8l8iKHExc51WUg4\r\n36j4Cv2lcbBXthyoDMzf6+NluwQzqbjaewhL/s3G91v0/cIeTHXnfZN4X4d/\r\npk8+KWQgoo6R7EMf06MwqaVwAOqUskw04FBmMYxie8t7VEFD9FcUyavmRcci\r\nvafBC+xbD6FLFNUYT4NBtTFZXHWjoNXfYl/miYX/bNSDyJMN9O/S7GhaXwMf\r\nI8qjBkWuH8XLP1Ukr/PcCh4JxgaLCM2R5yJwgiaU5wHRNkCxhCGLVXZi7JE+\r\naTIOczMqco2/57ncXSKxsh6jIbIuhGPGwy/IUwS0d3vPjmSGK6WvMMGRZzfe\r\n9Y1IXPTsUxM8wgLSqNZS6mPEyedLWWhkqBdZtUZUm1uUYPKsgzaXtpa8C8l2\r\n/v79IZYBoHk7xEC1v/DgH+o1dfPaQDuPFCaZLlSz+463RaSzi1CRG63Ug3bs\r\nIQjg7tKwGq2dINfzPR021tugErsv/cwLCO8stWsjADpHy1UKCkItE06rGZUD\r\nVHB9OvDDD5F+l1F/rKyoZ65gcEY9Vu/7jpf/+v3+Zjr52nSQ/sMDq8IyE5as\r\nTYjlIZIrRc8v9TbAiqOGiv7aQgYfyVO1+4I=\r\n=uMPe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.6_1651458958085_0.3698445797832295"},"_hasShrinkwrap":true},"4.2.7":{"name":"sfpowerkit","version":"4.2.7","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"5ffd7ad32229c9dc01d21ca9dfb5c8f63902d87d","readme":"# 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&branchName=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<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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 <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.7","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-ZE8Yt5KflUQIdvsPMm8Cn3kb4whQDDYk5KykPxRsO+Ckcou5FToTyfp69451DKGlWhkEuUF59q8zlDNpt1ifgQ==","shasum":"5a5d6dce8f82bf3ed24b5ff8225a2cf67a7ad584","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.7.tgz","fileCount":294,"unpackedSize":2855758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHztWH6Tk1LEoXan8Z2mcnJz4kRphGzdQSCmdYsj84kaAiAaqy+jYF9zMyr8JE8L+eASuHNopnb6YVQ+U+Z9dlToHQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigON5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr18g//TxHfGjnMyzR3HRQBnS8VpWblqstsKsO+c25wJ/QQ8DhJYprx\r\nfUbxKGOwd0YrXvTbmoAgoo/hCz2Gsrot2OI+vhsnlZBR9Aaks0xK1/0NAb70\r\nZ7cwBb+atlRLqhmTFhgclRkFfl8h4Bpg9reu+bsqoFH2qgvY03+eL1fDWO7A\r\nEZY1Oqau+VmeYtj+v07O5n4ofpp8yk2FICIi46bbRWo+O09iZsdO3k25camd\r\n5WSor3MBiwim9VbUdUgv8f3LZGAamZXSkjA0IOZ7ChDMsXG/WWRURg6zXjBQ\r\ngHNffplsUfCf5my9tEKAgm+mIkgXrID9/p5BN+OGf+M92mm0uy9120NRr+ax\r\nvalj+SxP1ugQJRre5yh3pU3125ySWD21/4f5D1Oo7c2ntg2y23eaLVVJjmI5\r\nG53F/eo3L4QSLxjjhe1mIdVAMraxb2xu9IxYMgoZXlD3H4ck+Y6uiD8KlATc\r\ntocOVSaub2en9iCjc6brtQlEh3iHBvXthN7Mm8qXndHqUL6NbV14IkoNsLuZ\r\nX9pkBTZsaUZ6IaFdE49vlwj4m2dskL6aWl9yaw84/tEHNNTErzwYD09DtOOQ\r\nuHhYXCXjNUTGEpSs2GEHdyUQ9IGesUMTS2MGk4oNy1R0MzAs0s0G5U71D6ds\r\nfJzosqK6eJbjB/Cs+YW2uxCIfa/O19+oCXQ=\r\n=DBol\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.7_1652614009043_0.2753231250270094"},"_hasShrinkwrap":true},"4.2.8":{"name":"sfpowerkit","version":"4.2.8","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"gitHead":"918f3f9f4b0791e96ea7863a6b963639345b2c0e","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.8","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-XG+sQZ4rEgl2fp2jrGLS637E/TjaLYZGgfPu+cY/Uee7LWKGQYREnJD6gBE2u4lv0HHR03w5OMK9qWi0MI97aQ==","shasum":"b5be0f7f6f568568b62945f5d1200af0e5d2f725","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.8.tgz","fileCount":294,"unpackedSize":2857649,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIxXZwNYn6braBTd6vRInhTyDeKIpTj+xxzCNpdw8JFwIgQLWWCB9WbZLPAiCSms/06GCmskbZ2MaqEW0017JYNFQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigYjhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo82A/+MSeUv76SD9wEjUe42ChEnyr+12tH5pMzTavTuPURDqyzwGib\r\nPR5dLjIm9pkfhUmDbmEmdDpyiNqu6R/3hKqjO4qT8IvqzPoBJum7jdWMCE27\r\n6+WgudSzHzgYoUIAqDTBnB3iyS81bz9/hy6r398n6Ms7CGj4PQ8p/MaSkF0y\r\nMIXsFTVLyE8k9WWAS7snnniacmVYJvsuWpO28Zor1nlW/k+gqRYT/Q7rR33T\r\nLTH/755MFLPZQ0w4RZsEK50i+r8gKk0eFQDSAmPdzOZ8TI/tR+QNphF+hnT9\r\no+DeDloqKH5gZXYX30P6i77s/dLrRHT8E4Va4e+M/j6ID733OUTWbpiakIl4\r\nFGc8od98GWszPe0Tm5uQ01c/JGphtelA1aJQx1v0MH95mA9nmSSVSXIlGphq\r\nJuwxxLRM/4I+yIN8ELOGX90r1rh99YMFpMadsYVtMm5a5Mdg2LdP9I9uIBBI\r\norlCmMdhGNr7xfDCM0wR9fhWsqdmqAeTQyEzbAiOzuqX9R3tVDAdmSvbnWcr\r\ny+Wxhpql/tB1Y85Hshiyhv1QfZy683EvLRPvpj6brxY3X56Du8M87KcLPtAC\r\n1Pja1nUUCIBz2ge+s7irLIIWfuDGdGrrQ1y8cQzOUXnZK+98QjKFle8+X/w+\r\nuBjLB5Z25Cuf9ibWhKwsISy0hKHKeHl87NY=\r\n=YzSG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.8_1652656353590_0.8519925586386197"},"_hasShrinkwrap":true},"4.2.9":{"name":"sfpowerkit","version":"4.2.9","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","readme":"# 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&branchName=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<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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:destruct`](#sfpowerkitorgdestruct)\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:manifest:build`](#sfpowerkitorgmanifestbuild)\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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\" -r -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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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. Use sfpowerkit org: manifest:build or similar to generate manifests\n\n```\nUSAGE\n  $ sfdx sfpowerkit:project:manifest:diff -s <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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:destruct`\n\nThis is a helper command to ease the deployment of destructiveChanges.xml. The command will create the empty package.xml and package the passed destructive manifest and deploy it to the org\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:destruct -m <filepath>  [-u <string>] [--apiversion  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal]\n\nOPTIONS\n  -m, --manifest                                 (required) The path to xml containing the members that need to be destroyed. Instructions \n                                                 [here](https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/daas_destructive_changes.htm)\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: info] logging level for this command invocation\n\nEXAMPLE\n  $ sfdx sfpowerkit:org:destruct -u myOrg@example.com -m destructiveChanges.xml\n\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\destruct.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/destruct.ts)_\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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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:manifest:build`\n\nGenerate a complete manifest of all the metadata from the specified org. Once the manifest is generated use source:retrieve or mdapi:retrieve to retrieve the metadata.\n\n```\nUSAGE\n  $ sfdx sfpowerkit:org:manifest:build [-q <string>] [-e <string>] [-i <string>] [-x] [-c] [-o <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel\n  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]\n\nOPTIONS\n  -c, --includechilds                                                               Set to true to include child Metadata in the generated package.xml.\n\n  -e, --excludefilter=excludefilter                                                 comma separated values of metadata type, member or file names to be excluded while building\n                                                                                    the manifest\n\n  -i, --includefilter=includefilter                                                 comma separated values of metadata type, member or file names to be included while building\n                                                                                    the manifest\n\n  -o, --outputfile=outputfile                                                       The output path where the manifest file will be created\n\n  -q, --quickfilter=quickfilter                                                     [deprecated] comma separated values of metadata type, member or file names to be excluded\n                                                                                    while building the manifest\n\n  -u, --targetusername=targetusername                                               username or alias for the target org; overrides default target org\n\n  -x, --excludemanaged                                                              exclude managed packages components from the manifest\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:org:manifest:build --targetusername myOrg@example.com -o package.xml\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass,CustomObject,Report'\n  $ sfdx sfpowerkit:org:manifest:build --targetusername myOrg@example.com -o package.xml -q 'ApexClass:sampleclass,CustomObject:Account'\n```\n\n_See code: [src\\commands\\sfpowerkit\\org\\manifest\\build.ts](https://github.com/Accenture/sfpowerkit/blob/main/src/commands/sfpowerkit/org/manifest/build.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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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 <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","gitHead":"4a3444ee0fe7e3851061aef1e5713015b67d92d7","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.9","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Izg3BgCcj01Lg/saCd9SoUMlLgUq4NhcDKBCt14nFUbTUst1Lrd58beUjJKaHIXz2x3Bl1zr0DcImO/w07bVOg==","shasum":"4bc6661cdd6dc9e2528280ca5d06f28973c5ef9e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.9.tgz","fileCount":294,"unpackedSize":3255178,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2R/6zXzvLymdwwNsEJx7PrOebvTyUqLeUAyT9o5gSawIgPZnapM7WEt+5m1flQXz6R99yNjfZLIZc043tKa3QF6I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw9eHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBjBAAnOlJ3TpbBIrS09J5GzsKwIVYDoNizoM0RR3AR/lPYyQHbgPj\r\npXMmtJxS8Vzlkb9IJiyO88fql+wGuzNreniN572wCa35xr6uOC1Gn293V8OB\r\ngo0wxEjXPpN5MULKaGRE+x8ybS4hoctJOfw53drz7Boi476tzm4F5PBfRPp3\r\noXQlCPlHQI5Md3E9F0J07UCIEBjPOXh2lYOYdrkwmt9O6rwTa89apprZ7aNa\r\n3NcKk5zptq+1m70iwN+t2LqxmN2sUH9rGjagMoO/tgQqdJXqJIDB78aUlR3P\r\nl0fV13UxdV0EogBJoWXXW12J6jhWhNKs7ZPB7fJO/A6PIlh2kYTOrvxgHaj+\r\nYrhz7m1JL6ZnZSkHzVaXTHsCi72kHzgNRDcCyhOL1eKofkl4uuW56gEVgFyu\r\nBvOotkp3ycece27LHDlJRspHzAD+LOnWKFhIvB0cuZKIDQXxw/p9nhF7ebK0\r\nct8MeDvtO/I9EJ59wvvkJvqg/Frc3kGXV0nuzFuXHmDOUkFBoyOPyvSOaKj7\r\nX8vAQ6UH2N5R9xZRyTOnWNkPvXqYUoinowk5JXWXHh0d5FJqxotJftrOLUyt\r\nCmw058a22kk5Mejqoxvg49kwZXnqF58PogONHpPHBNL3affYp+VHwA6xW+tG\r\nYIM9TEojyJOADpKU4VPqTyGuJvs+yI6UYNg=\r\n=AjFj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.9_1657001863310_0.05931057761590841"},"_hasShrinkwrap":true},"4.2.10":{"name":"sfpowerkit","version":"4.2.10","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"5a5a745489aa4956430c4a638a49efe0f7a43cbd","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.10","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-h86+MJByRHZMEewDbWgkjHzeFJFmtEsOBhmE4ZnhfU5IQMrjpytXPJrIp7+ZIilQ2bgQ7VRQFLqZoiREo9dg7g==","shasum":"b71eb4e91f6a228dca620602f830411a66d47935","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.10.tgz","fileCount":294,"unpackedSize":3255182,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbZhOGHaqLWdNt7qayd5pz9bVXsRgjlSe2cnne2XJ0CQIhAM4lZ5VBCspujfdODaN4WyloFL9Ls9lYoOAq+s6WyFnv"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix+R3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/XA/+JZwtnSckXnmzPLeWU45T+hgAfidBgbVxonQ/v2E9/1hTN26K\r\nWF2Z2obJaTmTRCsywCDk21wmW6hL8JvuEuNJ/oB2BkOP7hIlIKwoshqAaM7D\r\nZXdBVXsa+dKgaV3WSHXDisEiyHMTU1DhnxKaFYAgxV3D0TYyz2nDjNG/EcWV\r\nPl98AHku+hzUBfTvC6GsHZdqF/LBW3zMABjunRahS2FBeFkhlZtnrxKztl7H\r\n1OX/uArSSydrTUM437T7i09J09r8dLojB3mbwY8zOQeKL3DLX6mpgGLFO7y4\r\nS+tSJQa4pIs7Bndj47e0oWaeqqcbrkNqCujckzUZDOlYAvM32HBjT7NLLmyR\r\nmTMoEU6XGfie6s54oTRFZi0Vet5c/GLUxhX33SizEKHtejCxHtxRQQQU6fqX\r\nqiL04BPE8m1T6wH7JKhWZgehQSTQmmsMmpx+72gjCQLikOGb3EXFKxrI6a+u\r\nuGM1rsTxPZaY1O+Oxh9w29iy0KHrgwEXn9QCPw+ZZF57pyE/M9Zv6Bd6iYdM\r\n/Mmp1CmLZFV0QOPRuIW41nZJHPnCR1aNHF3GZu3nxwpWFKj5zbm1xux8sA/s\r\ndhiSM4gp4s8yc57uj428WWWWgOWFQBXG52SLbrw4RrTx264j+vkJpYRGpCKp\r\nSmZFl6e64B4FwdoD+L6KYO471tZpNB5cers=\r\n=ryGS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.10_1657267318625_0.7604340212418312"},"_hasShrinkwrap":true},"4.2.11":{"name":"sfpowerkit","version":"4.2.11","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"^9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"^14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"^4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"fce888bcdf5992d5e0dde9b64c7aef40d02b0c45","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.11","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-KBFWhcqsqqUVLBZFJHS/QeoZOfFl4o9Z9vRO8p0Q7FJv8WLBFON8kcIXuLz6Q8hYlbqqt15kxr+6k/QJdT/mzQ==","shasum":"11b34516def1799cff571b56cc485793731707d6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.11.tgz","fileCount":294,"unpackedSize":3257342,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD83aoiAi5h/YDqUvPM0MY4sc/rFajs6CK/xNKEUijDfwIhALUUqIEaOtl/VeeMyMCsbtgAXCVw8VYhkZJrq4RDyfFE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy85XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrahA/+IjhJJ76g9aDyEnlPjxZ//pSIj1ELPiWqmhaaV33MTsupI5AD\r\n6AH7E6gPyG/0s2U17Tnx5aTFCP0SvpN5WQ5FbQSw8Yi+K/nIjpfDUXfWNWGq\r\nML36LYNoJapOMYwu1DBo3zr3+zJcS9EdETYFCWBdqKAX5LSYCeOC/t9qKxnq\r\nXPastj5C6J9AljH6hmlTfkj/U36heaIyBx0jjjkST1XFavs73wiRyvzumjRH\r\njc5dAYZAAqQSqcJjuaer/erihTo5eDdERaBWEKAmgZI0N7L487lsa4lMR7w9\r\nBkyKJccuaYM9rGQLssZ5HhwJzzfIP575TfGfFVV9RL/pCs01O5vlCNs4d2ut\r\n8cMHddEQMiiMlZ4IE4IlFF2LPfTI4TM+YXeQgxhEz2o2UyCfpvYMCxHvR/xS\r\n1IfOvhlR1+Ie5iqxC67en4Iwfc81DOqvyr7UVpp+1yEBeYIuSQR5ImoXOIjM\r\nfrtJTnLf0z5lFMKB+zV1n4uBfWzPsW3cs+goQVH5Yj48Ln8u45sd18FQBmND\r\nzuu4gL6+LJ6MbMMqf8EBptM7zBAyRfwqzTaYEL2h+weOByrdAtmWtICssPcR\r\nbpJA6ZrBslc//hzCicpUGqbnKiMm5VpsvCjRaicr0dakBQws+8jPZ/dNKqF7\r\nAcJw33bqbcHxfkhqAfXAEFs2PPvDf8PqAik=\r\n=syev\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.11_1657523799275_0.7489348701645613"},"_hasShrinkwrap":true},"4.2.12":{"name":"sfpowerkit","version":"4.2.12","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"3fe6fe3656c49ff4525143241c62af11dd377226","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.12","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Kxyi83859FEwQw67A1d8KK0rIqcLtshErJBn6tNLqwIBy/OKlhK/aW/hC2hwYiMUokM7w4uELe/fm0WQajnPnQ==","shasum":"90f215ddd49d1a376a93982eedddb71b1ef13c7a","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.12.tgz","fileCount":294,"unpackedSize":3247338,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsh9bVs35L5RDlVBwpCugzIKw4t0IvVbz4FhG9xVN2bAiBfDsWYZfZH5pdsk8O8uPAASxVFz+j9PIraC6sGx2Nr6A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8IZhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrG5w/7B9kXBZS9RGNZi9ny5JbbEWcyPGR8MSgMmYX1eks/yUZdSG9t\r\nnsurnHLkHrS9ODvqIb9B/RaVJUnYmAvlDK/Z+U825AyWdEZlqRuvlqOgu+d/\r\nkERmlM1/abMLbxFDX/HGStJhmfppNwg5RgOpuRLrpTdD8r2hvEBR+GISeAVN\r\nE+qSAhWguhh0ZKVe6WCAo4EqP1qgae/E26BOGH5qS8wGi5WA3xvcGzRzVQMw\r\nQRMiLVbKZLOT7eJajq3P6pNFObml5T5JkC7q96C2ekYisHR6OJPATMRowI6E\r\n36igsiSf7jWRb+2jk0Xl9wKf2D20igul5zNefN+Sz9C1sAhIm+1yutk5Px0s\r\nHCc1rg9+MzNn2WML4Cqgg4pKNyGvN0MLJ8WztSSEmHq/dtuoAdQz3hJ3AETL\r\nzMWaVpmPTWq8lkCwYb1xb/t7R0+Gqv1caRqANm7Hil1zyT3A/60J04yALXkF\r\nEzINmarHmIZu7Euiuxh7gCHVuDmivovh6GaVXTTOW/EXFDkEsa+yStrG+gJ9\r\n67nixPb1ty8dVIxpICxGi3be5kHD4P1MTRKSrvkNJvTNKdYjpfscKWo4TJVp\r\n0OuwSK/rqm5Q0upeQRXrdIJ2qPpeHrBeMrGmKnEIpQ4USNNlTFGhkWd8vNGL\r\n6qUgadGQq925VlhKm41f/ib+8pdXNZgT8iI=\r\n=FJMH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.12_1659930208885_0.7037149318886013"},"_hasShrinkwrap":true},"4.2.13":{"name":"sfpowerkit","version":"4.2.13","release":"May 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"f0f7ee544c13fb1de95187b8aabc66f928d71547","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@4.2.13","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-mWs5uxhDnY803qSrGrsSzGmuc+0k9HtXZErDVbxXlUA46pE5wyosC0trpl6l47GFarcCqePpsn/lyHbgbBcuCw==","shasum":"0954cab8bc257374c929c961f2058171995e4b0e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-4.2.13.tgz","fileCount":294,"unpackedSize":3249498,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVO+u7rzUx/6lapmqdoe2Lqo3pDuGmzlJHM8IwJIM0hAiB1HA+5JjJEJ38j+Rf95JQUcLbjCLFn1t8bZlC9EpbaCA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9Eq4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWnw/9FPmL84AKY3UIFlQlxPV81wabg0dOtPLurvwF5+wn9KmpYwIq\r\nr78yLhfWUYdXGgWNcsURdhfOUkzQslD9PDssMxU2+E4C21g25e2Zpt/vzxAN\r\n4HdAoPmTbbj5UtkRBL/54c2Dbz1y5GLcqSB7V5cbAzKbHHhHYgkZnCq+suY2\r\nTYZ0Ly4ySxB4bciOXaI4M0BVWtpT0PY9jzIoRWZ76xo1UJOE2oXWpQYaZa7Y\r\ne95FWlXGlLfyLMXZ4OHJJwr3YKG7e1PyBpfTSTxhVVVomU22JnW1+R6TLAEZ\r\ni7pH5H3DWAvZueXkhPOn9MoBD5qXGNEdE/poxU9OqXaAb8hjOsDIv1kyrhZ/\r\nSPW3+zC3sKiJv3KnaskFYhT5x/zIM5cpTX2B872v8NeF4rUAc6WQHeOIvBBd\r\nMz8YDna0Q68wbSioHNmNUA/bHUfoaprYAJG3rYG3WhxO8B1M++/jL4GFpwXo\r\n9IFac9KZlz8nyNi0c7RtHpqm2iz0hWO7an5XEYXoTBf/qdxmqtF3TUtywI6n\r\nLpFVMBC6JMCU9e/bAcfrIqHqo6JbkHgZpf9A59tbCruTjoxte4IQ0cVzcA91\r\nziYm7FkSK/dPMr1XsQ3Ta8G0JdD1YGk9KHPOxdD7z1fe+SxEeyrK0saWqrBE\r\nW3ptTBlYilPSvb9E0vRU7Bp5W1k6iDX+UBg=\r\n=duIx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_4.2.13_1660177080459_0.03706714336907391"},"_hasShrinkwrap":true},"5.0.0":{"name":"sfpowerkit","version":"5.0.0","release":"August 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@dxatscale/sfp-logger":"^1.0.2","@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"c320d766fae46dec32dd7f6836efbe07435ebb02","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@5.0.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-X3AOmqgjCiXZdBKHRiqEQUHfvqkyW3tBishOo1D7eVe54OmiEqlxRMxhKYTGW9EjVQ0UKjl5vVYhOj2hDVt51w==","shasum":"28322d9c686740710a97b5c120c8775650c6b118","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-5.0.0.tgz","fileCount":290,"unpackedSize":3255436,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDcpstrShKaQ58xeW2KUCyG0VEmt/vr6MMg5DT2bi1nHAiEAgElxHeU+BgjRnbJ0DHoEhljEFbhsrQqLLlN+Ah5n28o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDcD0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjPg/9GzQnthkg5IVtEcqAnb5xtttiwvLcFL1vxgOqWsRmG99pER8a\r\nD1acYqemJwHHanpK7spHWBnrBFJaOFc+6jffB2V3P2NRR1G1T6Bl523syau8\r\nhYZFOMQftMEyHiryYL/aVznbh7FTAFS0XuKknSJFuFWOTJoTOSF5ZylVm+Df\r\njXLTw+fjn1tMTMINQKbCBkm06ZcTImnKDxYRYmux3Aj4fChwFSW42eyFn4DP\r\nNUBKhUSq0OvBoiKe78oaDBpvfbryCdFeCSISpEEwQCnM3LUTDn26H2rSp3N9\r\nUiIMiLCd+QezvVJe/uan2v5uJJXWmd2CG2MeZFhcbL6acfPqwcfHaAPxvXYE\r\nTZZPWTKzyW+lfkmW6KqItPArEe52yZKzCeHfqS58GxVLEKFCQ6uxEYv4+35O\r\nWXfoNhfPSCemiaJ8G05y/uhBbpxehbfe97kSAye1/ycDPAQiW9XrcWDhLyQm\r\nhr8ONcrChRyibTP1m5yCI0vvPf2vA1msaSRigLIJiPrcZE1vtyS9UTI78fgg\r\npD2L9xGhpfFWpXt1yiykqgLcScd8B/NBdhXkHsaSOSgRv6E3l4cEJBRdHM9M\r\niC66WRhSIeZkSu3NFtEXe1lQZEWDq4t7nom/IE4xdU1EWV9wmTxpz0i/LsLo\r\nJxpElQW94c/rVP54F2hdTVLUCMFLWqHii40=\r\n=oelE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_5.0.0_1661845748214_0.6064480745314176"},"_hasShrinkwrap":true},"6.0.0":{"name":"sfpowerkit","version":"6.0.0","release":"September 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@dxatscale/sfp-logger":"^1.0.2","@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"24e16df40549ee9dd870d876e0866b1e1f1408a7","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@6.0.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-eBO7PNzVCcqBCaRAEInNg3kkouQ16xKKvUCgpgKS/b62bDO6RUzErJNkq7kHAl1WNRtb9PZEryLpSzDtyjRcfw==","shasum":"d26afb23deb45a860033ca0974b837477d328ae6","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-6.0.0.tgz","fileCount":288,"unpackedSize":3241702,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwxAfpfD6rPuSJZG0h/h10/JdDdZ5aBtplytrmiIjmqAiAUlxa+4QKa9AASU92MpRqpXqOVJq3BUqjckGDLSjOI0A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNTskACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLDg//dSQuLxgAsj3OWTjtGqv2pgstcmWtSUOCPD/4pRM70YQAFV/W\r\n7vKhLZC7zoPKhxzCyWw0E3kmHamof/eUplUlvHIg/OwxYa7wU988Mogclawz\r\nwdCV5DDHfBmtBP1VL2fa6YUNz7vW5YqmVSz3PwT9GXOfLgBh2M0KxKv6atXI\r\n2kwoTstteMOhvxDGEaMG98jMWM3S1w+gdD+XqPKn7P1pa3e5qXsI69qe1meM\r\nKJJlt9fI5mGJMbFHDPSTcT2DkakXj2HGY7DNztPqsWuzo7MNqypAWZycYLrf\r\nbwdsN6GSbpW7ypnY777HJ4wlE8MeLHRLyVG55NoRzv8Pmkm72eYtCiDqdcO2\r\nDfDl3NHdXrDIcGWcQcpkyVhfiJxVc96DF6aoeaXqyZjofNEuC7NyEV0iHRZq\r\nxDFcTxXpGNLsrmyPCPujtSDAcuY0mbc+Sm6dfuZq/QSdzfxuafuCNxu2dyv9\r\nsKtx3jpkaozJdb9fPVI44/lAKImuRR/caQ5+9BK36XgBDAdwV1NXItaHEkE5\r\nC0t0DTuy91HYXos3mgeguGJTyqZUt/mQ0M/nXtycI9MC95gUcfudq4JqXpDz\r\nAnz2pUDICoJEIZ2KVs2UiIjkfBsAOS5BWb+wqVS5ucZopLcVHDPG4ddvOVaT\r\noevBAttCY3Hq2Ma7FI+r1VKC6yUQGRyu0S0=\r\n=EmMJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_6.0.0_1664432931979_0.3419257680886816"},"_hasShrinkwrap":true},"6.0.1":{"name":"sfpowerkit","version":"6.0.1","release":"November 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@dxatscale/sfp-logger":"^1.0.2","@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"be6df50ffef0e39121dc35f8328f00fca4b7b534","description":"A Salesforce DX Plugin with multiple functionalities aimed at improving development and operational workflows","_id":"sfpowerkit@6.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-aiLkWQ+ca2tf0GRDDkFkPpGUE9ikTs/T/3PyY6fMzbmMT2UDZAvVHPzOSdjrsOEknvFi163dvHN4yqOYGGPa2Q==","shasum":"3961e50881c2831bd04ef3991ff001f8c87f28cb","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-6.0.1.tgz","fileCount":288,"unpackedSize":3258475,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/7SsL4noOUU9cq6xarkpSjjSxb7Tpiy9fQ+qzE2yX9AiAp5hIBdfKHo9GKtkDhAjkoLMGjcEhSVCPECkAwP4/26w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjWCnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoniw/5AGAGv8GZLiXyuE8nGTc8Ksuu+Eky/rlFaztM53wN3f89oaek\r\nHK/4EOqFKNv0g0AyixV/B7jjn6bvBfRqJ8KM7e0UhgChYir6lWhwWZ8vympK\r\npeZcvsdUsd35X3xZ2UZyHduN31IyMtsZ7d2jq1VF2Y45Q89hUCQLvw6IZkhE\r\nGlhIfUuCYYq8BS1lu1ErtzhgjnZQrzxFOWNYPSuH2vEWPF1FslRViAmHs/mT\r\nh0lk58ny7b+jGC0kFG5Lu1bRoPy22pSGiukWmsOAV0KdfnRUv8Qyh4vVobWr\r\nKIYseHJzguwax729+eW7F5czKZ2A5LFb9DUi1oP1W8qNOnhgBuiZD7+aq5Oe\r\nF0Y+J+FaVgfzxiClvIsrAvdN3yecO06GjaYnTbOGZA9whVJT5/kS1Z+4xdmf\r\n873VCn6pj5D6sj8r7MTPsoGQP0e5U5uWTeGLahGOtWIpVL8cW4jwH3N3ih95\r\nUVzKPpdyj/gNLnfHMMNheckCpRwc2iN9e9VwPN0kCY5sT8QZz9p+zf1CveZl\r\n5LowgMslmy6P5q4GNUXROfVOQCUh4C3YcbXmXY6ieTRmAmKvyqZ+2mqJnf5G\r\nAfso6dCLE1n+fVU9xxOSGdBA0m9B8qmFkwy0C2+U+gsHWt9PY5tchboBSASw\r\nYDUKbwdCZIat7H9ijFfgNlUQViQKcjvCBXo=\r\n=l/0K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_6.0.1_1670209703545_0.4580975561108269"},"_hasShrinkwrap":true},"6.1.0":{"name":"sfpowerkit","version":"6.1.0","release":"November 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@dxatscale/sfp-logger":"^1.0.2","@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"^7.5.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","gitHead":"1be34c18b565c96e6624ba7d79e818a1629b43cd","description":"This 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","_id":"sfpowerkit@6.1.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-WhaqkZ1vCd2PIGIrsm+wwPS48nmLDR8bkwqqHyAYunVznsyLoLUgX+R1BpQVoMreVJYGgGRXFsN95tquKoz5qQ==","shasum":"9c135735243c74e580e21ba1e2f376e6b284da5e","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-6.1.0.tgz","fileCount":288,"unpackedSize":3263117,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHrFW+9t0Ir50wjZrZ1FzfVFLMIXlECdr44QbNEuZi+AiEA7wZAowlUPkWqB1gCxqD70UG2FR4i0202UPVjvToajxk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj102wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqelQ/9E1D92/yZUyrihX2Gh9hYbEmqvdCnOmYbvbkB3eflciNmrn0X\r\nfipRfBoaXNVMY8HuHHzam0PeRunAXDq5E2huJQ2jy8iaOStU05PXE4OJsNxq\r\n/NAc6a2kmCeDLZx+uwUTzJOUTD5WHHTPyasfdCTFK2qgIAspOut/iBl1kaOX\r\nrUIHYKnNcXEGsl2Feqsd40u5EuUaz5b8JSbhmeLSp1g+GXY5WbMidez/mpEy\r\nbEhKECoIeW65NTGga8NWKumbfxogRm7JXgZrY0crLDv9Ygy/yt8ctVJkqXeM\r\n/FGy4UEH97KnPE7DsEiTGLWQyzBOLWjtxu031lawTklECEyWeDR5tJ0N+SjT\r\nFZHxIr2v47d3ZqL4i8RNwX2XC8VMl0ESmqjxXiDKVvCBPxB6U2ZTQqdwmkpg\r\nFfgbUquMDaIAbRctjCbB3TTUQUi+iTGkWV5JeE3Q6wEOPGEGxcrVzdUGAAxh\r\nByvAz+SoTpjT2NLYojkFIhHTVE8m23y2eO3q3zKgKCkhAsK4WvpqnkG3PXHb\r\nHL0tOHqTWkN2/fuVTcZXd8CBgZCAYmz0q9obldPWrXx7B5cDSgOl8JwUQcUh\r\n/wWF6Ltnsuq6IuLOCSjWRxYZe8dplx1wbiWQ9m059Gp7PzNxKy95ZE4i9ywk\r\nH1H6Jnsj7XjlNLFcqhNA7+3yE/vslHI2bTM=\r\n=8H/+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"azlam-acn","email":"azlam.abdulsalam@accenture.com"},{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"alanly","email":"alan.ly@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"sanjaymani654","email":"manivasaga.murugesan@accenture.com"},{"name":"nbatterham","email":"nathan.batterham@accenture.com"},{"name":"sivanand.jothy","email":"sivanand.jothy@accenture.com"},{"name":"vuha","email":"vu.ha@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_6.1.0_1675054512291_0.08576747448382749"},"_hasShrinkwrap":true},"6.1.2":{"name":"sfpowerkit","version":"6.1.2","release":"November 22","author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"dependencies":{"@dxatscale/sfp-logger":"^1.0.2","@salesforce/command":"4.2.2","@salesforce/core":"2.35.0","@salesforce/plugin-user":"1.6.0","@salesforce/source-deploy-retrieve":"5.9.5","ajv":"^8.8.2","apex-parser":"^2.11.0","archiver":"5.3.0","async-retry":"^1.3.1","axios":"0.21.3","better-sqlite3":"8.3.0","bottleneck":"^2.19.5","chalk":"^4.1.2","child-process":"^1.0.2","child-process-promise":"^2.2.1","cli-ux":"5.5.1","diff":"^5.0.0","diff-match-patch":"^1.0.5","diff-match-patch-line-and-word":"^0.1.2","fast-glob":"^3.2.5","find-java-home":"^1.1.0","fs-extra":"^9.1.0","glob":"^7.2.0","hook-std":"^2.0.0","ignore":"^5.1.8","nested-object-diff":"^1.1.0","node-cache":"^5.1.2","request":"^2.88.2","request-promise-native":"^1.0.9","simple-git":"3.5.0","ts-node":"9.1.1","tslib":"2.1.0","unzip-stream":"0.3.1","unzipper":"0.10.11","xml-formatter":"^2.4.0","xml2js":"^0.4.23"},"devDependencies":{"@oclif/dev-cli":"1.26.5","@oclif/plugin-help":"3.2.9","@oclif/test":"^1.2.8","@salesforce/dev-config":"^2.1.0","@types/async-retry":"^1.4.2","@types/better-sqlite3":"^7.4.2","@types/chai":"^4.2.16","@types/diff-match-patch":"^1.0.32","@types/fs-extra":"^9.0.11","@types/jsforce":"^1.9.23","@types/mocha":"^9.1.0","@types/node":"14.14.7","@types/pino":"^6.3.7","@types/request-promise":"^4.1.47","@types/rimraf":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","chai":"^4","eslint":"^8.7.0","globby":"^11.0.3","husky":"^6.0.0","mocha":"^9.2.0","nyc":"^15.1.0","prettier":"^2.1.2","pretty-quick":"^3.1.0","rimraf":"^3.0.2","sinon":"^10.0.0","typescript":"4.5.4"},"engines":{"node":">=8.0.0"},"homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"license":"MIT","main":"./lib/index.js","oclif":{"commands":"./lib/commands","topics":{"sfpowerkit:package":{"description":"Helper commands for unlocked package"},"sfpowerkit:package:version":{"description":"Commands related to details of package"},"sfpowerkit:org":{"description":"Helper commands for org such as connectedapp, creation of sandbox etc"},"sfpowerkit:pool":{"description":"Commands to create a pool of scratch orgs"},"sfpowerkit:project":{"description":"Commands that operate on the project"},"sfpowerkit:project:datamodel":{"description":"Commands that operate on the data model"},"sfpowerkit:auth":{"description":"Authorisation Related Commands"},"sfpowerkit:source":{"description":"Commands that work on the source"},"sfpowerkit:source:customlabel":{"description":"Commands to operate on custom label"},"sfpowerkit:source:profile":{"description":"Commands that operate on profiles"},"sfpowerkit:source:pmd":{"description":"This 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"},"sfpowerkit":{"description":"Salesforce DevOps Helper Extensions to use in CI/CD Pipelines"}},"devPlugins":["@oclif/plugin-help"]},"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"scripts":{"postpack":"rm -f oclif.manifest.json","posttest":"eslint . --ext .js,.jsx,.ts,.tsx ","prepare":"rimraf tsconfig.tsbuildinfo && rimraf lib && tsc -b && oclif-dev manifest && npm shrinkwrap","test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","version":"git add README.md","format":"npx prettier --write ."},"husky":{"hooks":{"pre-commit":"npx pretty-quick --staged"}},"types":"./lib/index.d.ts","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&branchName=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<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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 <string> [-s] [-v <string>] [--apiversion <string>] [--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 <string> [-f <string>] [-v <string>] [--apiversion <string>] [--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 <string>\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 <string> | -u <string>] [-v <string>] [--apiversion <string>] [--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 <array>] [--all] [--none] [-u <string>] [--apiversion <string>] [--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 <string> -p <string>  [-s <string>] [ -r <url> ]  [-a <string>]  [--apiversion\n  <string>] [--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 <string> -d <string> [-p] [-s] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <filepath> [-b <number>] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-s <string>] [-v <string>] [--apiversion <string>] [--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 <string>] [-m] [-a] [-v <string>] [--apiversion <string>] [--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 <string> [-m] [-a] [-i] [-v <string>] [--apiversion <string>] [--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","readmeFilename":"README.md","gitHead":"4600d2fb783edffb52d9a4ecc915b0499c6dcc77","description":"This 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","_id":"sfpowerkit@6.1.2","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-sLydzgFK0PTAR72AKiyHPh1GWSIzI59GYwlxvyO3wr8Jvs14pUhjApvrSr7+vH5UzzIwPPfKsKAlAZd0F0duWA==","shasum":"076067c66b9fc69f9ea076964caf1b7dbc5ebfab","tarball":"https://registry.npmjs.org/sfpowerkit/-/sfpowerkit-6.1.2.tgz","fileCount":288,"unpackedSize":3264451,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5ji/hHUqDlueo7SbcnCbs4WfyI3CIWuhWfBHOmVnmvwIgbT7ZEMObH4Zuai3alkYf9ZaZnSodJ2JVoQpMyM2/ZkA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTwrkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRgA//TcqxZ42TznEjC7eIcRo+UBhKvM9fcq6zAGB9iCdIL1F6nbsP\r\nwWoeC7eUG5qW3rou8pE3simAcn6jwtcMWBGrjjeTNccCeoZ/p4UOvHiljvXI\r\nefYJ+1l9skB2j7m+I9zfmAI8R1Mg505eK6ZNtHEcAkEP9IS4ufNUKjv7J6IH\r\ngH75nbR2/QpUaV4ArAalaIiAyo6HdE/tFw5Pc6WSrGtAf/EBR82p2jBBO8sk\r\nG5VJHY4b7oFUwiY5cGlRB1RqV4caP8TeSxrFEHqQUly/UTbzzhpkOJbTE0Wn\r\njaCaE4MSM8O+yKhoFjLjZxm9e/SfpAl363RamurCnjLQW/GrjamLn/jhjGgY\r\ngfd79YYJ51vz14wxDylyRtZuynbbRrWWzcK5yqjuzyg4csz2LAIffECBP8Vh\r\nYXxBjE16BIlV2mPotrOiMpzwuw51yBGw4eTJNoIYcrMc2Axr4QHS0Z2yYWZr\r\nWHPpsvVSHwRIjuDsRLb4got5N4otuJ5xJm/zQSYb54HfqRywMTG+nLUSKNss\r\nKJa86JKB3ZYY9F/7LhVupa+z38yAtOfvu4lvIUtwD5WeGBQumZaX6QREgSZz\r\nQvroiWgSynK+RarX/7olUeHZmt/gSVuMR3SWQR3Bl0EXje5G4f33i4esMzHb\r\nymf/hakNgQibPXTp1gmQEiOO3t5llGeTO4A=\r\n=idca\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sfpower","email":"dxatscale@accenture.com"},"directories":{},"maintainers":[{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"vuha","email":"vuhacanada@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfpowerkit_6.1.2_1682901732507_0.542539683211646"},"_hasShrinkwrap":true}},"time":{"created":"2019-03-10T10:45:36.377Z","1.0.0":"2019-03-10T10:45:36.534Z","modified":"2023-05-01T00:42:12.931Z","1.0.1":"2019-03-10T11:09:15.186Z","1.0.2":"2019-03-10T11:18:26.536Z","1.0.3":"2019-03-10T11:20:21.098Z","1.0.4":"2019-03-10T11:22:50.092Z","1.0.5":"2019-03-10T11:27:58.258Z","1.0.6":"2019-03-10T11:44:17.827Z","1.0.7":"2019-03-10T12:50:39.134Z","1.1.0":"2019-03-11T12:28:21.339Z","1.1.1":"2019-03-11T12:36:34.575Z","1.1.2":"2019-03-11T12:39:52.921Z","1.1.3":"2019-03-12T09:28:06.206Z","1.2.0":"2019-03-12T13:00:25.649Z","1.3.0":"2019-03-13T12:35:42.094Z","1.4.1":"2019-03-17T13:59:47.359Z","1.4.2":"2019-03-17T14:01:57.478Z","1.4.3":"2019-03-18T12:52:01.884Z","1.4.4":"2019-03-20T11:12:36.126Z","1.5.0":"2019-03-20T14:01:37.761Z","1.5.1":"2019-03-21T12:46:08.272Z","1.5.2":"2019-03-21T12:48:05.928Z","1.5.3":"2019-03-21T12:54:25.158Z","1.5.4":"2019-03-25T12:23:11.236Z","1.5.5":"2019-03-25T12:27:38.006Z","1.5.6":"2019-03-25T12:29:38.826Z","1.6.0":"2019-03-26T13:15:48.830Z","1.6.1":"2019-03-26T13:48:58.319Z","1.6.2":"2019-03-26T13:54:56.030Z","1.7.0":"2019-03-27T12:18:38.394Z","1.7.1":"2019-04-02T20:31:47.802Z","1.8.0":"2019-04-04T11:49:48.602Z","1.8.1":"2019-04-04T12:02:59.412Z","1.8.2":"2019-04-04T12:19:27.903Z","1.8.3":"2019-04-04T12:21:02.119Z","1.8.4":"2019-04-04T12:26:45.307Z","1.8.5":"2019-04-06T11:15:42.097Z","1.8.6":"2019-04-06T12:20:39.682Z","1.8.7":"2019-04-06T13:11:19.678Z","1.8.8":"2019-04-19T05:09:10.618Z","1.9.0":"2019-04-21T15:12:21.498Z","1.9.1":"2019-04-22T12:15:04.360Z","1.9.2":"2019-04-30T12:24:33.359Z","1.9.3":"2019-05-04T14:27:10.467Z","1.9.4":"2019-05-04T14:43:35.585Z","1.9.5":"2019-05-04T15:28:01.336Z","1.9.6":"2019-05-04T15:29:27.870Z","1.9.7":"2019-05-04T15:30:49.030Z","1.9.8":"2019-05-04T15:34:31.545Z","1.9.10":"2019-05-28T03:53:44.771Z","1.9.11":"2019-05-28T12:37:04.760Z","1.9.12":"2019-05-29T14:18:03.071Z","1.9.13":"2019-05-29T14:30:16.451Z","1.9.14":"2019-05-30T03:07:30.813Z","1.9.15":"2019-06-01T11:10:11.127Z","1.9.16":"2019-06-01T11:53:46.292Z","1.9.17":"2019-06-04T14:39:53.914Z","1.9.18":"2019-06-05T01:23:25.820Z","1.9.19":"2019-06-05T07:15:38.562Z","1.9.20":"2019-06-05T07:36:26.147Z","1.9.21":"2019-06-13T10:59:02.920Z","1.9.22":"2019-06-14T06:37:48.093Z","1.9.23":"2019-06-17T02:15:45.200Z","1.9.24":"2019-06-19T06:04:49.786Z","1.9.25":"2019-06-19T13:07:17.469Z","1.9.26":"2019-06-24T11:45:32.784Z","1.9.27":"2019-06-27T06:13:56.788Z","1.9.28":"2019-06-30T23:23:57.111Z","1.9.29":"2019-07-07T13:23:15.534Z","1.9.30":"2019-07-07T13:28:07.946Z","1.9.31":"2019-07-08T02:27:38.920Z","1.10.2":"2019-07-08T05:28:34.783Z","1.10.3":"2019-07-10T13:13:47.948Z","1.10.4":"2019-07-11T05:30:55.858Z","1.10.5":"2019-07-11T12:39:15.241Z","1.10.6":"2019-07-19T12:22:43.222Z","1.10.7":"2019-07-20T00:03:55.090Z","1.10.8":"2019-07-20T08:10:07.988Z","1.11.1":"2019-07-22T00:10:27.034Z","1.11.4-0":"2019-07-26T05:23:51.299Z","1.11.4":"2019-07-26T05:50:16.757Z","1.12.0-1":"2019-07-26T06:01:01.974Z","1.12.0-2":"2019-07-26T12:28:21.469Z","1.12.0":"2019-07-26T12:57:41.404Z","1.12.2":"2019-07-26T13:11:24.924Z","1.13.0-2":"2019-07-26T13:14:15.052Z","1.13.0-3":"2019-07-27T13:17:45.815Z","1.13.0-4":"2019-07-28T02:37:02.274Z","1.13.0-5":"2019-07-29T07:00:39.549Z","1.13.0-6":"2019-07-30T05:27:00.029Z","1.13.0":"2019-07-30T07:03:03.056Z","1.14.0-2":"2019-07-30T07:07:53.122Z","1.13.1":"2019-07-30T11:40:45.672Z","1.14.0-3":"2019-07-31T02:50:12.210Z","1.13.2":"2019-07-31T08:40:44.263Z","1.14.0-4":"2019-07-31T11:56:07.858Z","1.14.0-5":"2019-07-31T12:12:27.344Z","1.14.0-6":"2019-07-31T12:16:20.416Z","1.14.0-7":"2019-07-31T12:23:46.152Z","1.14.0-8":"2019-08-03T04:33:44.759Z","1.14.0-9":"2019-08-06T00:03:37.545Z","1.14.0-10":"2019-08-06T03:52:55.890Z","1.14.0-11":"2019-08-06T09:35:22.488Z","1.14.0-12":"2019-08-06T09:40:24.766Z","1.14.0-13":"2019-08-07T02:14:47.150Z","1.14.0":"2019-08-07T02:25:40.029Z","1.15.0-1":"2019-08-07T05:24:32.781Z","1.15.0-2":"2019-08-07T06:26:21.269Z","1.14.1":"2019-08-07T06:42:46.857Z","1.15.0-3":"2019-08-10T23:30:42.572Z","1.15.0-4":"2019-08-11T12:09:30.017Z","1.15.0-5":"2019-08-11T13:54:10.767Z","1.15.0-6":"2019-08-11T13:57:40.499Z","1.15.0-7":"2019-08-11T20:52:55.567Z","1.15.0-8":"2019-08-12T08:07:25.732Z","1.15.0-9":"2019-08-12T08:15:29.474Z","1.15.0-10":"2019-08-12T08:22:43.471Z","1.15.0-11":"2019-08-12T12:53:51.093Z","1.15.0-12":"2019-08-12T14:48:06.162Z","1.15.0-13":"2019-08-13T06:51:46.604Z","1.15.0-14":"2019-08-13T13:31:50.125Z","1.15.0-15":"2019-08-13T21:46:39.213Z","1.15.0-16":"2019-08-13T21:52:44.427Z","1.15.0-17":"2019-08-14T00:05:12.770Z","1.15.0-18":"2019-08-14T01:27:55.939Z","1.15.0-19":"2019-08-14T02:36:56.239Z","1.15.0":"2019-08-14T07:40:52.682Z","1.15.1":"2019-08-14T08:18:44.366Z","1.15.0-20":"2019-08-14T11:16:43.095Z","1.15.2":"2019-08-14T11:17:21.453Z","1.16.1-0":"2019-08-14T11:52:15.849Z","1.16.1-1":"2019-08-15T10:30:53.473Z","1.16.1-2":"2019-08-20T02:29:55.494Z","1.16.1":"2019-08-20T21:16:48.321Z","1.18.1-0":"2019-09-02T12:30:13.229Z","1.18.1-1":"2019-09-03T00:42:12.355Z","1.18.1-2":"2019-09-03T21:27:45.727Z","1.18.1-3":"2019-09-04T12:55:58.967Z","1.18.1":"2019-09-04T12:58:04.803Z","1.18.1-4":"2019-09-04T13:14:57.895Z","1.18.2":"2019-09-04T13:27:07.248Z","1.18.3":"2019-09-11T09:53:43.028Z","1.19.1-0":"2019-09-11T09:54:37.224Z","1.19.1-1":"2019-09-15T21:39:35.243Z","1.18.4":"2019-09-16T05:08:36.229Z","1.19.1-2":"2019-09-17T05:58:27.942Z","1.18.5":"2019-09-17T06:15:30.898Z","1.18.6":"2019-09-17T12:26:25.296Z","1.19.1-3":"2019-09-17T12:26:59.253Z","1.19.1-4":"2019-09-18T04:23:25.829Z","1.19.1-5":"2019-09-19T09:16:13.493Z","1.18.7":"2019-09-20T04:03:46.640Z","1.20.1-0":"2019-09-20T04:35:47.928Z","1.20.1-1":"2019-09-23T01:04:35.987Z","1.20.1-2":"2019-09-24T07:37:05.554Z","1.20.1":"2019-09-24T20:51:38.599Z","1.20.2":"2019-09-25T11:23:11.406Z","1.20.1-3":"2019-09-25T21:04:43.082Z","1.22.1-0":"2019-10-04T05:06:01.209Z","1.22.1-1":"2019-10-08T12:32:52.930Z","1.22.1-2":"2019-10-09T06:07:08.255Z","1.22.1-3":"2019-10-09T06:16:26.022Z","1.22.1":"2019-10-09T08:34:03.417Z","1.23.1-0":"2019-10-10T14:06:05.584Z","1.23.1-1":"2019-10-13T04:35:24.771Z","1.23.1-2":"2019-10-14T00:47:56.767Z","1.23.1-3":"2019-10-14T01:01:21.087Z","1.23.1-4":"2019-10-14T02:14:14.280Z","1.23.1":"2019-10-16T00:21:00.121Z","1.23.1-5":"2019-10-17T03:06:56.731Z","1.23.1-6":"2019-10-17T22:36:54.942Z","1.24.2-0":"2019-10-18T13:27:40.834Z","1.23.2":"2019-10-19T10:38:38.637Z","1.24.2-1":"2019-10-19T10:46:20.471Z","1.24.3-1":"2019-10-21T14:05:13.884Z","1.24.2-2":"2019-10-22T14:10:48.275Z","1.24.2-3":"2019-10-22T14:19:35.796Z","1.24.2":"2019-10-22T23:28:08.920Z","1.25.1-0":"2019-10-22T23:54:16.224Z","1.25.2-0":"2019-10-23T08:22:07.792Z","1.25.3-0":"2019-10-23T13:34:58.627Z","1.25.3-2":"2019-10-25T04:58:01.414Z","1.25.3-4":"2019-10-28T03:53:13.520Z","1.25.3-5":"2019-10-29T00:30:10.378Z","1.25.3-6":"2019-10-29T12:19:25.343Z","1.25.3-7":"2019-10-29T12:57:19.440Z","1.25.3-8":"2019-10-29T23:32:56.338Z","1.25.3":"2019-10-30T05:40:14.662Z","1.26.0-2":"2019-10-30T09:27:38.186Z","1.26.0-3":"2019-10-30T23:56:50.031Z","1.26.0-4":"2019-11-04T05:37:06.356Z","1.26.0-5":"2019-11-05T01:21:42.148Z","1.26.0-6":"2019-11-05T08:18:02.620Z","1.26.0":"2019-11-06T01:55:42.261Z","1.26.1":"2019-11-06T03:49:09.513Z","1.27.0-2":"2019-11-11T03:16:06.385Z","1.27.0-3":"2019-11-12T22:08:21.459Z","1.27.0":"2019-11-13T05:16:29.238Z","1.29.1-0":"2019-11-19T23:25:57.928Z","1.29.1-1":"2019-11-19T23:30:09.183Z","1.29.1-2":"2019-11-21T14:06:28.029Z","1.29.1-3":"2019-11-22T22:35:17.903Z","1.29.1-4":"2019-11-24T10:20:46.984Z","1.27.1":"2019-11-24T10:22:22.532Z","1.29.1":"2019-11-27T05:12:03.887Z","1.29.1-5":"2019-12-02T23:41:32.611Z","1.30.1-0":"2019-12-02T23:43:10.331Z","1.30.1":"2019-12-03T22:40:35.708Z","1.30.1-1":"2019-12-08T12:32:31.447Z","1.31.1":"2019-12-10T23:03:27.529Z","1.31.1-0":"2019-12-10T23:07:12.594Z","1.31.3":"2019-12-12T02:03:30.941Z","1.31.1-1":"2020-01-07T07:52:13.714Z","1.36.1-0":"2020-01-08T23:31:08.855Z","1.36.1-1":"2020-01-20T09:34:24.769Z","1.36.1-2":"2020-01-20T09:39:42.848Z","1.36.1-3":"2020-01-20T09:41:24.324Z","1.36.1-4":"2020-01-22T02:29:31.835Z","1.36.1":"2020-01-22T03:16:57.147Z","1.36.1-5":"2020-01-30T02:37:57.408Z","1.36.1-6":"2020-01-31T07:38:46.153Z","1.36.1-7":"2020-01-31T07:44:20.991Z","1.36.1-8":"2020-01-31T07:49:29.732Z","1.38.1-0":"2020-02-01T05:57:00.932Z","1.38.1-1":"2020-02-02T23:25:50.236Z","1.38.1-2":"2020-02-05T02:30:09.287Z","1.38.1-3":"2020-02-05T12:12:11.788Z","1.38.1":"2020-02-05T12:42:24.184Z","1.38.1-4":"2020-02-10T19:34:20.247Z","1.38.1-5":"2020-02-12T23:36:56.632Z","1.41.1-0":"2020-02-25T06:34:45.024Z","1.41.1-1":"2020-02-26T01:14:32.587Z","1.38.2":"2020-02-26T01:25:26.738Z","1.41.1-2":"2020-02-26T01:32:22.294Z","1.41.1":"2020-02-26T01:36:56.559Z","1.41.1-3":"2020-03-06T01:44:28.711Z","1.42.1-0":"2020-03-10T03:38:34.083Z","1.42.1":"2020-03-11T03:29:08.794Z","1.42.1-1":"2020-03-15T02:46:14.509Z","1.43.1-1":"2020-03-27T04:44:02.216Z","1.43.1-2":"2020-03-29T23:16:33.499Z","1.43.2":"2020-04-01T00:00:04.291Z","1.44.2-0":"2020-04-04T09:11:40.410Z","1.44.2-1":"2020-04-04T09:14:24.999Z","1.44.2-2":"2020-04-05T03:05:46.831Z","1.44.2-3":"2020-04-05T09:57:01.752Z","1.43.3":"2020-04-05T09:59:09.467Z","1.44.2-4":"2020-04-08T00:14:25.759Z","1.44.2-5":"2020-04-20T03:44:47.312Z","1.44.2-6":"2020-04-20T03:49:00.386Z","1.44.2-7":"2020-04-23T00:56:28.029Z","1.44.2-8":"2020-04-24T22:45:20.592Z","1.44.2-9":"2020-04-26T04:08:14.064Z","1.44.2-10":"2020-04-28T00:12:10.366Z","1.44.2-11":"2020-04-29T02:53:20.613Z","1.44.2":"2020-05-01T08:27:08.956Z","1.44.2-12":"2020-05-10T23:27:59.863Z","1.44.2-13":"2020-05-14T08:33:31.376Z","1.45.1-0":"2020-05-19T13:46:18.853Z","1.45.1-1":"2020-05-22T09:26:27.655Z","1.45.1-2":"2020-05-23T14:28:36.889Z","1.45.1-3":"2020-05-23T23:26:56.377Z","1.45.1-4":"2020-05-25T00:09:18.927Z","1.45.1-5":"2020-05-25T11:26:09.259Z","1.45.1-6":"2020-05-25T11:39:19.601Z","1.45.1-7":"2020-05-25T13:24:26.842Z","1.45.1-8":"2020-05-28T22:33:56.944Z","1.45.1-9":"2020-05-29T04:51:03.088Z","1.45.1-10":"2020-05-29T06:44:47.093Z","1.45.1-11":"2020-05-29T08:48:15.204Z","1.45.1":"2020-06-01T00:24:26.139Z","1.45.1-12":"2020-06-05T06:46:19.050Z","1.45.2":"2020-06-05T08:56:40.131Z","1.45.2-13":"2020-06-15T12:16:35.475Z","1.45.2-14":"2020-06-25T07:07:01.078Z","1.46.1-0":"2020-06-25T07:25:25.419Z","1.46.1-1":"2020-06-26T10:14:07.983Z","1.46.1-2":"2020-06-26T10:57:35.132Z","1.46.2":"2020-06-27T10:17:46.296Z","1.46.3":"2020-06-27T10:34:06.179Z","1.46.4":"2020-06-29T11:57:30.344Z","1.46.5":"2020-06-30T04:50:09.918Z","1.46.6":"2020-06-30T07:27:17.359Z","2.0.1":"2020-07-08T11:31:55.848Z","2.0.2":"2020-07-09T00:05:01.405Z","2.0.3":"2020-07-10T00:32:42.746Z","2.0.4":"2020-07-10T10:44:11.396Z","2.0.5":"2020-07-13T22:39:04.828Z","2.0.6":"2020-07-19T14:02:48.321Z","2.0.7":"2020-07-21T00:02:15.200Z","2.0.8":"2020-07-23T02:52:35.068Z","2.0.9":"2020-07-23T07:04:28.709Z","2.0.10":"2020-07-23T10:17:56.863Z","2.0.12":"2020-07-27T00:36:00.436Z","2.0.13":"2020-07-27T10:21:30.087Z","2.0.16":"2020-07-30T08:16:23.645Z","2.0.17":"2020-07-31T08:20:20.790Z","2.0.18":"2020-08-08T05:28:45.728Z","2.0.19":"2020-08-17T07:03:05.472Z","2.1.4":"2020-08-30T13:28:06.179Z","2.1.5":"2020-09-01T07:38:11.311Z","2.2.2":"2020-09-12T14:16:54.113Z","2.2.3":"2020-09-15T01:08:15.977Z","2.1.6":"2020-09-19T00:56:35.744Z","2.2.4":"2020-09-21T06:44:38.076Z","2.2.5":"2020-09-23T08:33:41.489Z","2.2.6":"2020-09-27T08:14:27.357Z","2.2.7":"2020-10-01T08:23:02.880Z","2.2.8":"2020-10-05T04:36:12.310Z","2.3.2":"2020-10-27T06:24:34.762Z","2.3.4":"2020-10-30T02:08:52.550Z","2.3.5":"2020-11-02T00:01:00.706Z","2.3.6":"2020-11-02T01:18:11.948Z","2.4.1":"2020-11-12T06:59:06.033Z","2.4.2":"2020-11-13T07:21:49.736Z","2.4.3":"2020-11-16T06:29:21.175Z","2.4.4":"2020-11-27T00:27:54.583Z","2.4.5":"2020-11-27T06:26:07.829Z","2.4.6":"2020-11-30T06:22:08.128Z","2.4.7":"2020-11-30T07:03:20.011Z","2.4.8":"2020-11-30T07:17:23.489Z","2.4.9":"2020-11-30T07:30:12.277Z","2.4.10":"2020-12-01T01:38:31.198Z","2.4.11":"2020-12-01T22:53:19.247Z","2.4.12":"2020-12-03T02:47:52.867Z","2.4.13":"2020-12-04T04:19:12.447Z","2.5.1":"2020-12-23T01:51:34.705Z","2.5.2":"2020-12-28T00:46:44.536Z","2.5.3":"2021-01-16T11:09:53.996Z","2.5.4":"2021-01-17T03:02:03.934Z","2.5.5":"2021-01-17T05:18:15.569Z","2.5.6":"2021-01-17T22:26:07.002Z","2.5.7":"2021-01-17T23:11:34.004Z","2.6.1":"2021-01-26T05:44:53.349Z","2.6.2":"2021-01-26T07:05:39.326Z","2.6.3":"2021-01-26T11:32:06.231Z","2.6.4":"2021-01-29T07:41:06.707Z","2.6.5":"2021-01-29T21:16:02.419Z","2.7.1":"2021-02-07T13:39:50.754Z","2.7.2":"2021-02-18T13:18:22.247Z","2.7.3":"2021-02-18T23:10:57.992Z","2.7.4":"2021-02-27T02:46:46.476Z","2.7.5":"2021-02-27T03:39:15.075Z","2.7.6":"2021-02-27T10:35:05.149Z","2.7.7":"2021-03-01T05:32:38.106Z","2.7.8":"2021-03-05T01:47:06.800Z","2.8.1":"2021-03-08T07:51:35.369Z","2.8.2":"2021-03-08T10:44:58.972Z","2.8.3":"2021-03-09T23:42:06.735Z","2.7.9":"2021-03-10T00:05:39.285Z","2.7.10":"2021-03-10T02:04:43.365Z","2.8.4":"2021-03-10T02:05:17.033Z","2.8.5":"2021-03-11T00:31:37.638Z","2.8.6":"2021-03-29T02:00:37.830Z","2.8.7":"2021-04-08T01:45:24.631Z","2.9.2":"2021-05-13T04:30:43.862Z","3.0.0":"2021-05-13T05:06:45.195Z","3.1.0":"2021-05-24T13:17:01.067Z","3.1.2":"2021-06-01T00:03:12.510Z","3.1.3":"2021-06-22T02:12:30.453Z","3.1.4":"2021-06-22T21:43:43.526Z","3.1.5":"2021-06-28T05:02:25.164Z","3.1.6":"2021-07-07T03:34:15.116Z","3.2.0":"2021-08-02T05:46:23.296Z","3.2.1":"2021-08-02T05:59:24.221Z","3.2.2":"2021-08-03T02:16:11.217Z","3.2.3":"2021-09-02T23:35:50.953Z","3.3.0":"2021-09-10T00:44:25.308Z","3.3.2":"2021-10-04T22:23:43.314Z","3.3.3":"2021-11-04T22:44:58.749Z","3.3.4":"2021-11-09T02:04:28.790Z","3.4.0":"2021-12-01T05:56:35.772Z","3.4.1":"2021-12-07T04:33:41.156Z","3.4.2":"2021-12-07T05:03:55.898Z","3.4.3":"2021-12-14T00:21:25.056Z","4.0.0":"2021-12-16T03:38:00.774Z","4.0.1":"2021-12-20T01:07:50.695Z","4.0.2":"2022-01-14T04:59:31.626Z","4.0.3":"2022-01-14T11:52:03.564Z","4.1.0":"2022-02-04T21:36:12.289Z","4.1.1":"2022-02-04T21:38:14.811Z","4.1.2":"2022-02-04T22:34:22.585Z","4.1.3":"2022-02-08T06:13:01.799Z","4.1.4":"2022-02-09T21:22:02.837Z","4.1.5":"2022-02-10T22:38:44.386Z","4.2.0":"2022-02-14T02:55:10.666Z","4.2.1":"2022-02-17T12:46:56.807Z","4.2.4":"2022-04-06T02:49:08.192Z","4.2.5":"2022-04-07T03:34:20.562Z","4.2.6":"2022-05-02T02:35:58.300Z","4.2.7":"2022-05-15T11:26:49.288Z","4.2.8":"2022-05-15T23:12:33.806Z","4.2.9":"2022-07-05T06:17:43.612Z","4.2.10":"2022-07-08T08:01:58.997Z","4.2.11":"2022-07-11T07:16:39.473Z","4.2.12":"2022-08-08T03:43:29.121Z","4.2.13":"2022-08-11T00:18:00.800Z","5.0.0":"2022-08-30T07:49:08.438Z","6.0.0":"2022-09-29T06:28:52.224Z","6.0.1":"2022-12-05T03:08:23.813Z","6.1.0":"2023-01-30T04:55:12.484Z","6.1.2":"2023-05-01T00:42:12.716Z"},"maintainers":[{"name":"sfpower","email":"dxatscale@accenture.com"},{"name":"raakr","email":"ramzi.akremi@me.com"},{"name":"rawdee","email":"rodolphe.blancho@gmail.com"},{"name":"vuha","email":"vuhacanada@gmail.com"}],"description":"This 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","homepage":"https://github.com/accenture/sfpowerkit","keywords":["sfdx-plugin","sfdx","plugin","salesforce","cli"],"repository":{"type":"git","url":"git+https://github.com/accenture/sfpowerkit.git"},"author":{"name":"DXatScale","email":"dxatscale@accenture.com"},"bugs":{"url":"https://github.com/accenture/sfpowerkit/issues"},"license":"MIT","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&branchName=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<p align=\"center\">\n  <img alt=\"sfpowerkit\" src=\"https://user-images.githubusercontent.com/44075423/111021309-6f3c2f80-841f-11eb-94c7-60661bd96202.png\" width=\"480\" height=\"400\">\n</p>\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<!-- commands -->\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      <!-- commands -->\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 <directory> | --filelist <filepath>] [-r <string> | -R <string>] [-f <string>] [--report <filepath> | -o\n  <filepath>] [--javahome <string>] [--failonviolation] [--minimumpriority <integer>] [--shortnames] [--showsuppressed] [--suppressmarker\n  <string>] [--version <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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 <array>] [-n <array>] [-u <string>] [--apiversion <string>] [--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->sfpowerkit->ignoredPermissions.\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 <array>] [-n <array>] [-m <array>] [-u <string>] [--apiversion <string>] [--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 <string> -v <string> -s <string> [-c <string>] [-l <string>] [-p <string>] [-i] [-u <string>]\n  [--apiversion <string>] [--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 <string> -p <string>  [--apiversion <string>] [--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 <array> -x <string> [--apiversion <string>] [--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 <string> [--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 <string> [--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 <string>] [--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 <string> [-r <string>] [-t <string>] [-x] [-b <array>] [-p <array>] [--apiversion <string>] [--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 <array> [-c] [-o json|csv] [-u <string>] [--apiversion <string>] [--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 <string> -t <string> -d <string> [-f json|csv|xml] [--apiversion <string>] [--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 <array> -d <string> [--apiversion <string>] [--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 <string> [-t <string>] [-p <string>] [-d <directory>] [--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 <string>] [-k <string>] [-b <string>] [-t <string>] [-w <string>] [-r] [-o] [-a] [--usedependencyvalidatedpackages] [-f <array>] [-v <string>] [-u\n  <string>] [--apiversion <string>] [--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 --> 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 --> 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 --> 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 <array>] [-s] [--usedependencyvalidatedpackages] [-v <string>] [--apiversion <string>] [--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 <string>] [-n <string>] [-i <array>] [-v <string>] [--apiversion <string>] [--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 <string>] [-u <string>] [--apiversion <string>] [--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 <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> -c <filepath> -e <email> [-u <string>] [--apiversion\n  <string>] [--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 <string> -u <string>  [-r <url>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string> [-u <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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 <string>] [--apiversion <string>] [--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 <string>] [-f json|csv] [-u <string>] [--apiversion <string>] [--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 <array>] [-s <string>] [-d <string>] [-u <string>] [--apiversion <string>] [--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 <string> -d <string> -l <string> [-a <string>] [-f <string>] [-v\n  <string>] [--apiversion <string>] [--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 <string> [-s] [-v <string>] [--apiversion <string>] [--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 ","readmeFilename":"README.md"}