Skip to content

French-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native sfdx + Allows you to define a complete CI/CD Pipeline and Schedule a daily Metadata backup & monitoring of your orgs + Flow Visual Git Diff

License

Notifications You must be signed in to change notification settings

hardisgroupcom/sfdx-hardis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 26, 2024
52427b1 · Jul 26, 2024
Jul 9, 2024
May 14, 2024
Jan 26, 2021
Jul 26, 2024
Jul 14, 2024
Jul 26, 2024
Sep 17, 2023
Jan 30, 2023
Jul 26, 2024
Feb 21, 2024
Jan 31, 2021
Jan 26, 2021
Jan 30, 2023
Apr 23, 2021
Apr 29, 2021
Mar 30, 2023
Jul 14, 2024
Feb 21, 2024
Jan 31, 2023
May 23, 2024
Mar 14, 2023
Jun 18, 2024
Jul 26, 2024
Feb 2, 2024
Jan 25, 2021
Jul 14, 2024
Aug 31, 2021
Jul 1, 2024
Jul 14, 2024
Jul 26, 2024
Feb 21, 2024
Jun 29, 2024

Repository files navigation

sfdx-hardis by Cloudity Banner

sfdx-hardis

Presented at Dreamforce 23!

Version Downloads/week Downloads/total Docker Pulls GitHub stars GitHub contributors Mega-Linter Secured with Trivy License PRs Welcome

Toolbox for Salesforce DX, by Cloudity, natively compliant with most platforms and tools

Native Integrations

It will allow you to:

Please see the full list of commands in Online documentation

sfdx-hardis commands are also available with UI in SFDX Hardis Visual Studio Code Extension

VsCode SFDX Hardis

See Dreamforce presentation

See Dreamforce presentation

Installation

With IDE

You can install Visual Studio Code extension VsCode SFDX Hardis

Once installed, click on Hardis Group button in VsCode left bar, and follow the additional installation instructions

Installation tutorial

As SFDX Plugin

Pre-requisites

  • Install Node.js (recommended version)
  • Install Salesforce DX by running npm install @salesforce/cli --global command line

Plugin installation

sfdx plugins:install sfdx-hardis

For advanced use, please also install dependencies

sf plugins install @salesforce/plugin-packaging
sfdx plugins:install sfdmu
sfdx plugins:install sfdx-git-delta
sfdx plugins:install sfdx-essentials
sfdx plugins:install texei-sfdx-plugin

If you are using CI/CD scripts, use echo y | sfdx plugins:install ... to bypass prompt.

Docker

You can use sfdx-hardis docker images to run in CI

See Dockerfile

Usage

sfdx hardis:<COMMAND> <OPTIONS>

Articles

Here are some articles about sfdx-hardis

  • English

Conga Deployment Cheat Sheet Questions/Answers Salesforce Developers Podcast sfdx-hardis: A release management tool for open-source Assisted solving of Salesforce deployments errors Handle Salesforce API versions Deprecation like a pro How to mass download notes and attachments files from a Salesforce org How to freeze / unfreeze users during a Salesforce deployment How to detect bad words in Salesforce records using SFDX Data Loader and sfdx-hardis Reactivate all the sandbox users with .invalid emails in 3 clicks Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !

Contributing

Anyone is welcome to contribute to this sfdx-hardis

  • Install Node.js (recommended version)
  • Install typescript by running npm install typescript --global
  • Install yarn by running npm install yarn --global
  • Install Salesforce DX by running npm install @salesforce/cli --global command line
  • Fork this repo and clone it (or just clone if you are an internal contributor)
  • At the root of the repository:
    • Run yarn to install dependencies
    • Run sf plugins link to link the local sfdx-hardis to SFDX CLI
    • Run tsc --watch to transpile typescript into js everytime you update a TS file
  • Debug commands using NODE_OPTIONS=--inspect-brk sfdx hardis:somecommand -someparameter somevalue

Dependencies

sfdx-hardis partially relies on the following SFDX Open-Source packages

Contributors

Commands

Read Online Documentation