npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aura-helper-sf

v1.1.1

Published

Plugin for SF CLI to addapt sfdx-aura-helper plugin to the new SF CLI Tool. This CLI contains to many util commands for every Salesforce Project. List and Describe metadata types, create package files from many sources (including git), maintenance your lo

Downloads

149

Readme

Aura Helper SF

NPM Downloads/week License

SF CLI Plugin to work with Salesforce Projects. This application are entire developed using Aura Helper Framework and has powerfull commands to manage your projects, create Continous Integration and DevOps workflows and support developers to make some utils task on every project like import and export data, create package files (including from git differences), compare metadata from two orgs or from your local project and the auth org, and to much more. It is the Aura Helper CLI natural evolution to integrate better to other salesforce tools.

Features

  • Simplify your work with Salesforce and Git with the command for create packages (for deploy and delete) from git changes. Compare two branches, commits or tags for create the files for deploy your package.
  • Repair file dependencies errors on your project files or Check only to resolve errors manually.
  • Compress your XML Files structure for make easy identify changes and resolve git conflicts. Also need less storage and work faster.
  • Retrieve special Metadata Types like profiles or permissions sets (and others) with all data without retrieve any file more with a simple command. Also can Retrieve special Metadata Types from the connected org.
  • Compare your local data with your authorized organization for get the differences for delete, retrieve or anything you want. Or Compare the Metadata Types between two orgs to see the differences.
  • Merge diferent package or destructive files into one file with only one command.
  • Ignore any metadata type from your local project or from the package files for maintance different configuration into your sandbox and production enviroments with simple file and command.
  • Specially designed for DevOps workflows.
  • Code Quality Report with SFDX Scanner, Quality Gates to control the quality of your code like SonarQube, with integration with CI and DevOps tools. Also create an HTML Report with statistics and details of the code analisys.
  • And much more

Specially Designed for DevOps Workflows


Supported Operative Systems:

  • Windows
  • Linux
  • Mac OS X

Table of Contents


Installation Guide

You can install the plugins using SF CLI plugins manager or cloning the repository and link it with SF CLI.

SF CLI Plugins manager (Recommended)

To install Aura Helper SF CLI run the next command:

sf plugins install aura-helper-sf

NPM Installation

To install Aura Helper SF run the next command:

npm install -g aura-helper-sf

Clone Repository Installation

To install cloning the source code repository, follow the next steps

  1. Clone the repository

  2. Go to the root project folder

  3. Run the next command

    sf plugins link

Aura Helper SF Commands

All commands from Aura Helper SF have the next structure:

sf <command:name> [command:input] [options]

Al commands start by ah. For example

sf ah topic command [command:input] [options]

sf ah apex execute

Execute Anonymous Apex N Times.

USAGE
  $ sf ah apex execute --file <value> [--json] [-r <value>] [-o <value>] [-a <value>] [-i <value>] [-l -p]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -i, --iterations=<value>           [default: 1] Script execution number
  -l, --print-log                    Print Log every execution
  -o, --target-org=<value>           Login username or alias for the target org
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  --file=<path/to/apex/file>         (required) Script File Path

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Execute Anonymous Apex N Times.

  Command to execute an Anonymous Apex script from file against the auth org N times.

ALIASES
  $ sf ah execute org apex
  $ sf ah execute apex org
  $ sf ah apex execute org
  $ sf ah apex org execute
  $ sf ah org execute apex
  $ sf ah org apex execute
  $ sf ah apex execute
  $ sf ah execute apex

EXAMPLES
  Execute a script 3 times

    $ sf ah apex execute -f "path/to/script.apex" -i 3

  Execute a script 10 times and print the execution log

    $ sf ah apex execute -f "path/to/script.apex" --iterations 10 --print-log

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -i, --iterations=<value>  Script execution number

    Option to select the scritp execution number. For example, 3 for execute the script 3 times

  -l, --print-log  Print Log every execution

    Option to print the result log of every execution. Depends on --progress flag

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --file=<path/to/apex/file>  Script File Path

    Path to the Anonymous Apex Script file

sf ah apex execute org

Execute Anonymous Apex N Times.

USAGE
  $ sf ah apex execute org --file <value> [--json] [-r <value>] [-o <value>] [-a <value>] [-i <value>] [-l -p]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -i, --iterations=<value>           [default: 1] Script execution number
  -l, --print-log                    Print Log every execution
  -o, --target-org=<value>           Login username or alias for the target org
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  --file=<path/to/apex/file>         (required) Script File Path

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Execute Anonymous Apex N Times.

  Command to execute an Anonymous Apex script from file against the auth org N times.

ALIASES
  $ sf ah execute org apex
  $ sf ah execute apex org
  $ sf ah apex execute org
  $ sf ah apex org execute
  $ sf ah org execute apex
  $ sf ah org apex execute
  $ sf ah apex execute
  $ sf ah execute apex

EXAMPLES
  Execute a script 3 times

    $ sf ah apex execute org -f "path/to/script.apex" -i 3

  Execute a script 10 times and print the execution log

    $ sf ah apex execute org -f "path/to/script.apex" --iterations 10 --print-log

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -i, --iterations=<value>  Script execution number

    Option to select the scritp execution number. For example, 3 for execute the script 3 times

  -l, --print-log  Print Log every execution

    Option to print the result log of every execution. Depends on --progress flag

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --file=<path/to/apex/file>  Script File Path

    Path to the Anonymous Apex Script file

