Skip to content

Commands

hardis:auth

Command Title
hardis:auth:login Login

hardis:cache

Command Title
hardis:cache:clear Clear sfdx-hardis cache

hardis:config

Command Title
hardis:config:get Deploy metadata sources to org
hardis:config:monitoring-defaults Get monitoring & notification defaults
hardis:config:org-init Get org initialization configuration (Beta)

hardis:datacloud

Command Title
hardis:datacloud:extract:agentforce-conversations Extract Agentforce Conversations Data from Data Cloud
hardis:datacloud:extract:agentforce-feedback Extract Agentforce Feedback Data from Data Cloud
hardis:datacloud:sql-query Execute a SQL query on Data Cloud

hardis:deploy

Command Title
hardis:deploy:quick sfdx-hardis wrapper for sf project deploy quick that displays tips to solve deployment errors.
hardis:deploy:start sfdx-hardis wrapper for sf project deploy start that displays tips to solve deployment errors.
hardis:deploy:validate sfdx-hardis wrapper for sf project deploy validate that displays tips to solve deployment errors.

hardis:doc

Command Title
hardis:doc:data-dictionary Generates an Excel (.xlsx) data dictionary for one or more Salesforce objects, read live from the target org, including Data Cloud (Data 360) Data Model Objects and Data Lake Objects.
hardis:doc:dora-report DORA Metrics Report
hardis:doc:extract:permsetgroups Generate project documentation
hardis:doc:fieldusage Retrieves and displays the usage of custom fields within a Salesforce org, based on metadata dependencies.
hardis:doc:flow2markdown Flow to Markdown
hardis:doc:metadata-deps Find metadata dependencies
hardis:doc:mkdocs-to-cf MkDocs to Cloudflare
hardis:doc:mkdocs-to-confluence MkDocs to Confluence
hardis:doc:mkdocs-to-salesforce MkDocs to Salesforce
hardis:doc:object-field-usage Analyzes how populated fields are for a specific Salesforce object.
hardis:doc:override-prompts Override AI Prompt Templates
hardis:doc:packagexml2markdown PackageXml to Markdown
hardis:doc:plugin:generate Generate SF Cli Plugin Documentation
hardis:doc:project2markdown SFDX Project to Markdown
hardis:doc:release-notes Release Notes

hardis:doctor

Command Title
hardis:doctor Doctor

hardis:git

Command Title
hardis:git:artifacts:download Download job artifacts
hardis:git:pull-requests:extract Extract pull requests

hardis:lint

Command Title
hardis:lint:access check permission access
hardis:lint:metadatastatus check inactive metadatas
hardis:lint:missingattributes check missing description on custom fields
hardis:lint:unusedmetadatas check unused labels and custom permissions

hardis:mdapi

Command Title
hardis:mdapi:deploy A wrapper command for Salesforce CLI's sf project deploy start (formerly sfdx force:mdapi:deploy), designed to assist with deployment error resolution.
hardis:mdapi:read Read metadata using the CRUD-based Metadata API
hardis:mdapi:upsert Upsert metadata using the CRUD-based Metadata API

hardis:misc

Command Title
hardis:misc:custom-label-translations Custom Label Translations
hardis:misc:purge-references Purge References
hardis:misc:servicenow-report ServiceNow Report
hardis:misc:toml2csv TOML to CSV

hardis:org

