From 213c4403077800f67fdf836c7ec6bdc5ba3b26ff Mon Sep 17 00:00:00 2001 From: Matt Carvin <90224411+mcarvin8@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:46:14 -0500 Subject: [PATCH] docs: update hardis commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1de138a..005966e 100644 --- a/README.md +++ b/README.md @@ -120,8 +120,8 @@ A post-run hook has been configured if you opt into using it by creating a `.ape - `sf project deploy resume` - `sf apex run test` - `sf apex get test` -- `hardis:project:deploy:smart` (only if sfdx-hardis is installed and `COVERAGE_FORMATTER_JSON=true` environment variable is defined) -- `hardis:org:test:apex` (only if sfdx-hardis is installed) +- `sf hardis project deploy smart` (only if sfdx-hardis is installed and `COVERAGE_FORMATTER_JSON=true` environment variable is defined) +- `sf hardis org test apex` (only if sfdx-hardis is installed) You can copy the sample [Salesforce CLI .apexcodecovtransformer.config.json](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/defaults/salesforce-cli/.apexcodecovtransformer.config.json), which assumes you are running the Salesforce CLI commands and specifying the `--results-dir`/`--output-dir` directory as "coverage". Update this sample with your desired output report path and format.