sf ah apex org execute

Execute Anonymous Apex N Times.

USAGE
  $ sf ah apex org execute --file <value> [--json] [-r <value>] [-o <value>] [-a <value>] [-i <value>] [-l -p]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -i, --iterations=<value>           [default: 1] Script execution number
  -l, --print-log                    Print Log every execution
  -o, --target-org=<value>           Login username or alias for the target org
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  --file=<path/to/apex/file>         (required) Script File Path

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Execute Anonymous Apex N Times.

  Command to execute an Anonymous Apex script from file against the auth org N times.

ALIASES
  $ sf ah execute org apex
  $ sf ah execute apex org
  $ sf ah apex execute org
  $ sf ah apex org execute
  $ sf ah org execute apex
  $ sf ah org apex execute
  $ sf ah apex execute
  $ sf ah execute apex

EXAMPLES
  Execute a script 3 times

    $ sf ah apex org execute -f "path/to/script.apex" -i 3

  Execute a script 10 times and print the execution log

    $ sf ah apex org execute -f "path/to/script.apex" --iterations 10 --print-log

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -i, --iterations=<value>  Script execution number

    Option to select the scritp execution number. For example, 3 for execute the script 3 times

  -l, --print-log  Print Log every execution

    Option to print the result log of every execution. Depends on --progress flag

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --file=<path/to/apex/file>  Script File Path

    Path to the Anonymous Apex Script file

sf ah compare metadata

Compare Metadata Types and Objects between two orgs or between your local project and your auth org

USAGE
  $ sf ah compare metadata -o <value> [--json] [-r <value>] [-s <value>] [-a <value>] [-p] [--output-file <value>]
  [--csv]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -o, --target-org=<value>             (required) Target Org to Compare.
  -p, --progress                       Report Command Progress
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  -s, --source-org=<value>             Source Org to compare.
  --csv                                Show the result as CSV
  --output-file=<path/to/output/file>  Output file

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Compare Metadata Types and Objects between two orgs or between your local project and your auth org

  Command to compare your local project with your auth org for get the differences. The result are the metadata types
  and objects that you have in your org, but don't have in your local project. Also can compare between two different
  orgs and return the metadata that exists on target org but not exists on source org

ALIASES
  $ sf ah metadata compare
  $ sf ah compare metadata
  $ sf ah org compare
  $ sf ah compare org

EXAMPLES
  Compare Metadata Types and Objects between your local project and your auth org

    $ sf ah compare metadata -o [email protected]

  Compare Metadata Types and Objects between two orgs

    $ sf ah compare metadata -s [email protected] -o [email protected]

  Compare Metadata Types and Objects between your local project and your auth org and show the result as CSV

    $ sf ah compare metadata -t [email protected] --csv

  Compare Metadata Types and Objects between your local project and your auth org and show the result as JSON

    $ sf ah compare metadata -t [email protected] --json

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -o, --target-org=<value>  Target Org to Compare.

    Target Salesforce org to compare.

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -s, --source-org=<value>  Source Org to compare.

    Source Salesforce org to compare. If you choose source, --root will be ignored. If you not choose source, the
    command will compare your local project with your auth org

  --csv  Show the result as CSV

    Option to show the result as CSV instead a table if not select --json flag

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

sf ah compare org

Compare Metadata Types and Objects between two orgs or between your local project and your auth org

USAGE
  $ sf ah compare org -o <value> [--json] [-r <value>] [-s <value>] [-a <value>] [-p] [--output-file <value>] [--csv]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -o, --target-org=<value>             (required) Target Org to Compare.
  -p, --progress                       Report Command Progress
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  -s, --source-org=<value>             Source Org to compare.
  --csv                                Show the result as CSV
  --output-file=<path/to/output/file>  Output file

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Compare Metadata Types and Objects between two orgs or between your local project and your auth org

  Command to compare your local project with your auth org for get the differences. The result are the metadata types
  and objects that you have in your org, but don't have in your local project. Also can compare between two different
  orgs and return the metadata that exists on target org but not exists on source org

ALIASES
  $ sf ah metadata compare
  $ sf ah compare metadata
  $ sf ah org compare
  $ sf ah compare org

EXAMPLES
  Compare Metadata Types and Objects between your local project and your auth org

    $ sf ah compare org -o [email protected]

  Compare Metadata Types and Objects between two orgs

    $ sf ah compare org -s [email protected] -o [email protected]

  Compare Metadata Types and Objects between your local project and your auth org and show the result as CSV

    $ sf ah compare org -t [email protected] --csv

  Compare Metadata Types and Objects between your local project and your auth org and show the result as JSON

    $ sf ah compare org -t [email protected] --json

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -o, --target-org=<value>  Target Org to Compare.

    Target Salesforce org to compare.

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -s, --source-org=<value>  Source Org to compare.

    Source Salesforce org to compare. If you choose source, --root will be ignored. If you not choose source, the
    command will compare your local project with your auth org

  --csv  Show the result as CSV

    Option to show the result as CSV instead a table if not select --json flag

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

sf ah compress

Compress XML Metadata Files.

USAGE
  $ sf ah compress [--json] [-r <value>] [--all | -f <value> | -d <value>] [--sort-order
    simpleFirst|complexFirst|alphabetAsc|alphabetDesc]

FLAGS
  -d, --directory=<path/to/directory>...  Compress XML Files from specific directory
  -f, --file=<path/to/file>...            Compress XML Files from specific directory
  -r, --root=<path/to/project/root>       [default: ./] Root Project Path
  --all                                   Compress All Project Files
  --sort-order=<option>                   [default: simpleFirst] Sort order for XML Files compression
                                          <options: simpleFirst|complexFirst|alphabetAsc|alphabetDesc>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Compress XML Metadata Files.

  Compress XML Metadata Files for best conflict handling with SVC systems. Works with relative or absolute paths.

ALIASES
  $ sf ah compress
  $ sf ah xml compress
  $ sf ah compress xml

EXAMPLES
  Compress all project XML Files

    $ sf ah compress -a

  Compress all XML Files from objects folder (and subfolders)

    $ sf ah compress -d force-app/main/default/objects --json

  Compress all XML Files from objects folder (and subfolders) and applications folder

    $ sf ah compress -d "force-app/main/default/objects" -d "force-app/main/default/applications"

  Compress all XML Files from objects folder (and subfolders) and applications folder

    $ sf ah compress -d "force-app/main/default/objects, force-app/main/default/applications"

  Compress specific XML File with progress report

    $ sf ah compress -f "force-app/main/default/objects/Account/Account.object-meta-xml" -p

  Compress specific XML Files with JSON output

    $ sf ah compress -f "force-app/main/default/objects/Account/Account.object-meta-xml" -f ^
      "force-app/main/default/objects/Case/Case.object-meta-xml" --json

  Compress specific XML Files with JSON output

    $ sf ah compress -f "force-app/main/default/objects/Account/Account.object-meta-xml, ^
      force-app/main/default/objects/Case/Case.object-meta-xml" --json

FLAG DESCRIPTIONS
  -d, --directory=<path/to/directory>...  Compress XML Files from specific directory

    Compress XML Files from specific directory (and subfolders). This options does not take effect if you choose
    compress all.

  -f, --file=<path/to/file>...  Compress XML Files from specific directory

    Compress XML Files from specific directory (and subfolders). This options does not take effect if you choose
    compress all.

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --all  Compress All Project Files

    Compress all XML files with support compression in your project.

  --sort-order=simpleFirst|complexFirst|alphabetAsc|alphabetDesc  Sort order for XML Files compression

    Sort order for the XML elements when compress XML files. By default, the elements are sorted with simple XML
    elements first.

sf ah compress xml

Compress XML Metadata Files.

USAGE
  $ sf ah compress xml [--json] [-r <value>] [--all | -f <value> | -d <value>] [--sort-order
    simpleFirst|complexFirst|alphabetAsc|alphabetDesc]

FLAGS
  -d, --directory=<path/to/directory>...  Compress XML Files from specific directory
  -f, --file=<path/to/file>...            Compress XML Files from specific directory
  -r, --root=<path/to/project/root>       [default: ./] Root Project Path
  --all                                   Compress All Project Files
  --sort-order=<option>                   [default: simpleFirst] Sort order for XML Files compression
                                          <options: simpleFirst|complexFirst|alphabetAsc|alphabetDesc>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Compress XML Metadata Files.

  Compress XML Metadata Files for best conflict handling with SVC systems. Works with relative or absolute paths.

ALIASES
  $ sf ah compress
  $ sf ah xml compress
  $ sf ah compress xml

EXAMPLES
  Compress all project XML Files

    $ sf ah compress xml -a

  Compress all XML Files from objects folder (and subfolders)

    $ sf ah compress xml -d force-app/main/default/objects --json

  Compress all XML Files from objects folder (and subfolders) and applications folder

    $ sf ah compress xml -d "force-app/main/default/objects" -d "force-app/main/default/applications"

  Compress all XML Files from objects folder (and subfolders) and applications folder

    $ sf ah compress xml -d "force-app/main/default/objects, force-app/main/default/applications"

  Compress specific XML File with progress report

    $ sf ah compress xml -f "force-app/main/default/objects/Account/Account.object-meta-xml" -p

  Compress specific XML Files with JSON output

    $ sf ah compress xml -f "force-app/main/default/objects/Account/Account.object-meta-xml" -f ^
      "force-app/main/default/objects/Case/Case.object-meta-xml" --json

  Compress specific XML Files with JSON output

    $ sf ah compress xml -f "force-app/main/default/objects/Account/Account.object-meta-xml, ^
      force-app/main/default/objects/Case/Case.object-meta-xml" --json

FLAG DESCRIPTIONS
  -d, --directory=<path/to/directory>...  Compress XML Files from specific directory

    Compress XML Files from specific directory (and subfolders). This options does not take effect if you choose
    compress all.

  -f, --file=<path/to/file>...  Compress XML Files from specific directory

    Compress XML Files from specific directory (and subfolders). This options does not take effect if you choose
    compress all.

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --all  Compress All Project Files

    Compress all XML files with support compression in your project.

  --sort-order=simpleFirst|complexFirst|alphabetAsc|alphabetDesc  Sort order for XML Files compression

    Sort order for the XML elements when compress XML files. By default, the elements are sorted with simple XML
    elements first.

