rux logout
Purpose
Forget the token stored for a Rux package registry
Synopsis
rux logout [options]
Behavior
Removes only the stored token associated with the selected registry. It does not change the RUX_TOKEN environment variable or credentials for other registries.
Arguments
This command accepts no operands.
Options
| Option | Description |
|---|---|
--registry <url> | Registry API base URL to forget the token for |
Global options may appear before or after the command. See Global options.
Output and exit status
Primary results are written to stdout. Progress, warnings, and errors are written to stderr.
Success exits 0, invalid command-line usage exits 2, and compiler, validation, filesystem, network, or generation failures exit 1 unless stated otherwise above.
Examples
rux logout
rux logout --registry http://localhost:8080
Environment variables
RUX_REGISTRY_URL selects the registry when --registry is absent.
The global color environment behavior is described under Global options.