Commands overview¶
All commands share these traits:
- stdout carries the data; stderr carries diagnostics (all
#-prefixed). - Pipe-safe: line-buffered stdout,
SIGPIPEhandled cleanly. - Accept
--profile NAME(falls back to$LOKI_PROFILE, then the active profile in the store) at the group level:
- Exit codes:
0on success,1on Loki/config errors,2on invalid CLI arguments.
| Command | Docs |
|---|---|
config |
config |
login / logout / whoami |
login |
labels |
labels |
target |
target |
logs |
logs |