Command Title
hardis:org:community:update Update a community status.
hardis:org:configure:data Configure Data project
hardis:org:configure:files Configure File export project
hardis:org:configure:generic-prompt Configure Generic Prompt Template
hardis:org:configure:grafana-dashboards Install Grafana dashboards
hardis:org:configure:monitoring Configure org monitoring
hardis:org:connect Connect to an org
hardis:org:create Create sandbox org
hardis:org:data:delete Delete data
hardis:org:data:export Export data
hardis:org:data:import Import data
hardis:org:diagnose:ai-usage Check Agentforce and Data 360 credit usage
hardis:org:diagnose:apex-api-version Check Apex classes and triggers for deprecated API versions
hardis:org:diagnose:audittrail Diagnose content of Setup Audit Trail
hardis:org:diagnose:consumption-alerts Check consumption utilization alerts
hardis:org:diagnose:deployments Analyze metadata deployments and validations
hardis:org:diagnose:flex-queue Monitor Apex flex queue (AsyncApexJob Holding)
hardis:org:diagnose:instanceupgrade Get Instance Upgrade date
hardis:org:diagnose:legacyapi Check for legacy API use
hardis:org:diagnose:licenses List licenses subscribed and used in a Salesforce org
hardis:org:diagnose:mfa Diagnose MFA configuration
hardis:org:diagnose:minimalpermsets Detect permission sets with minimal permissions
hardis:org:diagnose:releaseupdates Check Release Updates of an org
hardis:org:diagnose:storage-stats Extract Data Storage stats
hardis:org:diagnose:underusedpermsets Detect underused Permission Sets
hardis:org:diagnose:unsecure-connected-apps Detect Unsecured Connected Apps
hardis:org:diagnose:unsecure-permissions Audit dangerous permissions
hardis:org:diagnose:unused-apex-classes Detect unused Apex classes in an org
hardis:org:diagnose:unused-connected-apps Unused Connected Apps in an org
hardis:org:diagnose:unusedlicenses Detect unused Permission Set Licenses (beta)
hardis:org:diagnose:unusedusers Detect unused Users in Salesforce
hardis:org:diagnose:usage-entitlements Check usage-based entitlements
hardis:org:ext-client-app:rotate-credentials Rotate External Client App Credentials
hardis:org:files:export Export files
hardis:org:files:import Import files
hardis:org:fix:listviewmine Fix listviews with
hardis:org:generate:packagexmlfull Generate Full Org package.xml
hardis:org:init Initialize a scratch org or a sandbox (Beta)
hardis:org:list:metadata List metadata components of an org
hardis:org:monitor:all Monitor org
hardis:org:monitor:backup Backup DX sources
hardis:org:monitor:errors Monitor Apex and Flow errors
hardis:org:monitor:health-check Check org security health
hardis:org:monitor:limits Check org limits
hardis:org:multi-org-query Multiple Orgs SOQL Query
hardis:org:purge:apexlog Purge Apex Logs
hardis:org:purge:flow Purge Flow versions
hardis:org:purge:profile Remove PS attributes from Profile
hardis:org:refresh:after-refresh Restore Connected Apps after org refresh
hardis:org:refresh:before-refresh > This command must always be run by a human. It is intentionally interactive and must not be called by an AI agent.
hardis:org:retrieve:packageconfig Retrieve package configuration from an org
hardis:org:retrieve:sources:analytics Retrieve CRM Analytics configuration from an org
hardis:org:retrieve:sources:dx Retrieve sfdx sources from org
hardis:org:retrieve:sources:dx2 Retrieve sfdx sources from org (2)
hardis:org:retrieve:sources:metadata Retrieve sfdx sources from org
hardis:org:retrieve:sources:retrofit Retrofit changes from an org
hardis:org:select Select org
hardis:org:test:agents Run agent tests
hardis:org:test:apex Run apex tests
hardis:org:user:activateinvalid Reactivate sandbox invalid users
hardis:org:user:freeze Freeze user logins
hardis:org:user:unfreeze Unfreeze user logins
hardis:org:user:unlink-security-key Unlink user security keys / MFA methods

hardis:package

Command Title
hardis📦create Create a new package
hardis📦install Install packages in an org
hardis📦mergexml Merge package.xml files
hardis📦version:create Create a new version of a package
hardis📦version:list Create a new version of a package
hardis📦version:promote Promote new versions of package(s)

hardis:packagexml

Command Title
hardis:packagexml:append Appends the content of one or more Salesforce package.xml files into a single target package.xml file.
hardis:packagexml:remove Removes metadata components from a package.xml file using either another package.xml as a filter or inline metadata type/member specifications.
hardis:packagexml:remove-managed Removes all managed package items from a package.xml file, while preserving custom metadata created on top of managed objects.

hardis:project