sf ah data export

Export Salesforce Data.

USAGE
  $ sf ah data export -q <value> [--json] [-r <value>] [-a <value>] [-o <value>] [-p] [--output-dir <value>]
    [--prefix <value>]

FLAGS
  -a, --api-version=<value>           Target API version to use
  -o, --target-org=<value>            Login username or alias for the target org
  -p, --progress                      Report Command Progress
  -q, --query=Select ... from ...     (required) Query to Extract Data
  -r, --root=<path/to/project/root>   [default: ./] Root Project Path
  --output-dir=<path/to/output/file>  [default: ./export] Generated Files Output Path
  --prefix=<filePrefix>               Files Prefix

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Export Salesforce Data.

  Command to export data from the selected org to work with data:import command.

EXAMPLES
  Extract Accounts data with related contacts

    $ sf ah data export -q "Select Id, Name, BillingNumber, (Select Id, Name, AccountId, Phone from Contacts) from ^
      Account" --output-file "./export/accounts"

  Extract Accounts data with Records Types

    $ sf ah data export -q "Select Id, Name, BillingNumber, RecordType.DeveloperName from Account" --output-file ^
      "./export/accounts"

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -q, --query=Select ... from ...  Query to Extract Data

    Query to extract data. You can use a simple query (Select [fields] from [object] [where] ...) or a complex query
    (select [fields], [query], [query] from [object] [where] ...) for export data in tree format

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --output-dir=<path/to/output/file>  Generated Files Output Path

    Path to save the generated output files. By default save result on <actualDir>/export

  --prefix=<filePrefix>  Files Prefix

    Prefix to add to the generated files

See code: lib/commands/ah/data/export.ts

sf ah data import

Import Salesforce Data.

USAGE
  $ sf ah data import -q <value> [--json] [-r <value>] [-a <value>] [-o <value>] [-p] [-f <value>] [-l <value>] [-s
    <value>]

FLAGS
  -a, --api-version=<value>           Target API version to use
  -f, --file=<path/to/exported/file>  File to Import.
  -l, --limit=<recordsPerBatch>       [default: 200] Record by Batch
  -o, --target-org=<value>            Login username or alias for the target org
  -p, --progress                      Report Command Progress
  -q, --query=Select ... from ...     (required) Query to Extract Data
  -r, --root=<path/to/project/root>   [default: ./] Root Project Path
  -s, --source-org=<usernameOrAlias>  Source Org Username or Alias

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Import Salesforce Data.

  Command to import the data extracted with data:export command into the project connected org.

EXAMPLES
  Import data from another org with username or alias "aliasOrg"

    $ sf ah data import -o "aliasOrg" -q "Select Id, Name, BillingNumber, (Select Id, Name, AccountId, Phone from ^
      Contacts) from Account",

  Import data from extracted file with 50 records per batch

    $ sf ah data import -f "./export/accounts/accounts-plan.json" -n 50

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -f, --file=<path/to/exported/file>  File to Import.

    Path to the exported file with data:export command to import into the auth org. Must be the -plan file.

  -l, --limit=<recordsPerBatch>  Record by Batch

    Number of records to insert at one time. Max records per batch are 200. (200 by default)

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -q, --query=Select ... from ...  Query to Extract Data

    Query to extract data. You can use a simple query (Select [fields] from [object] [where] ...) or a complex query
    (select [fields], [query], [query] from [object] [where] ...) for export data in tree format

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -s, --source-org=<usernameOrAlias>  Source Org Username or Alias

    Username or Alias to the source org for import data from the org, not from a file

See code: lib/commands/ah/data/import.ts

sf ah execute apex

Execute Anonymous Apex N Times.

USAGE
  $ sf ah execute apex --file <value> [--json] [-r <value>] [-o <value>] [-a <value>] [-i <value>] [-l -p]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -i, --iterations=<value>           [default: 1] Script execution number
  -l, --print-log                    Print Log every execution
  -o, --target-org=<value>           Login username or alias for the target org
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  --file=<path/to/apex/file>         (required) Script File Path

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Execute Anonymous Apex N Times.

  Command to execute an Anonymous Apex script from file against the auth org N times.

ALIASES
  $ sf ah execute org apex
  $ sf ah execute apex org
  $ sf ah apex execute org
  $ sf ah apex org execute
  $ sf ah org execute apex
  $ sf ah org apex execute
  $ sf ah apex execute
  $ sf ah execute apex

EXAMPLES
  Execute a script 3 times

    $ sf ah execute apex -f "path/to/script.apex" -i 3

  Execute a script 10 times and print the execution log

    $ sf ah execute apex -f "path/to/script.apex" --iterations 10 --print-log

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -i, --iterations=<value>  Script execution number

    Option to select the scritp execution number. For example, 3 for execute the script 3 times

  -l, --print-log  Print Log every execution

    Option to print the result log of every execution. Depends on --progress flag

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --file=<path/to/apex/file>  Script File Path

    Path to the Anonymous Apex Script file

