Novelty Polygonal Mathematics

    sfdx-hardis

    2.43.1 • Public • Published

    Hardis Group Logo

    sfdx-hardis

    Version Mega-Linter Downloads/week Docker Pulls Secured with Trivy License PRs Welcome

    Toolbox for Salesforce DX, by Hardis-Group

    See Online documentation

    This toolbox contains commands than can be run locally or from CI. For the moment, it can :

    • BackUp / Monitoring tools
      • Retrieve all metadatas of an org
      • Retrieve all metadatas of an org and convert them into a Salesforce DX Project
    • Audit tools
      • Extract all CallIns and CallOuts from a SFDX project (or metadata) folder. Sort by SOAP, REST, HTTP
      • Extract all remote sites connected to an org. Sort by HTTP / HTTPS and domain
    • Help tools
      • Convert all profiles into permission sets
      • Purge obsolete flows versions

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

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

    Installation

    SFDX Plugin

    sfdx plugins:install sfdx-hardis

    For advanced use, please also install dependencies

    sfdx plugins:install sfdmu sfdx-git-delta sfdx-essentials sfpowerkit shane-sfdx-plugins texei-sfdx-plugin

    Docker

    You can use docker image hardisgroupcom/sfdx-hardis

    Usage

    sfdx hardis:<COMMAND> <OPTIONS>

    Use sfdx-hardis in CI

    You can use sfdx-hardis within CI scripts

    To do that, you need to configure authentication. This will create/update:

    • .sfdx-hardis.yml configuration file (repo)
    • Self signed certificate (repo)
    • Connected App (uploaded to org via metadata api)
    • SFDX_CLIENT_ID variable (manually set in a CI variable)

    Configure authentication

    You need openssl installed on your computer

    Run the following command and follow instructions

    sfdx hardis:project:configure:auth

    Alternative for DevHub

    sfdx hardis:project:configure:auth --devhub

    Authentication in CI

    Call sfdx hardis:login at the root of the repository where you configured authentication

    sfdx hardis:auth:login
    sfdx hardis:org:purge:flow --no-prompt

    Alternative for DevHub

    sfdx hardis:auth:login --devhub

    Contributing

    Anyone is welcome to contribute to this sfdx-hardis

    • Fork this repo and clone it
    • Run yarn to install dependencies
    • Run sfdx plugins:link to link the local sfdx-hardis to SFDX CLI
    • Run tsc --watchto transpile typescript
    • Debug commands using NODE_OPTIONS=--inspect-brk sfdx hardis:somecommand -someparameter somevalue

    Commands

    sfdx hardis:auth:login [-r <string>] [-h] [-s] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Login to salesforce org

    USAGE
      $ sfdx hardis:auth:login [-r <string>] [-h] [-s] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -h, --devhub                                                                      Also connect associated DevHub
      -r, --instanceurl=instanceurl                                                     URL of org instance
      -s, --scratchorg                                                                  Scratch org
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:auth:login
    

    See code: lib/commands/hardis/auth/login.js

    sfdx hardis:config:get [-l <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Returns sfdx-hardis project config for a given level

    USAGE
      $ sfdx hardis:config:get [-l <string>] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -l, --level=project|branch|user                                                   [default: project] project,branch or
                                                                                        user
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:deploy:sources:metadata
    

    See code: lib/commands/hardis/config/get.js

    sfdx hardis:doc:plugin:generate [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Generate Markdown documentation ready for HTML conversion with mkdocs

    USAGE
      $ sfdx hardis:doc:plugin:generate [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    DESCRIPTION
      After the first run, you need to update manually:
    
      - mkdocs.yml
      - .github/workflows/build-deploy-docs.yml
      - docs/javascripts/gtag.js , if you want Google Analytics tracking
    
      Then, activate Github pages, with "gh_pages" as target branch
    
      At each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it 
      in GitHub pages
    
    EXAMPLE
      $ sfdx hardis:doc:plugin:generate
    

    See code: lib/commands/hardis/doc/plugin/generate.js

    sfdx hardis:org:configure:data [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Configure Data Export/Import with a SFDMU Project

    USAGE
      $ sfdx hardis:org:configure:data [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:configure:data
    

    See code: lib/commands/hardis/org/configure/data.js

    sfdx hardis:org:configure:monitoring [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Configure monitoring of an org

    USAGE
      $ sfdx hardis:org:configure:monitoring [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:configure:monitoring
    

    See code: lib/commands/hardis/org/configure/monitoring.js

    sfdx hardis:org:connect [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Connect to an org without setting it as default username

    USAGE
      $ sfdx hardis:org:connect [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:connect
    

    See code: lib/commands/hardis/org/connect.js

    sfdx hardis:org:data:export [-p <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Export data from org using sfdmu

    USAGE
      $ sfdx hardis:org:data:export [-p <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -p, --path=path                                                                   Path to the sfdmu workspace folder
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:data:export
    

    See code: lib/commands/hardis/org/data/export.js

    sfdx hardis:org:data:import [-p <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Import data in org using sfdmu

    USAGE
      $ sfdx hardis:org:data:import [-p <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -p, --path=path                                                                   Path to the sfdmu workspace folder
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:data:import
    

    See code: lib/commands/hardis/org/data/import.js

    sfdx hardis:org:purge:apexlog [-z] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Purge apex logs in selected org

    USAGE
      $ sfdx hardis:org:purge:apexlog [-z] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      -z, --[no-]prompt                                                                 Prompt for confirmation (true by
                                                                                        default, use --no-prompt to skip)
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLES
      $ sfdx hardis:org:purge:apexlog
      $ sfdx hardis:org:purge:apexlog --targetusername nicolas.vuillamy@gmail.com
    

    See code: lib/commands/hardis/org/purge/apexlog.js

    sfdx hardis:org:purge:flow [-z] [-n <string>] [-s <string>] [-f] [-r <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Purge Obsolete flow versions to avoid the 50 max versions limit. Filters on Status and Name

    USAGE
      $ sfdx hardis:org:purge:flow [-z] [-n <string>] [-s <string>] [-f] [-r <string>] [-d] [--websocket <string>] [-u 
      <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -f, --[no-]allowpurgefailure                                                      Allows purges to fail without
                                                                                        exiting with 1. Use
                                                                                        --no-allowpurgefailure to disable
    
      -n, --name=name                                                                   Filter according to Name criteria
    
      -r, --instanceurl=instanceurl                                                     [default:
                                                                                        https://login.saleforce.com] URL of
                                                                                        org instance
    
      -s, --status=status                                                               [default: Obsolete] Filter according
                                                                                        to Status criteria
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      -z, --[no-]prompt                                                                 Prompt for confirmation (true by
                                                                                        default, use --no-prompt to skip)
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLES
      $ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com
         Found 1 records:
         ID                 MASTERLABEL VERSIONNUMBER DESCRIPTION  STATUS
         30109000000kX7uAAE TestFlow    2             test flowwww Obsolete
         Are you sure you want to delete this list of records (y/n)?: y
         Successfully deleted record: 30109000000kX7uAAE.
         Deleted the following list of records:
         ID                 MASTERLABEL VERSIONNUMBER DESCRIPTION  STATUS
         30109000000kX7uAAE TestFlow    2             test flowwww Obsolete
      
      $ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com --status "Obsolete,Draft,InvalidDraft --name 
      TestFlow"
         Found 4 records:
         ID                 MASTERLABEL VERSIONNUMBER DESCRIPTION  STATUS
         30109000000kX7uAAE TestFlow    2             test flowwww Obsolete
         30109000000kX8EAAU TestFlow    6             test flowwww InvalidDraft
         30109000000kX8AAAU TestFlow    5             test flowwww InvalidDraft
         30109000000kX89AAE TestFlow    4             test flowwww Draft
         Are you sure you want to delete this list of records (y/n)?: n
         No record deleted
    

    See code: lib/commands/hardis/org/purge/flow.js

    sfdx hardis:org:retrieve:packageconfig [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Retrieve package configuration from an org

    USAGE
      $ sfdx hardis:org:retrieve:packageconfig [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:retrieve:packageconfig
    

    See code: lib/commands/hardis/org/retrieve/packageconfig.js

    sfdx hardis:org:retrieve:sources:dx [-f <string>] [-t <string>] [-k <string>] [-m <string>] [-o] [-r <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Retrieve Salesforce DX project from org

    USAGE
      $ sfdx hardis:org:retrieve:sources:dx [-f <string>] [-t <string>] [-k <string>] [-m <string>] [-o] [-r <string>] [-d] 
      [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -f, --folder=folder                                                               [default: .] Folder
    
      -k, --keepmetadatatypes=keepmetadatatypes                                         Comma separated list of metadatas
                                                                                        types that will be the only ones to
                                                                                        be retrieved
    
      -m, --filteredmetadatas=filteredmetadatas                                         Comma separated list of Metadatas
                                                                                        keys to remove from PackageXml file
    
      -o, --shape                                                                       Updates project-scratch-def.json
                                                                                        from org shape
    
      -r, --instanceurl=instanceurl                                                     URL of org instance
    
      -t, --tempfolder=tempfolder                                                       [default: ./tmp] Temporary folder
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:retrieve:sources:dx
    

    See code: lib/commands/hardis/org/retrieve/sources/dx.js

    sfdx hardis:org:retrieve:sources:dx2 [-x <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Retrieve Salesforce DX project from org

    USAGE
      $ sfdx hardis:org:retrieve:sources:dx2 [-x <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] 
      [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      -x, --packagexml=packagexml                                                       Path to package.xml file
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:retrieve:sources:dx2
    

    See code: lib/commands/hardis/org/retrieve/sources/dx2.js

    sfdx hardis:org:retrieve:sources:metadata [-f <string>] [-p <string>] [-r <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Retrieve Salesforce DX project from org

    USAGE
      $ sfdx hardis:org:retrieve:sources:metadata [-f <string>] [-p <string>] [-r <string>] [-d] [--websocket <string>] [-u 
      <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -f, --folder=folder                                                               [default: .] Folder
      -p, --packagexml=packagexml                                                       Path to package.xml manifest file
      -r, --instanceurl=instanceurl                                                     URL of org instance
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:retrieve:sources:metadata
    

    See code: lib/commands/hardis/org/retrieve/sources/metadata.js

    sfdx hardis:org:select [-h] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Interactive org selection for user

    USAGE
      $ sfdx hardis:org:select [-h] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -h, --devhub                                                                      Also connect associated DevHub
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:select
    

    See code: lib/commands/hardis/org/select.js

    sfdx hardis:org:test:apex [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Run apex test cases on org

    USAGE
      $ sfdx hardis:org:test:apex [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket 
      <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -l, --testlevel=(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)      [default: RunLocalTests] Level of
                                                                                        tests to apply to validate
                                                                                        deployment
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:org:test:apex
    

    See code: lib/commands/hardis/org/test/apex.js

    sfdx hardis:package:create [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Create a new package

    USAGE
      $ sfdx hardis:package:create [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:package:create
    

    See code: lib/commands/hardis/package/create.js

    sfdx hardis:package:install [-p] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Install a package

    USAGE
      $ sfdx hardis:package:install [-p] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -p, --package                                                                     Package Version Id to install
                                                                                        (04t...)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:package:install
    

    See code: lib/commands/hardis/package/install.js

    sfdx hardis:package:version:create [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Create a new version of an unlocked package

    USAGE
      $ sfdx hardis:package:version:create [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:package:version:create
    

    See code: lib/commands/hardis/package/version/create.js

    sfdx hardis:package:version:list [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    List versions of unlocked package

    USAGE
      $ sfdx hardis:package:version:list [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:package:version:list
    

    See code: lib/commands/hardis/package/version/list.js

    sfdx hardis:package:version:promote [-d] [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Promote package(s) version(s): convert it from beta to released

    USAGE
      $ sfdx hardis:package:version:promote [-d] [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --auto                                                                        Auto-detect which versions of which
                                                                                        packages need to be promoted
    
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLES
      $ sfdx hardis:package:version:promote
      $ sfdx hardis:package:version:promote --auto
    

    See code: lib/commands/hardis/package/version/promote.js

    sfdx hardis:project:audit:apiversion [-m <number>] [-f] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Audit API version

    USAGE
      $ sfdx hardis:project:audit:apiversion [-m <number>] [-f] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -f, --failiferror                                                                 Fails (exit code 1) if an error is
                                                                                        found
    
      -m, --minimumapiversion=minimumapiversion                                         [default: 20] Minimum allowed API
                                                                                        version
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:audit:apiversion
    

    See code: lib/commands/hardis/project/audit/apiversion.js

    sfdx hardis:project:audit:callincallout [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Generate list of callIn and callouts from sfdx project

    USAGE
      $ sfdx hardis:project:audit:callincallout [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:audit:callouts
    

    See code: lib/commands/hardis/project/audit/callincallout.js

    sfdx hardis:project:audit:remotesites [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Generate list of remote sites

    USAGE
      $ sfdx hardis:project:audit:remotesites [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:audit:remotesites
    

    See code: lib/commands/hardis/project/audit/remotesites.js

    sfdx hardis:project:clean:emptyitems [-f <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Remove unwanted empty items within sfdx project sources

    USAGE
      $ sfdx hardis:project:clean:emptyitems [-f <string>] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -f, --folder=folder                                                               [default: force-app] Root folder
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:clean:emptyitems
    

    See code: lib/commands/hardis/project/clean/emptyitems.js

    sfdx hardis:project:clean:hiddenitems [-f <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Remove unwanted hidden items within sfdx project sources

    USAGE
      $ sfdx hardis:project:clean:hiddenitems [-f <string>] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -f, --folder=folder                                                               [default: force-app] Root folder
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:clean:hiddenitems
    

    See code: lib/commands/hardis/project/clean/hiddenitems.js

    sfdx hardis:project:clean:manageditems [-n <string>] [-f <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Remove unwanted managed items within sfdx project sources

    USAGE
      $ sfdx hardis:project:clean:manageditems [-n <string>] [-f <string>] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -f, --folder=folder                                                               [default: force-app] Root folder
      -n, --namespace=namespace                                                         Namespace to remove
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:clean:manageditems --namespace crta
    

    See code: lib/commands/hardis/project/clean/manageditems.js

    sfdx hardis:project:clean:orgmissingitems [-f <string>] [-p <string>] [-t <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Clean SFDX sources from items present neither in target org nor local package.xml

    USAGE
      $ sfdx hardis:project:clean:orgmissingitems [-f <string>] [-p <string>] [-t <string>] [-d] [--websocket <string>] 
      [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug
          Activate debug mode (more logs)
    
      -f, --folder=folder
          [default: force-app] Root folder
    
      -p, --packagexmlfull=packagexmlfull
          Path to packagexml used for cleaning.
          Must contain also standard CustomObject and CustomField elements.
          If not provided, it will be generated from a remote org
    
      -t, --packagexmltargetorg=packagexmltargetorg
          Target org username or alias to build package.xml (sfdx must be authenticated).
          If not provided, will be prompted to the user.
    
      --json
          format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)
          [default: warn] logging level for this command invocation
    
      --websocket=websocket
          Websocket host:port for VsCode SFDX Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:clean:orgmissingitems
    

    See code: lib/commands/hardis/project/clean/orgmissingitems.js

    sfdx hardis:project:clean:references [-t <string>] [-c <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Remove unwanted references within sfdx project sources

    USAGE
      $ sfdx hardis:project:clean:references [-t <string>] [-c <string>] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -c, --config=config                                                                                 Path to a JSON
                                                                                                          config file or a
                                                                                                          destructiveChanges
                                                                                                          .xml file
    
      -d, --debug                                                                                         Activate debug
                                                                                                          mode (more logs)
    
      -t, --type=all|caseentitlement|dashboards|datadotcom|destructivechanges|localfields|productrequest  Cleaning type
    
      --json                                                                                              format output as
                                                                                                          json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)                    [default: warn]
                                                                                                          logging level for
                                                                                                          this command
                                                                                                          invocation
    
      --websocket=websocket                                                                               Websocket
                                                                                                          host:port for
                                                                                                          VsCode SFDX Hardis
                                                                                                          UI integration
    
    EXAMPLES
      $ sfdx hardis:project:clean:references
      $ sfdx hardis:project:clean:references --type all
      $ sfdx hardis:project:clean:references --config ./cleaning/myconfig.json
      $ sfdx hardis:project:clean:references --config ./somefolder/myDestructivePackage.xml
    

    See code: lib/commands/hardis/project/clean/references.js

    sfdx hardis:project:clean:retrievefolders [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Retrieve dashboards, documents and report folders in DX sources. Use -u ORGALIAS

    USAGE
      $ sfdx hardis:project:clean:retrievefolders [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:clean:retrievefolders
    

    See code: lib/commands/hardis/project/clean/retrievefolders.js

    sfdx hardis:project:clean:standarditems [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Remove unwanted standard items within sfdx project sources

    USAGE
      $ sfdx hardis:project:clean:standarditems [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:clean:standarditems
    

    See code: lib/commands/hardis/project/clean/standarditems.js

    sfdx hardis:project:configure:auth [-b] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Configure authentication from git branch to target org

    USAGE
      $ sfdx hardis:project:configure:auth [-b] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -b, --devhub                                                                      Configure project DevHub
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:configure:auth
    

    See code: lib/commands/hardis/project/configure/auth.js

    sfdx hardis:project:convert:profilestopermsets [-e <array>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Creates permission sets from existing profiles, with id PS_PROFILENAME

    USAGE
      $ sfdx hardis:project:convert:profilestopermsets [-e <array>] [-d] [--websocket <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -e, --except=except                                                               [default: ] List of filters
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:convert:profilestopermsets
    

    See code: lib/commands/hardis/project/convert/profilestopermsets.js

    sfdx hardis:project:create [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Create a new SFDX Project

    USAGE
      $ sfdx hardis:project:create [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:create
    

    See code: lib/commands/hardis/project/create.js

    sfdx hardis:project:deploy:sources:dx [-c] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-p <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Deploy SFDX project sources to org

    USAGE
      $ sfdx hardis:project:deploy:sources:dx [-c] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-p 
      <string>] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -c, --check                                                                       Only checks the deployment, there is
                                                                                        no impact on target org
    
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -l, --testlevel=(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)      [default: RunLocalTests] Level of
                                                                                        tests to apply to validate
                                                                                        deployment
    
      -p, --packagexml=packagexml                                                       Path to package.xml containing what
                                                                                        you want to deploy in target org
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:deploy:sources:dx
    

    See code: lib/commands/hardis/project/deploy/sources/dx.js

    sfdx hardis:project:deploy:sources:metadata [-c] [-p <string>] [-f] [-k <string>] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Deploy metadatas to source org

    USAGE
      $ sfdx hardis:project:deploy:sources:metadata [-c] [-p <string>] [-f] [-k <string>] [-l 
      NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [-u <string>] [--apiversion 
      <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -c, --check                                                                       Only checks the deployment, there is
                                                                                        no impact on target org
    
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -f, --filter                                                                      Filter metadatas before deploying
    
      -k, --destructivepackagexml=destructivepackagexml                                 Path to destructiveChanges.xml file
                                                                                        to deploy
    
      -l, --testlevel=(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)      [default: RunLocalTests] Level of
                                                                                        tests to apply to validate
                                                                                        deployment
    
      -p, --packagexml=packagexml                                                       Path to package.xml file to deploy
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:deploy:sources:metadata
    

    See code: lib/commands/hardis/project/deploy/sources/metadata.js

    sfdx hardis:project:generate:gitdelta [--branch <string>] [--fromcommit <string>] [--tocommit <string>] [-d] [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Generate package.xml git delta between 2 commits

    USAGE
      $ sfdx hardis:project:generate:gitdelta [--branch <string>] [--fromcommit <string>] [--tocommit <string>] [-d] 
      [--websocket <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      --branch=branch                                                                   Git branch to use to generate delta
      --fromcommit=fromcommit                                                           Hash of commit to start from
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --tocommit=tocommit                                                               Hash of commit to stop at
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:project:generate:gitdelta
    

    See code: lib/commands/hardis/project/generate/gitdelta.js

    sfdx hardis:project:lint [-f] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Apply syntactic analysis (linters) on the repository sources, using Mega-Linter

    USAGE
      $ sfdx hardis:project:lint [-f] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
      -f, --fix                                                                         Apply linters fixes
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLES
      $ sfdx hardis:project:lint
      $ sfdx hardis:project:lint --fix
    

    See code: lib/commands/hardis/project/lint.js

    sfdx hardis:scratch:create [-n] [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Create and initialize a scratch org so it is ready to use

    USAGE
      $ sfdx hardis:scratch:create [-n] [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -n, --forcenew                                                                    If an existing scratch org exists,
                                                                                        do not reuse it but create a new one
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:scratch:create
    

    See code: lib/commands/hardis/scratch/create.js

    sfdx hardis:scratch:delete [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Deletes a scratch org

    USAGE
      $ sfdx hardis:scratch:delete [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:scratch:delete
    

    See code: lib/commands/hardis/scratch/delete.js

    sfdx hardis:scratch:pull [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Pull scratch org updates from scratch org to local git branch

    USAGE
      $ sfdx hardis:scratch:pull [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:scratch:pull
    

    See code: lib/commands/hardis/scratch/pull.js

    sfdx hardis:scratch:push [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Push local updates in git branch to scratch org

    USAGE
      $ sfdx hardis:scratch:push [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:scratch:push
    

    See code: lib/commands/hardis/scratch/push.js

    sfdx hardis:work:new [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    New work task

    USAGE
      $ sfdx hardis:work:new [-d] [--websocket <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                        org; overrides default dev hub org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:work:task:new
    

    See code: lib/commands/hardis/work/new.js

    sfdx hardis:work:refresh [-n] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Make my local branch and my scratch org up to date with the most recent sources

    USAGE
      $ sfdx hardis:work:refresh [-n] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel 
      trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -n, --nopull                                                                      No scratch pull before save (careful
                                                                                        if you use that!)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:work:refresh
    

    See code: lib/commands/hardis/work/refresh.js

    sfdx hardis:work:resetselection [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Process again the selection of the items that you want to publish to upper level

    USAGE
      $ sfdx hardis:work:resetselection [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --debug                                                                       Activate debug mode (more logs)
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLE
      $ sfdx hardis:work:resetsave
    

    See code: lib/commands/hardis/work/resetselection.js

    sfdx hardis:work:save [-n] [-g] [-c] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    When a work task is completed, guide user to create a merge request

    USAGE
      $ sfdx hardis:work:save [-n] [-g] [-c] [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] 
      [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -c, --noclean                                                                     No cleaning of local sources
      -d, --debug                                                                       Activate debug mode (more logs)
      -g, --nogit                                                                       No automated git operations
      -n, --nopull                                                                      No scratch pull before save
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --apiversion=apiversion                                                           override the api version used for
                                                                                        api requests made by this command
    
      --json                                                                            format output as json
    
      --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                        this command invocation
    
      --websocket=websocket                                                             Websocket host:port for VsCode SFDX
                                                                                        Hardis UI integration
    
    EXAMPLES
      $ sfdx hardis:work:task:save
      $ sfdx hardis:work:task:save --nopull --nogit --noclean
    

    See code: lib/commands/hardis/work/save.js

    Keywords

    Install

    npm i sfdx-hardis

    DownloadsWeekly Downloads

    630

    Version

    2.43.1

    License

    AGPL-3.0

    Unpacked Size

    2.41 MB

    Total Files

    297

    Last publish

    Collaborators

    • avatar