Command Title
hardis:project:action:create Create deployment action
hardis:project:action:delete Delete deployment action
hardis:project:action:link-pull-request Link draft actions to a pull request
hardis:project:action:list List deployment actions
hardis:project:action:reorder Reorder deployment actions
hardis:project:action:run Run a deployment action
hardis:project:action:set-status Set the status of a deployment action
hardis:project:action:test-class:add Add deployment Apex test class
hardis:project:action:test-class:list List deployment Apex test classes
hardis:project:action:test-class:remove Remove deployment Apex test class
hardis:project:action:update Update deployment action
hardis:project:audit:apiversion Audit Metadatas API Version
hardis:project:audit:callincallout Audit CallIns and CallOuts
hardis:project:audit:duplicatefiles Find duplicate sfdx files
hardis:project:audit:remotesites Audit Remote Sites
hardis:project:clean:emptyitems Clean retrieved empty items in dx sources
hardis:project:clean:filter-xml-content Filters the content of Salesforce metadata XML files to remove specific elements, enabling more granular deployments.
hardis:project:clean:flowpositions Clean Flow Positions
hardis:project:clean:hiddenitems Clean retrieved hidden items in dx sources
hardis:project:clean:listviews Replace Mine by Everything in ListViews
hardis:project:clean:manageditems Clean retrieved managed items in dx sources
hardis:project:clean:minimizeprofiles Clean profiles of Permission Set attributes
hardis:project:clean:orgmissingitems Clean SFDX items using target org definition
hardis:project:clean:profiles-extract Guides administrators through extracting Salesforce profiles, personas, and related metadata into structured CSV/XLSX deliverables.
hardis:project:clean:references Clean references in dx sources
hardis:project:clean:retrievefolders Retrieve dashboards, documents and report folders in DX sources
hardis:project:clean:sensitive-metadatas Clean Sensitive Metadatas
hardis:project:clean:standarditems Clean retrieved standard items in dx sources
hardis:project:clean:systemdebug Clean System debug
hardis:project:clean:xml Clean retrieved empty items in dx sources
hardis:project:configure:auth Configure authentication
hardis:project:convert:profilestopermsets Convert Profiles into Permission Sets
hardis:project:create Login
hardis:project:deploy:notify Deployment Notifications
hardis:project:deploy:quick sfdx-hardis wrapper for sf project deploy quick that displays tips to solve deployment errors.
hardis:project:deploy:simulate Simulate the deployment of metadata in an org prompted to the user.
Used by VS Code extension.
hardis:project:deploy:smart Smart Deploy sfdx sources to org
hardis:project:deploy:sources:dx Smart Deploy sfdx sources to org
hardis:project:deploy:sources:metadata Deploy metadata sources to org
hardis:project:deploy:start sfdx-hardis wrapper for sf project deploy start that displays tips to solve deployment errors.
hardis:project:deploy:validate sfdx-hardis wrapper for sf project deploy validate that displays tips to solve deployment errors.
hardis:project:fix:profiletabs Fix profiles to add tabs that are not retrieved by SF CLI
hardis:project:fix:v53flexipages Fix flexipages for v53
hardis:project:function:create Create custom function
hardis:project:function:delete Delete custom function
hardis:project:function:list List custom functions
hardis:project:function:update Update custom function
hardis:project:generate:bypass Generates custom permissions and permission sets to bypass specified Salesforce automations (Flows, Triggers, and Validation Rules) for specific sObjects, with optional automatic implementation of bypass logic.
hardis:project:generate:flow-git-diff Generate Flow Visual Gif Diff
hardis:project:generate:gitdelta Generate Git Delta
hardis:project:lint Lint
hardis:project:metadata:activate-decomposed Activate Decomposed Metadata (Beta)
hardis:project:metadata:findduplicates XML duplicate values finder
hardis:project:pipeline:describe Describe the pipeline of the project
hardis:project:promotion:create Create a promotion branch (Beta)
hardis:project:promotion:list-candidates List the User Stories waiting for promotion (Beta)
hardis:project:replacement:create Create replacement rule (Beta)
hardis:project:replacement:delete Delete replacement rule (Beta)
hardis:project:replacement:list List replacement rules (Beta)
hardis:project:replacement:preview Preview replacement rules (Beta)
hardis:project:replacement:update Update replacement rule (Beta)
hardis:project:skills:import Import Skills

hardis:scratch

Command Title
hardis:scratch:create Create and initialize scratch org
hardis:scratch:delete Delete scratch orgs(s)
hardis:scratch:pool:create Create and configure scratch org pool
hardis:scratch:pool:localauth Authenticate locally to scratch org pool
hardis:scratch:pool:refresh Refresh scratch org pool
hardis:scratch:pool:reset Reset scratch org pool
hardis:scratch:pool:view View scratch org pool info
hardis:scratch:pull Scratch PULL
hardis:scratch:push Scratch PUSH

hardis:source

Command Title
hardis:source:deploy sfdx-hardis wrapper for sfdx force:source:deploy that displays tips to solve deployment errors.
hardis:source:push sfdx-hardis wrapper for sfdx force:source:push that displays tips to solve deployment errors.
hardis:source:retrieve A wrapper command for Salesforce CLI's sf project retrieve start (formerly sfdx force:source:retrieve), with enhanced interactive features.

hardis:ticket

Command Title
hardis🎫get Get ticket
hardis🎫post-comment Post a comment on tickets
hardis🎫test-cases:init Initialize the test cases of a ticket
hardis🎫test-cases:upsert Upsert the test cases of a ticket

hardis:work

Command Title
hardis:work:backpromote Backpromote to a dev sandbox (Beta)
hardis:work:new New User Story
hardis:work:refresh Refresh User Story branch
hardis:work:resetselection Select again
hardis:work:save Save User Story
hardis:work:ws WebSocket operations

hello:world

Command Title
hello:world Say hello.

Comments