sf ah execute apex org

Execute Anonymous Apex N Times.

USAGE
  $ sf ah execute apex org --file <value> [--json] [-r <value>] [-o <value>] [-a <value>] [-i <value>] [-l -p]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -i, --iterations=<value>           [default: 1] Script execution number
  -l, --print-log                    Print Log every execution
  -o, --target-org=<value>           Login username or alias for the target org
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  --file=<path/to/apex/file>         (required) Script File Path

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Execute Anonymous Apex N Times.

  Command to execute an Anonymous Apex script from file against the auth org N times.

ALIASES
  $ sf ah execute org apex
  $ sf ah execute apex org
  $ sf ah apex execute org
  $ sf ah apex org execute
  $ sf ah org execute apex
  $ sf ah org apex execute
  $ sf ah apex execute
  $ sf ah execute apex

EXAMPLES
  Execute a script 3 times

    $ sf ah execute apex org -f "path/to/script.apex" -i 3

  Execute a script 10 times and print the execution log

    $ sf ah execute apex org -f "path/to/script.apex" --iterations 10 --print-log

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -i, --iterations=<value>  Script execution number

    Option to select the scritp execution number. For example, 3 for execute the script 3 times

  -l, --print-log  Print Log every execution

    Option to print the result log of every execution. Depends on --progress flag

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --file=<path/to/apex/file>  Script File Path

    Path to the Anonymous Apex Script file

sf ah execute org apex

Execute Anonymous Apex N Times.

USAGE
  $ sf ah execute org apex --file <value> [--json] [-r <value>] [-o <value>] [-a <value>] [-i <value>] [-l -p]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -i, --iterations=<value>           [default: 1] Script execution number
  -l, --print-log                    Print Log every execution
  -o, --target-org=<value>           Login username or alias for the target org
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  --file=<path/to/apex/file>         (required) Script File Path

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Execute Anonymous Apex N Times.

  Command to execute an Anonymous Apex script from file against the auth org N times.

ALIASES
  $ sf ah execute org apex
  $ sf ah execute apex org
  $ sf ah apex execute org
  $ sf ah apex org execute
  $ sf ah org execute apex
  $ sf ah org apex execute
  $ sf ah apex execute
  $ sf ah execute apex

EXAMPLES
  Execute a script 3 times

    $ sf ah execute org apex -f "path/to/script.apex" -i 3

  Execute a script 10 times and print the execution log

    $ sf ah execute org apex -f "path/to/script.apex" --iterations 10 --print-log

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -i, --iterations=<value>  Script execution number

    Option to select the scritp execution number. For example, 3 for execute the script 3 times

  -l, --print-log  Print Log every execution

    Option to print the result log of every execution. Depends on --progress flag

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --file=<path/to/apex/file>  Script File Path

    Path to the Anonymous Apex Script file

sf ah get org permissions

Get All Available User Permissions

USAGE
  $ sf ah get org permissions [--json] [-r <value>] [-o <value>] [-a <value>] [-p] [--output-file <value>] [--csv]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -o, --target-org=<value>             Login username or alias for the target org
  -p, --progress                       Report Command Progress
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  --csv                                Show Result as CSV.
  --output-file=<path/to/output/file>  Output file

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Get All Available User Permissions

  Command to get all available User permisions in your org

ALIASES
  $ sf ah org permissions get
  $ sf ah org get permissions
  $ sf ah get org permissions
  $ sf ah get permissions org
  $ sf ah permissions org get
  $ sf ah permissions get org

EXAMPLES
  Get all available User permisions in your org and show the result as JSON

    $ sf ah get org permissions --json

  Get all available User permisions in your org and show the result as Table

    $ sf ah get org permissions

  Get all available User permisions in your org and save output as JSON

    $ sf ah get org permissions --output-file "path/to/the/output/permissions.json" --json

  Get all available User permisions in your org and save output as CSV

    $ sf ah get org permissions --output-file "path/to/the/output/permissions.json" --csv

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --csv  Show Result as CSV.

    Option to show the result as CSV instead a table if not select --json flag

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

sf ah get permissions org

Get All Available User Permissions

USAGE
  $ sf ah get permissions org [--json] [-r <value>] [-o <value>] [-a <value>] [-p] [--output-file <value>] [--csv]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -o, --target-org=<value>             Login username or alias for the target org
  -p, --progress                       Report Command Progress
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  --csv                                Show Result as CSV.
  --output-file=<path/to/output/file>  Output file

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Get All Available User Permissions

  Command to get all available User permisions in your org

ALIASES
  $ sf ah org permissions get
  $ sf ah org get permissions
  $ sf ah get org permissions
  $ sf ah get permissions org
  $ sf ah permissions org get
  $ sf ah permissions get org

EXAMPLES
  Get all available User permisions in your org and show the result as JSON

    $ sf ah get permissions org --json

  Get all available User permisions in your org and show the result as Table

    $ sf ah get permissions org

  Get all available User permisions in your org and save output as JSON

    $ sf ah get permissions org --output-file "path/to/the/output/permissions.json" --json

  Get all available User permisions in your org and save output as CSV

    $ sf ah get permissions org --output-file "path/to/the/output/permissions.json" --csv

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -o, --target-org=<value>  Login username or alias for the target org

    Overrides your default org

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --csv  Show Result as CSV.

    Option to show the result as CSV instead a table if not select --json flag

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

