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: string
username or alias of the auth you want to find, defaults to the configured target-org
Removes all authentication files and any configs or aliases associated with them
Removes the authentication and any configs or aliases associated with it
the username or alias that you want to remove
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: