summaryrefslogtreecommitdiff
path: root/internal/config/args.go
AgeCommit message (Collapse)Author
2026-03-13task 399: add client session spec scaffoldingPaul Buetow
2026-03-03feat(config): add auth-key CLI and server cache settingsPaul Buetow
2026-02-03Add SSH agent key selection and fix MapReduce outfile handlingPaul Buetow
This commit adds two major features and fixes: 1. SSH Agent Key Selection: - Add --agentKeyIndex flag to select specific SSH agent key (0-based) - Solves "too many authentication failures" with multiple SSH keys - Default -1 uses all keys (backwards compatible) - Available in dtail, dcat, dgrep, dmap commands 2. MapReduce Outfile Fixes: - CSV files now written at every interval, not just on exit - Proper signal handling (SIGTERM/SIGINT) with graceful shutdown - 5-second grace period for cleanup before force exit - Fixes issue where outfile remained as .tmp during execution Usage: dtail --servers host --agentKeyIndex 0 --query '...' outfile results.csv This is particularly useful with YubiKey/hardware tokens where many keys are loaded in the SSH agent, and for monitoring MapReduce results in real-time as they're computed. Co-authored-by: Cursor <cursoragent@cursor.com>
2021-12-03reduce more code complexityPaul Buetow
2021-11-07can set ssh private key path file via env varPaul Buetow
2021-10-31rename spartan mode to plain modePaul Buetow
2021-10-27integration tests use separate ssh private key filePaul Buetow
2021-10-15Execute test directories individuallyPaul Buetow
2021-10-14Merging grep context from masterPaul Buetow
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-09refactorPaul Buetow
2021-10-02reduce logging in serverless modePaul Buetow
2021-10-02add more default fields to MAPREDUCEPaul Buetow
2021-10-02can have daily and normal file log rotationPaul Buetow
2021-10-02refactor config reader - also looks in additional search paths for config ↵Paul Buetow
file unless NONE is specified
2021-10-02move args to config packagePaul Buetow
logger package rewrite as dlog