collect: add diff to credentials file; --diff overrides it
Change --diff from store_true to default=None so CLI presence is
distinguishable from the JSON default. If not given on CLI, reads
creds_data.get("diff", False). Updated install.sh template and README.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -60,7 +60,8 @@ if [[ ! -f "$CREDS_FILE" ]]; then
|
||||
"interval_s": 300,
|
||||
"host": "0.0.0.0",
|
||||
"port": 9999,
|
||||
"log_dir": "./logs"
|
||||
"log_dir": "./logs",
|
||||
"diff": false
|
||||
}
|
||||
EOF
|
||||
chmod 600 "$CREDS_FILE"
|
||||
|
||||
Reference in New Issue
Block a user