sf ah git tests extract

Extract Tests data from commits.

USAGE
  $ sf ah git tests extract -s <value> [--json] [-r <value>] [-a <value>] [--output-file <value>] [-t <value>]
    [--start-tag <value>] [--end-tag <value>]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  -s, --source=<value>                 (required) Source Branch, Commit or Tag.
  -t, --target=<value>                 Target Branch, Commit or Tag.
  --end-tag=<value>                    [default: --TESTS END--] End Tag to extract test Classes
  --output-file=<path/to/output/file>  [default: ./export] Output file
  --start-tag=<value>                  [default: --TESTS START--] Start Tag to extract test Classes

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Extract Tests data from commits.

  Command to extract all test classes from commits messages from GIT differences between branches, commits or tags

EXAMPLES
  Extracting tests data from differences between branchX and main branches

    $ sf ah git tests extract -s branchX -t main

  Extracting tests data from differences between branchX and main branches with json output

    $ sf ah git tests extract -s branchX -t main --json

  Extracting tests data from differences between branchX and main branches with custom start and end tag

    $ sf ah git tests extract -s branchX -t main --start-tag \"MyCustom Test Start Tag\" --end-tag \"MyCustom Test ^
      End Tag\" --json

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -s, --source=<value>  Source Branch, Commit or Tag.

    Source branch, commit, tag... to extract test classes from commit messages.

  -t, --target=<value>  Target Branch, Commit or Tag.

    Target branch, commit, tag... to extract test classes from commit messages.

  --end-tag=<value>  End Tag to extract test Classes

    End Tag for Test Classes names on git commit message (default: --TESTS END--)

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

  --start-tag=<value>  Start Tag to extract test Classes

    Start Tag for Test Classes names on git commit message. (default: --TESTS START--)

See code: lib/commands/ah/git/tests/extract.ts

sf ah local retrieve special

Summary of a command.

USAGE
  $ sf ah local retrieve special [--json] [-r <value>] [-a <value>] [-p] [--all | -t <value>] [-i <value>] [--download-all]
    [-c] [--sort-order simpleFirst|complexFirst|alphabetAsc|alphabetDesc]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -c, --compress                     Compress modified XML Files
  -i, --include-org=<value>          Include Org Data
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  -t, --type=<value>                 Retrieve Specifics Metadata Types.
  --all                              Retrieve all.
  --download-all                     Download from All Namespaces
  --sort-order=<option>              [default: simpleFirst] Sort order for XML Files compression
                                     <options: simpleFirst|complexFirst|alphabetAsc|alphabetDesc>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Summary of a command.

  More information about a command. Don't repeat the summary.

ALIASES
  $ sf ah local special retrieve
  $ sf ah special local retrieve
  $ sf ah local retrieve special

EXAMPLES
  Retrieve all special types with XML Compression and including org data

    $ sf ah local retrieve special --all -c -i

  Retrieve specific metadata types. Retrive all Profiles, Two Permission Sets (Perm1, Perm2) and Some Record Types
  (All Case RecordTypes and RTName Record Type from Account)

    $ sf ah local retrieve special -t "Profile, PermissionSet:Perm1, PermissionSet:Perm2, RecordType:Case, ^
      RecordType:Account:RtName"

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -c, --compress  Compress modified XML Files

    Add this option to compress modified files by retrieve operation

  -i, --include-org=<value>  Include Org Data

    With this option, you can retrieve the data from org, but only retrieve the types that you have in your local, in
    other words, update local data with your org data

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -t, --type=<value>  Retrieve Specifics Metadata Types.

    Retrieve specifics metadata types. You can choose one or a comma separated list of elements. Also you can choose
    retrieve a specific profile, object o record type. Schema -> "Type1" or "Type1,Type2" or "Type1:Object1,
    Type1:Object2" or "Type1:Object1:Item1" for example: "Profile, PermissinSet" to retrieve all profiles and permission
    sets. "Profile:Admin" to retrieve the admin profile. "RecordType:Account:RecordType1" to retrieve the RecordType1
    for the object Account or "RecordType:Account" to retrieve all Record Types for Account

  --all  Retrieve all.

    Retrieve all supported Metadata Types (Profile,PermissionSet,Translations,RecordType,CustomObject)

  --download-all  Download from All Namespaces

    Option to download all Metadata Types from any Namespaces (including managed packages). If this options is not
    selected, only download and retrieve data from your org namespace

  --sort-order=simpleFirst|complexFirst|alphabetAsc|alphabetDesc  Sort order for XML Files compression

    Sort order for the XML elements when compress XML files. By default, the elements are sorted with simple XML
    elements first.

sf ah local special retrieve

Summary of a command.

USAGE
  $ sf ah local special retrieve [--json] [-r <value>] [-a <value>] [-p] [--all | -t <value>] [-i <value>] [--download-all]
    [-c] [--sort-order simpleFirst|complexFirst|alphabetAsc|alphabetDesc]

