Global Options
These options are available on every Unsterwerx command and subcommand.
Options
| Option | Short | Type | Default | Description |
|---|---|---|---|---|
--data-dir | path | ~/.unsterwerx | Data directory for the database, CAS, and config | |
--config | path | Config file path (overrides default location) | ||
--verbose | -v | flag | Increase verbosity. Can be repeated: -v (info), -vv (debug), -vvv (trace) | |
--help | -h | flag | Print help information | |
--version | -V | flag | Print version (top-level only) |
Data Directory
The data directory contains the SQLite database, CAS storage, and configuration. By default, it is ~/.unsterwerx/.
Override with --data-dir:
bash
unsterwerx --data-dir /path/to/data status
Or with the UNSTERWERX_DATA environment variable:
bash
export UNSTERWERX_DATA=/path/to/data
unsterwerx status
The --data-dir flag takes precedence over the environment variable.
Verbosity
Use -v flags to increase log output:
bash
unsterwerx -v ingest /path/to/docs # info-level logging
unsterwerx -vv similarity # debug-level logging
unsterwerx -vvv audit --verify # trace-level logging
Version
bash
unsterwerx --version
unsterwerx 0.4.4