catalog default
Show or change the persisted default catalog name.
The default catalog applies when xorq catalog invocations supply neither -n/--name nor -p/--path. Without options, prints the resolved name and the source that supplied it. --set and --unset are mutually exclusive.
Resolution order:
- The
XORQ_DEFAULT_CATALOGenvironment variable. - The persisted config file (written by
--set). - The built-in default name (
default).
Usage
xorq catalog default [OPTIONS]Options
| Option | Default | Description |
|---|---|---|
--set |
none | Set the default catalog name. |
--unset |
off | Remove the persisted default. |
Examples
# Show the current default and where it came from
xorq catalog default
# Persist a new default
xorq catalog default --set analytics
# Remove the persisted default
xorq catalog default --unset