FLAGS
  -a, --api-version=<value>          Target API version to use
  -c, --compress                     Compress modified XML Files
  -i, --include-org=<value>          Include Org Data
  -p, --progress                     Report Command Progress
  -r, --root=<path/to/project/root>  [default: ./] Root Project Path
  -t, --type=<value>                 Retrieve Specifics Metadata Types.
  --all                              Retrieve all.
  --download-all                     Download from All Namespaces
  --sort-order=<option>              [default: simpleFirst] Sort order for XML Files compression
                                     <options: simpleFirst|complexFirst|alphabetAsc|alphabetDesc>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Summary of a command.

  More information about a command. Don't repeat the summary.

ALIASES
  $ sf ah local special retrieve
  $ sf ah special local retrieve
  $ sf ah local retrieve special

EXAMPLES
  Retrieve all special types with XML Compression and including org data

    $ sf ah local special retrieve --all -c -i

  Retrieve specific metadata types. Retrive all Profiles, Two Permission Sets (Perm1, Perm2) and Some Record Types
  (All Case RecordTypes and RTName Record Type from Account)

    $ sf ah local special retrieve -t "Profile, PermissionSet:Perm1, PermissionSet:Perm2, RecordType:Case, ^
      RecordType:Account:RtName"

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -c, --compress  Compress modified XML Files

    Add this option to compress modified files by retrieve operation

  -i, --include-org=<value>  Include Org Data

    With this option, you can retrieve the data from org, but only retrieve the types that you have in your local, in
    other words, update local data with your org data

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -t, --type=<value>  Retrieve Specifics Metadata Types.

    Retrieve specifics metadata types. You can choose one or a comma separated list of elements. Also you can choose
    retrieve a specific profile, object o record type. Schema -> "Type1" or "Type1,Type2" or "Type1:Object1,
    Type1:Object2" or "Type1:Object1:Item1" for example: "Profile, PermissinSet" to retrieve all profiles and permission
    sets. "Profile:Admin" to retrieve the admin profile. "RecordType:Account:RecordType1" to retrieve the RecordType1
    for the object Account or "RecordType:Account" to retrieve all Record Types for Account

  --all  Retrieve all.

    Retrieve all supported Metadata Types (Profile,PermissionSet,Translations,RecordType,CustomObject)

  --download-all  Download from All Namespaces

    Option to download all Metadata Types from any Namespaces (including managed packages). If this options is not
    selected, only download and retrieve data from your org namespace

  --sort-order=simpleFirst|complexFirst|alphabetAsc|alphabetDesc  Sort order for XML Files compression

    Sort order for the XML elements when compress XML files. By default, the elements are sorted with simple XML
    elements first.

sf ah metadata compare

Compare Metadata Types and Objects between two orgs or between your local project and your auth org

USAGE
  $ sf ah metadata compare -o <value> [--json] [-r <value>] [-s <value>] [-a <value>] [-p] [--output-file <value>]
  [--csv]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -o, --target-org=<value>             (required) Target Org to Compare.
  -p, --progress                       Report Command Progress
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  -s, --source-org=<value>             Source Org to compare.
  --csv                                Show the result as CSV
  --output-file=<path/to/output/file>  Output file

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Compare Metadata Types and Objects between two orgs or between your local project and your auth org

  Command to compare your local project with your auth org for get the differences. The result are the metadata types
  and objects that you have in your org, but don't have in your local project. Also can compare between two different
  orgs and return the metadata that exists on target org but not exists on source org

ALIASES
  $ sf ah metadata compare
  $ sf ah compare metadata
  $ sf ah org compare
  $ sf ah compare org

EXAMPLES
  Compare Metadata Types and Objects between your local project and your auth org

    $ sf ah metadata compare -o [email protected]

  Compare Metadata Types and Objects between two orgs

    $ sf ah metadata compare -s [email protected] -o [email protected]

  Compare Metadata Types and Objects between your local project and your auth org and show the result as CSV

    $ sf ah metadata compare -t [email protected] --csv

  Compare Metadata Types and Objects between your local project and your auth org and show the result as JSON

    $ sf ah metadata compare -t [email protected] --json

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -o, --target-org=<value>  Target Org to Compare.

    Target Salesforce org to compare.

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -s, --source-org=<value>  Source Org to compare.

    Source Salesforce org to compare. If you choose source, --root will be ignored. If you not choose source, the
    command will compare your local project with your auth org

  --csv  Show the result as CSV

    Option to show the result as CSV instead a table if not select --json flag

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

sf ah metadata local compress

Compress XML Metadata Files.

USAGE
  $ sf ah metadata local compress [--json] [-r <value>] [--all | -f <value> | -d <value>] [--sort-order
    simpleFirst|complexFirst|alphabetAsc|alphabetDesc]

FLAGS
  -d, --directory=<path/to/directory>...  Compress XML Files from specific directory
  -f, --file=<path/to/file>...            Compress XML Files from specific directory
  -r, --root=<path/to/project/root>       [default: ./] Root Project Path
  --all                                   Compress All Project Files
  --sort-order=<option>                   [default: simpleFirst] Sort order for XML Files compression
                                          <options: simpleFirst|complexFirst|alphabetAsc|alphabetDesc>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Compress XML Metadata Files.

  Compress XML Metadata Files for best conflict handling with SVC systems. Works with relative or absolute paths.

