rux info
Purpose
Show information about the current or an installed Rux package
Synopsis
rux info
rux info [namespace]/[package]
rux info [namespace]/[package]@[requirement]
Behavior
Without an operand, reads the current manifest. With a namespaced identity, selects the highest installed version matching the requirement and consults the registry only to explain a cache miss. Package identities remain namespace-qualified.
Arguments
| Argument | Required | Description |
|---|---|---|
package | No | A namespaced package identity and optional requirement |
Options
| Option | Description |
|---|---|
--json | Output package metadata in JSON format |
--registry <url> | Registry API base URL to look an uninstalled package up on |
Global options may appear before or after the command. See Global options.
Output and exit status
Human-readable metadata goes to stdout. --json writes one complete, fully escaped JSON document on success or failure.
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 info
rux info Rux/Io
rux info Rux/[email protected]
rux info --json
Environment variables
RUX_REGISTRY_URL sets the lookup registry when --registry is absent.
The global color environment behavior is described under Global options.