hardisgroupcom/sfdx-hardis

GitHub: hardisgroupcom/sfdx-hardis

sfdx-hardis 是一个为 Salesforce 平台打造的命令行与可视化工具套件,旨在通过自动化 CI/CD、监控备份和 AI 文档生成来提升开发运维效率。

Stars: 346 | Forks: 95

[![sfdx-hardis by Cloudity Banner](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/8662a64140084810.png)](https://sfdx-hardis.cloudity.com) _在_ [_Dreamforce 23_](https://reg.salesforce.com/flow/plus/df23/sessioncatalog/page/catalog/session/1684196389783001OqEl) _和 [_Dreamforce 24!_](https://reg.salesforce.com/flow/plus/df24/sessioncatalog/page/catalog/session/1718915808069001Q7HH) _展示 - [**观看 sfdx-hardis v7 演示视频**](https://www.youtube.com/watch?v=t8jT6IPd9n4) [![版本](https://img.shields.io/npm/v/sfdx-hardis.svg)](https://npmjs.org/package/sfdx-hardis) [![每周下载](https://img.shields.io/npm/dw/sfdx-hardis.svg)](https://npmjs.org/package/sfdx-hardis) [![总下载量](https://img.shields.io/npm/dt/sfdx-hardis.svg)](https://npmjs.org/package/sfdx-hardis) [![Docker 拉取次数](https://img.shields.io/docker/pulls/hardisgroupcom/sfdx-hardis)](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis/tags) [![GitHub 星标](https://img.shields.io/github/stars/hardisgroupcom/sfdx-hardis)](https://GitHub.com/hardisgroupcom/sfdx-hardis/stargazers/) [![GitHub 贡献者](https://img.shields.io/github/contributors/hardisgroupcom/sfdx-hardis.svg)](https://gitHub.com/hardisgroupcom/sfdx-hardis/graphs/contributors/) [![Mega-Linter](https://github.com/hardisgroupcom/sfdx-hardis/workflows/Mega-Linter/badge.svg?branch=main)](https://github.com/hardisgroupcom/sfdx-hardis/actions?query=workflow%3AMega-Linter+branch%3Amain) [![由 Trivy 保障安全](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy) [![许可证](https://img.shields.io/npm/l/sfdx-hardis.svg)](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/package.json) [![欢迎 PR](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) Sfdx-hardis 是一套 **面向 Salesforce 的命令行与可视化生产力工具套件**,由 [**Cloudity**](https://cloudity.com/) 及朋友们打造,原生兼容大多数 Git 平台、消息工具、工单系统和 AI 提供商(包括 Agentforce)。 它是免费且开源的,将帮助您轻松实现: - [利用**最先进的 Salesforce DevOps 交付项目**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-home/) ![DevOps 管道 UI](https://sfdx-hardis.cloudity.com/assets/images/sfdx-hardis-pipeline-view.gif) - [**备份元数据**并**监控您的 Salesforce 组织**](https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/) ![使用 Grafana 监控](https://sfdx-hardis.cloudity.com/assets/images/grafana-screenshot.jpg) - [使用 AI 生成您的**项目文档**](https://sfdx-hardis.cloudity.com/salesforce-project-documentation/) - 享受众多命令,这些命令将在您的日常**管理员或开发者**工作中**为您节省数分钟、数小时甚至数天的时间**。 ![生产力命令](https://sfdx-hardis.cloudity.com/assets/images/ProductivityCommands.png) 如果您需要指导,了解如何利用 sfdx-hardis 为您的业务带来更多价值,Cloudity 的国际多云业务专家和技术专家团队可以提供帮助:[联系我们](https://cloudity.com/contact-us/)! [![Cloudity](https://sfdx-hardis.cloudity.com/assets/images/cloudity-banner.png)](https://cloudity.com/contact-us/) [_查看在线文档以获得更好的浏览体验_](https://sfdx-hardis.cloudity.com) **sfdx-hardis** 命令和配置最好配合 [**SFDX Hardis Visual Studio Code Extension**]( ### 通过 IDE 您可以安装 [Visual Studio Code](https://code.visualstudio.com/),然后安装 VSCode 扩展 [VsCode SFDX Hardis](https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-sfdx-hardis) 安装后,点击 VsCode 左侧栏的 ![Hardis Group 按钮](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/bb450b6864084819.jpg),点击**安装依赖项**并按照附加的安装说明操作 :) ![](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/d8bf0d5f2a084821.png) ![](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/8f035aed66084822.png) 当您全部显示为绿色时,就一切就绪了 😊 _您也可以观看下面的视频教程_ [![安装教程](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/a2e4de9c92084830.png)](https://www.youtube.com/watch?v=LA8m-t7CjHA) ### 作为 SFDX 插件 #### 前置条件 - 安装 Node.js([推荐版本](https://nodejs.org/en/)) - 通过命令行运行 `npm install @salesforce/cli --global` 安装 Salesforce DX #### 插件安装 ``` sf plugins install sfdx-hardis ``` 如需高级使用,请同时安装依赖项 ``` sf plugins install @salesforce/plugin-packaging sf plugins install sfdx-git-delta sf plugins install sfdmu ``` 如果您在使用 CI/CD 脚本,请使用 `echo y | sf plugins install ...` 以跳过提示。 ### 器" but the original is just "Docker". I think just "Docker" is acceptable. 您可以使用 sfdx-hardis docker 镜像在 CI 中运行。 提供两种镜像版本: - **标准镜像** (`sfdx-hardis`, `sfdx-hardis-ubuntu`):包含 Salesforce CI/CD 工具,但不包含编码代理 CLI。用于标准部署。 - **带代理的镜像** (`sfdx-hardis-with-agents`, `sfdx-hardis-ubuntu-with-agents`):与标准版相同,但预装了编码代理 CLI(Claude, Codex, Gemini, GitHub Copilot)。用于 [AI 驱动的自动修复](https://sfdx-hardis.cloudity.com/salesforce-ai-setup/) 场景。 #### 标准镜像(不包含编码代理 CLI) - 基于 Linux **Alpine** 的镜像(可在 GitLab 上运行) - Docker Hub - [**hardisgroupcom/sfdx-hardis:latest**](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis)(使用最新版 @salesforce/cli) - [**hardisgroupcom/sfdx-hardis:latest-sfdx-recommended**](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis)(使用推荐的 @salesforce/cli 版本,适用于最新版 @salesforce/cli 存在问题的情况) - GitHub Packages (ghcr.io) - [**ghcr.io/hardisgroupcom/sfdx-hardis:latest**](https://github.com/hardisgroupcom/sfdx-hardis/pkgs/container/sfdx-hardis)(使用最新版 @salesforce/cli) - [**ghcr.io/hardisgroupcom/sfdx-hardis:latest-sfdx-recommended**](https://github.com/hardisgroupcom/sfdx-hardis/pkgs/container/sfdx-hardis)(使用推荐的 @salesforce/cli 版本,适用于最新版 @salesforce/cli 存在问题的情况) _参见 [Dockerfile](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/Dockerfile)_ - 基于 Linux **Ubuntu** 的镜像(可在 GitHub, Azure 和 Bitbucket 上运行) - Docker Hub - [**hardisgroupcom/sfdx-hardis-ubuntu:latest**](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis-ubuntu)(使用最新版 @salesforce/cli) - [**hardisgroupcom/sfdx-hardis-ubuntu:latest-sfdx-recommended**](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis-ubuntu)(使用推荐的 @salesforce/cli 版本,适用于最新版 @salesforce/cli 存在问题的情况) - GitHub Packages (ghcr.io) - [**ghcr.io/hardisgroupcom/sfdx-hardis-ubuntu:latest**](https://github.com/hardisgroupcom/sfdx-hardis/pkgs/container/sfdx-hardis-ubuntu)(使用最新版 @salesforce/cli) - [**ghcr.io/hardisgroupcom/sfdx-hardis-ubuntu:latest-sfdx-recommended**](https://github.com/hardisgroupcom/sfdx-hardis/pkgs/container/sfdx-hardis-ubuntu)(使用推荐的 @salesforce/cli 版本,适用于最新版 @salesforce/cli 存在问题的情况) _参见 [Dockerfile-ubuntu](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/Dockerfile-ubuntu)_ #### 带代理的镜像(包含编码代理 CLI) 这些镜像预装了 Claude Code, OpenAI Codex, Gemini CLI 和 GitHub Copilot,是 [AI 编码代理自动修复功能](https://sfdx-hardis.cloudity.com/salesforce-ai-setup/) 所必需的。 - 基于 Linux **Alpine** 的镜像(可在 GitLab 上运行) - Docker Hub: [**hardisgroupcom/sfdx-hardis-with-agents:latest**](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis-with-agents) - GitHub Packages: [**ghcr.io/hardisgroupcom/sfdx-hardis-with-agents:latest**](https://github.com/hardisgroupcom/sfdx-hardis/pkgs/container/sfdx-hardis-with-agents) _参见 [Dockerfile](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/Dockerfile)_ - 基于 Linux **Ubuntu** 的镜像(可在 GitHub, Azure 和 Bitbucket 上运行 - 推荐用于编码代理) - Docker Hub: [**hardisgroupcom/sfdx-hardis-ubuntu-with-agents:latest**](https://hub.docker.com/r/hardisgroupcom/sfdx-hardis-ubuntu-with-agents) - GitHub Packages: [**ghcr.io/hardisgroupcom/sfdx-hardis-ubuntu-with-agents:latest**](https://github.com/hardisgroupcom/sfdx-hardis/pkgs/container/sfdx-hardis-ubuntu-with-agents) _参见 [Dockerfile-ubuntu](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/Dockerfile-ubuntu)_ ## 使用方法 ``` sf hardis: ``` ## 活动 ### 2. "French Touch Dreamin '25" – "French Touch" might be a proper noun, "Dreamin" could be a proper event name, "'25" is year. So keep the whole in English. But if I must translate, perhaps "French Touch Dreamin '25" in English, but the user might want Chinese characters. Maybe "French Touch Dreamin '25" as is, since it's an event name. 无需重新配置所有内容即可刷新完整的沙盒 - 与 [Mehdi Abdennasser](https://www.linkedin.com/in/mehdi-abdennasser/) 法国巴黎 - 2025年12月2日 Untitled design (14) ### 3. "DevOps Dreamin" – Similarly, "DevOps" is a technical term, keep in English. "Dreamin" same as above. 为什么您不需要 DevOps 供应商工具 英国伦敦 - 2025年11月20日 Untitled design (13) ### Trailblazer User Group '25, 卡萨布兰卡 [使用开源工具和 Agentforce 进行 Salesforce 组织文档化](https://trailblazercommunitygroups.com/events/details/salesforce-salesforce-developer-group-casablanca-morocco-presents-salesforce-org-documentation-with-open-source-and-agentforce-salesforce-integration-with-connected-app/),由 [Taha Basri](https://www.linkedin.com/in/tahabasri/) 主讲 ![](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/dc550d0e1a084832.png) ### Trailblazer Developer Group '25, 柏林(线上) [文档之夏 – 像专家一样为您的 Salesforce 组织自动生成文档](https://trailblazercommunitygroups.com/events/details/salesforce-salesforce-developer-group-berlin-germany-presents-summer-of-docs-auto-document-your-salesforce-org-like-a-pro/),由 [Mariia Pyvovarchuk](https://www.linkedin.com/in/mpyvo/) (Aspect) 和 [Roman Hentschke](https://www.linkedin.com/in/derroman/) 主讲 ![](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/9846caaf8f084833.png) ### London's Calling '25, 伦敦 [使用开源工具和 Agentforce 自动生成您的 SF 项目文档站点](https://www.londonscalling.net/sessions/auto-generate-your-sf-project-documentation-site-with-open-source-and-agentforce/) ![图片](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/4f8d422705084835.png) ### Czech Dreamin '25, 布拉格 [使用开源工具和 Agentforce 自动生成您的 SF 项目文档站点](https://czechdreamin.com/2025/),与 [Mariia Pyvovarchuk](https://www.linkedin.com/in/mpyvo/) 合作 ![Czech Dreamin 2025](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/72a1237748084837.png) ### Trailblazer Admin Group '25, 里昂 [管理者的科技:下班后 Salesforce Inspector Reloaded & sfdx-hardis](https://trailblazercommunitygroups.com/events/details/salesforce-salesforce-admin-group-lyon-france-presents-afterwork-salesforce-inspector-reloaded-et-sfdx-hardis-avec-cloudity/),与 [Thomas Prouvot](https://www.linkedin.com/in/thomasprouvot/) 合作 ![](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/2461e0f57f084840.png) ### Dreamforce 2024, 旧金山 [通过开源工具监控您的组织来拯救局面](https://reg.salesforce.com/flow/plus/df24/sessioncatalog/page/catalog/session/1718915808069001Q7HH),与 [Olga Shirikova](https://www.linkedin.com/in/olga-shirokova/) 合作 [![Dreamforce 2024 视频](https://img.youtube.com/vi/NxiLiYeo11A/0.jpg)](https://www.youtube.com/watch?v=NxiLiYeo11A) ### Wir Sind Ohana '24, 柏林 [使用纯开源工具自动化监控您的 Salesforce 组织!](https://wirsindohana.wordpress.com/),与 [Yosra Saidani](https://www.linkedin.com/in/yosra-saidani-mvp/) 合作 [![Wir Sind Ohana 视频](https://img.youtube.com/vi/xGbT6at7RZ0/0.jpg)](https://www.youtube.com/watch?v=xGbT6at7RZ0) ### Polish Dreamin '24, 弗罗茨瓦夫, 波兰 [使用纯开源工具实现轻松完整的 Salesforce CI/CD!](https://coffeeforce.pl/dreamin/speaker/nicolas-vuillamy/),与 [Wojciech Suwiński](https://www.linkedin.com/in/wsuwinski/) 合作 ![Polish Dreamin 2024](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/406945d3cb084842.png) ### French Touch Dreamin '23, 巴黎 [使用纯开源工具自动化监控您的 Salesforce 组织!](https://frenchtouchdreamin.com/index.php/french-touch-dreamin-2023/),与 [Maxime Guenego](https://www.linkedin.com/in/maxime-guenego/) 合作 ![French Touch Dreamin 2023](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/5dcdee382f084844.png) ### Dreamforce 2023, 旧金山 [借助 sfdx-hardis,仅用开源工具和点击操作即可轻松实现 Salesforce CI/CD!](https://reg.salesforce.com/flow/plus/df23/sessioncatalog/page/catalog/session/1684196389783001OqEl),与 [Jean-Pierre Rizzi](https://www.linkedin.com/in/jprizzi/) 合作 [![Dreamforce 2023 视频](https://img.youtube.com/vi/o0Mm9F07UFs/0.jpg)](https://www.youtube.com/watch?v=o0Mm9F07UFs) ### Yeur Dreamin' 2023, 布鲁塞尔 [使用纯开源工具实现轻松完整的 Salesforce CI/CD 发布管理!](https://www.yeurdreamin.eu/2023-sessions/),与 [Angélique Picoreau](https://www.linkedin.com/in/ang%C3%A9lique-picoreau-35328b36/) 合作 [![图片](https://github.com/nvuillam/nvuillam/assets/17500430/6470df20-7449-444b-a0a5-7dc22f5f6188)](https://www.linkedin.com/posts/nicolas-vuillamy_cicd-opensource-trailblazercommunity-activity-7076859027321704448-F1g-?utm_source=share&utm_medium=member_desktop) ## 文章与视频 ### 网络文章 以下是一些关于 [sfdx-hardis](https://sfdx-hardis.cloudity.com/) 的文章 - 英文 [![Conga 部署速查表](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/ddb4ba6eec084848.jpg)](https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b) [![问答](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/1bfb74305e084849.jpg)](https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476) [![Salesforce 开发者播客](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/272daeeeca084850.jpg)](https://developer.salesforce.com/podcast/2023/06/sfdx) [![sfdx-hardis:一个开源的发布管理工具](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/4ee99b0aa4084851.jpg)](https://salesforcedevops.net/index.php/2023/03/01/sfdx-hardis-open-source-salesforce-release-management/) [![Salesforce 部署错误的辅助解决](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/098bb83adb084853.jpg)](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0) [像专家一样处理 Salesforce API 版本弃用](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-deprecated-api.jpg)](https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238) [如何批量下载 Salesforce 组织的笔记和附件文件](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-mass-download.jpg)](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd) [如何在 Salesforce 部署期间冻结/解冻用户](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-freeze.jpg)](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3) [如何使用 SFDX Data Loader 和 sfdx-hardis 检测 Salesforce 记录中的不良词汇](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-badwords.jpg)](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac) [在 3 次点击内重新激活所有带有 .invalid 邮箱的沙盒用户](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-email.jpg)](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d) [无效范围:Mine,不允许?依然部署您的 ListViews!](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7) - 法文 - [Salesforce API 版本已弃用:怎么办?](https://leblog.hardis-group.com/portfolio/versions-dapi-salesforce-decommissionnees-que-faire/) - [批量导出 Salesforce 组织的文件](https://leblog.hardis-group.com/portfolio/exporter-en-masse-les-fichiers-dune-org-salesforce/) - [在 Salesforce 上线生产期间暂停用户访问](https://leblog.hardis-group.com/portfolio/suspendre-lacces-aux-utilisateurs-lors-dune-mise-en-production-salesforce/) ### 录制会议 #### Dreamforce 会议 - Dreamforce 2024 - 通过开源工具监控您的组织来拯救局面 (与 Olga Shirikova 合作) [![Dreamforce 2024:通过开源工具监控您的组织来拯救局面](https://img.youtube.com/vi/NxiLiYeo11A/0.jpg)](https://www.youtube.com/watch?v=NxiLiYeo11A){target=blank} - Dreamforce 2023 - 借助 sfdx-hardis,仅用开源工具和点击操作即可轻松实现 Salesforce CI/CD! (与 Jean-Pierre Rizzi 合作) [![Dreamforce 2023:使用开源工具轻松实现 Salesforce CI/CD](https://img.youtube.com/vi/o0Mm9F07UFs/0.jpg)](https://www.youtube.com/watch?v=o0Mm9F07UFs){target=blank} #### 社区活动 - Wir Sind Ohana 2024 - 使用纯开源工具自动化监控您的 Salesforce 组织! (与 Yosra Saidani 合作) [![Wir Sind Ohana 2024:使用开源工具自动化监控](https://img.youtube.com/vi/xGbT6at7RZ0/0.jpg)](https://www.youtube.com/watch?v=xGbT6at7RZ0){target=blank} ### 播客 - SalesforceBen Deep Dives with Peter Chittum, 2025: _**使用 SFDX Hardis 简化 Salesforce 部署**_ [![视频](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/cb15f6e11c084855.png)](https://www.youtube.com/watch?v=vtWx_IWoL9k) - Apex Hours 2025 - 使用 Grafana + AI 生成的文档进行组织监控 [![Apex Hours 2025:使用 Grafana + AI 生成的文档进行组织监控](https://img.youtube.com/vi/oDaCh66pRcI/0.jpg)](https://www.youtube.com/watch?v=oDaCh66pRcI){target=blank} - Salesforce Way Podcast #102 - 与 Nicolas Vuillamy 聊 sfdx-hardis [![Salesforce Way Podcast: sfdx-hardis](https://img.youtube.com/vi/sfdx-hardis/0.jpg)](https://salesforceway.com/podcast/sfdx-hardis/){target=blank} - Salesforce Developers Podcast 第 182 集:与 Nicolas Vuillamy 聊 SFDX-Hardis [![Salesforce Developers Podcast](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/272daeeeca084850.jpg)](https://developer.salesforce.com/podcast/2023/06/sfdx){target=blank} ### sfdx-hardis 使用 #### 功能概览 - sfdx-hardis 2025 新功能概览 [![sfdx-hardis 2025 新功能](https://img.youtube.com/vi/JRKH5COUVQ0/0.jpg)](https://youtu.be/JRKH5COUVQ0){target=blank} - SFDX-HARDIS – 来自 Cloudity 的 Nicolas Vuillamy 的演示 [![SalesforceDevOps.net 演示](https://img.youtube.com/vi/qP6MaZUGzik/0.jpg)](https://www.youtube.com/watch?v=qP6MaZUGzik){target=blank} #### 安装与设置 - sfdx-hardis 完整安装教程 - [📖 文档](https://sfdx-hardis.cloudity.com/installation/) [![安装教程](https://img.youtube.com/vi/LA8m-t7CjHA/0.jpg)](https://www.youtube.com/watch?v=LA8m-t7CjHA){target=blank} #### CI/CD 工作流 - Salesforce 项目的完整 CI/CD 工作流 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-home/) [![Dreamforce 演示视频:使用 sfdx-hardis 和纯开源工具轻松实现 Salesforce CI/CD!](https://img.youtube.com/vi/zEYqTd2txU4/0.jpg)](https://www.youtube.com/watch?v=zEYqTd2txU4){target=blank} - 如何在沙盒中启动新的用户故事 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-create-new-task/) [![创建新用户故事](https://img.youtube.com/vi/WOqssZwjPhw/0.jpg)](https://www.youtube.com/watch?v=WOqssZwjPhw){target=blank} - 如何提交更新并创建合并请求 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/) [![发布用户故事教程](https://img.youtube.com/vi/Ik6whtflmfY/0.jpg)](https://www.youtube.com/watch?v=Ik6whtflmfY){target=blank} - 如何在 Visual Studio Code 中解决 git 合并冲突 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-validate-merge-request/) [![合并冲突解决](https://img.youtube.com/vi/lz5OuKzvadQ/0.jpg)](https://www.youtube.com/watch?v=lz5OuKzvadQ){target=blank} - 如何在您的组织中安装包 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-work-on-task-install-packages/) [![安装包教程](https://img.youtube.com/vi/5-MgqoSLUls/0.jpg)](https://www.youtube.com/watch?v=5-MgqoSLUls){target=blank} - 配置 CI 服务器对 Salesforce 组织的身份验证 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-auth/) [![配置 CI 身份验证](https://img.youtube.com/vi/OzREUu5utVI/0.jpg)](https://www.youtube.com/watch?v=OzREUu5utVI){target=blank} #### 监控 - 如何为您的 Salesforce 组织配置监控 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-monitoring-config-home/) [![组织监控设置](https://img.youtube.com/vi/bcVdN0XItSc/0.jpg)](https://www.youtube.com/watch?v=bcVdN0XItSc){target=blank} #### 集成 - 配置 Slack 集成以接收部署通知 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-slack/) [![Slack 集成](https://img.youtube.com/vi/se292ABGUmI/0.jpg)](https://www.youtube.com/watch?v=se292ABGUmI){target=blank} - 如何在 GitLab 中创建个人访问令牌 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-clone-repository/) [![GitLab 个人访问令牌](https://img.youtube.com/vi/9y5VmmYHuIg/0.jpg)](https://www.youtube.com/watch?v=9y5VmmYHuIg){target=blank} #### 文档 - 如何生成 AI 增强的 Salesforce 项目文档 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-project-doc-generate/) [![生成项目文档](https://img.youtube.com/vi/ZrVPN3jp1Ac/0.jpg)](https://www.youtube.com/watch?v=ZrVPN3jp1Ac){target=blank} - 在 Cloudflare 免费套餐上托管您的文档 - [📖 文档](https://sfdx-hardis.cloudity.com/salesforce-project-doc-cloudflare/) [![Cloudflare 文档托管设置](https://img.youtube.com/vi/AUipbKjgsDI/0.jpg)](https://www.youtube.com/watch?v=AUipbKjgsDI){target=blank} ## 贡献指南 欢迎每个人为 sfdx-hardis 做贡献(即使是新手:我们会协助您!) ### Salesforce CLI 插件:sfdx-hardis - 安装 Node.js([推荐版本](https://nodejs.org/en/)) - 通过运行 `npm install typescript --global` 安装 typescript - 通过运行 `npm install yarn --global` 安装 yarn - 通过命令行运行 `npm install @salesforce/cli --global` 安装 Salesforce DX - Fork 并克隆它(如果您是内部贡献者,则直接克隆) - 在仓库根目录: - 运行 `yarn` 安装依赖项 - 运行 `sf plugins link` 将本地的 sfdx-hardis 链接到 SFDX CLI - 运行 `tsc --watch` 以便在每次更新 TS 文件时将 typescript 转译为 js - 使用 `NODE_OPTIONS=--inspect-brk sf hardis:somecommand --someparameter somevalue` 调试命令(您也可以使用 VsCode Sfdx-Hardis 设置调试命令) 注意:要从 CI 测试功能,您可以在运行 sfdx-hardis 命令之前,在工作流中添加以下代码: ``` REPO_URL="https://github.com/hardisgroupcom/sfdx-hardis.git" # or your forked repo URL GIT_BRANCH="fixes/my-git-branch" # or the branch you want to test TEMP_DIR=$(mktemp -d) git clone "$REPO_URL" "$TEMP_DIR" cd "$TEMP_DIR" git checkout "$GIT_BRANCH" yarn npm install typescript --global tsc sf plugins link cd - ``` ### VsCode 扩展:vscode-sfdx-hardis - 安装 Node.js([推荐版本](https://nodejs.org/en/)) - 通过运行 `npm install typescript --global` 安装 typescript - 通过运行 `npm install yarn --global` 安装 yarn - 安装 Visual Studio Code Insiders([在此下载](https://code.visualstudio.com/insiders/)) - Fork 并克隆它(如果您是内部贡献者,则直接克隆) - 在仓库根目录: - 运行 `yarn` 安装依赖项 - 要在 VsCode 扩展中测试您的代码: - 在 VsCode Insiders 中打开 `vscode-sfdx-hardis` 文件夹 - 按 `F5` 打开一个加载了扩展的新 VsCode 窗口(或菜单 Run -> Start Debugging) - 在新窗口中,打开一个 Salesforce DX 项目 - 从命令面板 (Ctrl+Shift+P) 运行命令,或使用面板或 Webviews 中的按钮 ## 依赖项 **sfdx-hardis** 部分依赖于以下 SFDX 开源包 - [SFDX Git Delta](https://github.com/scolladon/sfdx-git-delta) - [Salesforce Data Move Utility](https://github.com/forcedotcom/SFDX-Data-Move-Utility) ## 贡献者 ### 组织 sfdx-hardis 主要由 Nicolas Vuillamy 和 [Cloudity](https://www.cloudity.com/) 领导,但也有很多外部贡献者,我们无法充分感谢他们! ### 拉取请求作者 ### 特别感谢 - [Roman Hentschke](https://www.linkedin.com/in/derroman/),构建了 BitBucket CI/CD 集成和德语翻译 - [Leo Jokinen](https://www.linkedin.com/in/leojokinen/),构建了 GitHub CI/CD 集成 - [Mariia Pyvovarchuk](https://www.linkedin.com/in/mpyvo/),她在生成自动化文档方面的工作 - [Matheus Delazeri](https://www.linkedin.com/in/matheus-delazeri-souza/),文档的 PDF 输出和巴西葡萄牙语翻译 - [Taha Basri](https://www.linkedin.com/in/tahabasri/),他在生成 LWC 文档方面的工作 - [Anush Poudel](https://www.linkedin.com/in/anushpoudel/),使用 langchainJs 将 sfdx-hardis 与多个 LLM 集成 - [Sebastien Colladon](https://www.linkedin.com/in/sebastien-colladon/),提供了 sfdx-git-delta,它在 sfdx-hardis 中被广泛使用 - [Stepan Stepanov](https://www.linkedin.com/in/stepan-stepanov-79a48734/),实现了带依赖项的增量部署模式 - [Shamina Mossodeean](https://www.linkedin.com/in/shaminam/),自动化 SF 分解元数据 - [Michael Havrilla](https://www.linkedin.com/in/%F0%9F%92%BB-michael-havrilla-69063036/),与 Vector.dev 集成,允许将监控日志提供给外部系统(如 DataDog) - [Teoman Sertcelik](https://www.linkedin.com/in/teoman-sertcelik/),允许使用 External Client App 配置身份验证 - [Fernando Fernandez](https://www.linkedin.com/in/fernandofernandez1/),那个[检测对象字段使用情况](https://sfdx-hardis.cloudity.com/hardis/doc/object-field-usage/)的出色命令 - [Yamilet Oliva](https://www.linkedin.com/in/yamiletoliva/),sfdx-hardis 西班牙语翻译 - [Shinnosuke Takakura](https://www.linkedin.com/in/shinnosuke-takakura-9041ba217/),sfdx-hardis 日语翻译 - [Dagmara Ryborz](https://www.linkedin.com/in/dagmara-ryborz-7618b991/),波兰语翻译 - [Matt Carvin](https://www.linkedin.com/in/matthew-carvin/),未充分利用的权限集命令 - [Salik Lennert Pedersen](https://www.linkedin.com/in/saliklp/),他众多的错误修复 - [Ryad Meguimi](https://www.linkedin.com/in/ryad-meguimi/),明暗模式和整个 CSS 重构 - [Nicholas Fiorendi](https://www.linkedin.com/in/nicholas-fiorendi/),意大利语翻译 - [Timo Pouw](https://www.linkedin.com/in/timopouw/),荷兰语翻译 - 英语: [Nicolas Vuillamy](https://www.linkedin.com/in/nicolas-vuillamy/) (如果有人有兴趣改进英语,请联系我!) - 法语: [Nicolas Vuillamy](https://www.linkedin.com/in/nicolas-vuillamy/) - 西班牙语: [Yamilet Oliva](https://www.linkedin.com/in/yamiletoliva/) - 德语: [Roman Hentschke](https://www.linkedin.com/in/derroman/) - 波兰语: [Dagmara Ryborz](https://www.linkedin.com/in/dagmara-ryborz-7618b991/) - 日语: [Shinnosuke Takakura](https://www.linkedin.com/in/shinnosuke-takakura-9041ba217/) - 巴西葡萄牙语: [Matheus Delazeri](https://www.linkedin.com/in/matheus-delazeri-souza/) - 意大利语: [Nicholas Fiorendi](https://www.linkedin.com/in/nicholas-fiorendi/) - 荷兰语: [Timo Pouw](https://www.linkedin.com/in/timopouw/) ## 命令 [**阅读在线文档,了解使用 SFDX Hardis 可以做的所有事情 :)**](https://sfdx-hardis.cloudity.com)
标签:AI文档, DevOps工具, MITM代理, Node.js应用, Salesforce平台, SFDX框架, 云开发, 交互式向导, 元数据管理, 备份系统, 开源框架, 持续部署, 持续集成, 监控工具, 网络安全研究, 自动化攻击, 自动化流水线, 请求拦截