ALIASES
  $ sf ah compress
  $ sf ah xml compress
  $ sf ah compress xml

EXAMPLES
  Compress all project XML Files

    $ sf ah metadata local compress -a

  Compress all XML Files from objects folder (and subfolders)

    $ sf ah metadata local compress -d force-app/main/default/objects --json

  Compress all XML Files from objects folder (and subfolders) and applications folder

    $ sf ah metadata local compress -d "force-app/main/default/objects" -d "force-app/main/default/applications"

  Compress all XML Files from objects folder (and subfolders) and applications folder

    $ sf ah metadata local compress -d "force-app/main/default/objects, force-app/main/default/applications"

  Compress specific XML File with progress report

    $ sf ah metadata local compress -f "force-app/main/default/objects/Account/Account.object-meta-xml" -p

  Compress specific XML Files with JSON output

    $ sf ah metadata local compress -f "force-app/main/default/objects/Account/Account.object-meta-xml" -f ^
      "force-app/main/default/objects/Case/Case.object-meta-xml" --json

  Compress specific XML Files with JSON output

    $ sf ah metadata local compress -f "force-app/main/default/objects/Account/Account.object-meta-xml, ^
      force-app/main/default/objects/Case/Case.object-meta-xml" --json

FLAG DESCRIPTIONS
  -d, --directory=<path/to/directory>...  Compress XML Files from specific directory

    Compress XML Files from specific directory (and subfolders). This options does not take effect if you choose
    compress all.

  -f, --file=<path/to/file>...  Compress XML Files from specific directory

    Compress XML Files from specific directory (and subfolders). This options does not take effect if you choose
    compress all.

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  --all  Compress All Project Files

    Compress all XML files with support compression in your project.

  --sort-order=simpleFirst|complexFirst|alphabetAsc|alphabetDesc  Sort order for XML Files compression

    Sort order for the XML elements when compress XML files. By default, the elements are sorted with simple XML
    elements first.

See code: lib/commands/ah/metadata/local/compress.ts

sf ah metadata local describe

Describe Local Metadata Types.

USAGE
  $ sf ah metadata local describe [--json] [-r <value>] [-a <value>] [-p] [--all | -t <value>] [-g] [--output-file <value>]
    [--csv]

FLAGS
  -a, --api-version=<value>            Target API version to use
  -g, --group                          Group global Quick Actions into GlobalActions.
  -p, --progress                       Report Command Progress
  -r, --root=<path/to/project/root>    [default: ./] Root Project Path
  -t, --type=<MetadataTypeName>...     Describe the specified metadata types.
  --all                                Describe all metadata types.
  --csv                                Show result as CSV.
  --output-file=<path/to/output/file>  Output file

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Describe Local Metadata Types.

  Command to describe all or specific Metadata Types like Custom Objects, Custom Fields, Apex Classes... that you have
  in your local project.

EXAMPLES
  Describe all metadata types, showing progress and show result as CSV and save output as CSV

    $ sf ah metadata local describe -a -p --output-file "path/to/the/output/file.csv" --csv

  Describe all metadata types, showing progress and show result as JSON and save output as JSON

    $ sf ah metadata local describe -a -p --output-file "path/to/the/output/file.json" --json

  Describe CustomObject, CustomField, Profile and ValidationRule metadata types, showing progress and result as table

    $ sf ah metadata local describe -t "CustomObject, CustomField, Profile, ValidationRule" -p

  Describe CustomObject, CustomField, Profile and ValidationRule metadata types, showing progress and result as table

    $ sf ah metadata local describe -t "CustomObject" -t "CustomField" -t "Profile -t "ValidationRule" -p

  Describe CustomObject and CustomField metadata types, showing result as JSON

    $ sf ah metadata local describe -t "CustomObject, CustomField" --json

  Describe CustomObject and CustomField metadata types, showing result as JSON

    $ sf ah metadata local describe -t "CustomObject" -t "CustomField" --json

FLAG DESCRIPTIONS
  -a, --api-version=<value>  Target API version to use

    Use this flag to override the default API version. The default API version are the SF PRoject API Version.

  -g, --group  Group global Quick Actions into GlobalActions.

    Option to group global Quick Actions into GlobalActions group, false to list as object and item.

  -p, --progress  Report Command Progress

    Option to report the command progress (into the selected format) or show a spinner loader

  -r, --root=<path/to/project/root>  Root Project Path

    Path to project root. By default is your current folder

  -t, --type=<MetadataTypeName>...  Describe the specified metadata types.

    Describe the specified metadata types. You can select a single metadata or a list separated by commas. This option
    does not take effect if you choose describe all.

  --all  Describe all metadata types.

    Describe all metadata types stored in your local project.

  --csv  Show result as CSV.

    Option to show the result as CSV instead a table if not select --json flag

  --output-file=<path/to/output/file>  Output file

    Path to file for redirect the output

See code: lib/commands/ah/metadata/local/describe.ts

sf ah metadata local ignore

Ignore Metadata from your project

USAGE
  $ sf ah metadata local ignore [--json] [-r <value>] [-p] [--all | -t <value>] [--file <value>] [-c] [--sort-order
    simpleFirst|co