Optionaloptions: AuthRemoverOptionsFinds all org authorizations in the global info file (.sf/sf.json)
Finds authorization files for username/alias in the global .sfdx folder Throws SfError{ name: 'TargetOrgNotSetError' } if no target-org Throws SfError{ name: 'NamedOrgNotFoundError' } if specified user is not found
OptionalusernameOrAlias: stringusername or alias of the auth you want to find, defaults to the configured target-org
Handles the removing of authorizations, which includes deleting the auth file in the global .sfdx folder, deleting any configs that are associated with the username/alias, and deleting any aliases associated with the username
Pass a
projectPathto resolve local config from a specific project instead ofprocess.cwd(), andskipCacheto re-read config from disk when the process-cached aggregator can't be trusted: