Lists all orgs that the Salesforce CLI has created or authenticated to.
It executes the force:org:list command.
In addition to the attributes used by every ant-sfdx task, this task uses the following attributes:
Attribute | Command line equivalent | Description | Required |
---|---|---|---|
all | --all | Lists all authenticated orgs, including expired, deleted, and unknown-status scratch orgs. | No |
clean | --clean | Remove all local org authorizations for deleted or expired orgs. | No |
Version: 0.0.0-master