@@ -20,34 +20,34 @@ audit: ## Render audit from snapshot (no network, <100ms)
2020 echo " Consider running '\''make update'\'' for fresh version data." >&2 ; \
2121 fi ; \
2222 fi ; \
23- set -o pipefail; CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON ) cli_audit .py | \
23+ set -o pipefail; CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON ) audit .py | \
2424 $(PYTHON ) smart_column.py -s " |" -t --right 3,5 --header' || true
2525
2626audit-offline : # # Offline audit with hints (fast local scan)
27- @bash -c ' set -o pipefail; CLI_AUDIT_OFFLINE=1 CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON) cli_audit .py | \
27+ @bash -c ' set -o pipefail; CLI_AUDIT_OFFLINE=1 CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON) audit .py | \
2828 $(PYTHON ) smart_column.py -s " |" -t --right 3,5 --header' || true
2929
3030audit-% : scripts-perms # # Audit single tool (e.g., make audit-ripgrep)
31- @bash -c ' set -o pipefail; CLI_AUDIT_RENDER=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON) cli_audit .py --only $* | \
31+ @bash -c ' set -o pipefail; CLI_AUDIT_RENDER=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON) audit .py $* | \
3232 $(PYTHON ) smart_column.py -s " |" -t --right 3,5 --header' || true
3333
3434audit-offline-% : scripts-perms # # Offline audit subset (e.g., make audit-offline-python-core)
35- @bash -c ' set -o pipefail; CLI_AUDIT_OFFLINE=1 CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON) cli_audit .py --only $* | \
35+ @bash -c ' set -o pipefail; CLI_AUDIT_OFFLINE=1 CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON) audit .py $* | \
3636 $(PYTHON ) smart_column.py -s " |" -t --right 3,5 --header' || true
3737
3838SNAP_FILE? =$(shell python3 -c "import os;print(os.environ.get('CLI_AUDIT_SNAPSHOT_FILE','tools_snapshot.json') )")
3939
4040audit-auto : # # Update snapshot if missing, then render
4141 @if [ ! -f " $( SNAP_FILE) " ]; then \
4242 echo " # snapshot missing: $( SNAP_FILE) ; running update..." ; \
43- CLI_AUDIT_COLLECT=1 CLI_AUDIT_DEBUG=1 CLI_AUDIT_PROGRESS=1 $(PYTHON ) cli_audit .py || true ; \
43+ CLI_AUDIT_COLLECT=1 CLI_AUDIT_DEBUG=1 CLI_AUDIT_PROGRESS=1 $(PYTHON ) audit .py --update || true ; \
4444 fi ; \
45- CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON ) cli_audit .py | \
45+ CLI_AUDIT_RENDER=1 CLI_AUDIT_GROUP=0 CLI_AUDIT_HINTS=1 CLI_AUDIT_LINKS=1 CLI_AUDIT_EMOJI=1 $(PYTHON ) audit .py | \
4646 $(PYTHON ) smart_column.py -s " |" -t --right 3,5 --header || true
4747
4848update : # # Collect fresh version data with network calls and update snapshot (~10s)
4949 @echo " → Collecting fresh version data from upstream sources..." >&2
50- @bash -c ' set -o pipefail; CLI_AUDIT_COLLECT=1 CLI_AUDIT_TIMINGS=1 $(PYTHON) cli_audit .py' || true
50+ @bash -c ' set -o pipefail; CLI_AUDIT_COLLECT=1 CLI_AUDIT_TIMINGS=1 $(PYTHON) audit .py --update ' || true
5151 @echo " ✓ Snapshot updated. Run 'make audit' or 'make upgrade' to use it." >&2
5252 @echo " " >&2
5353 @echo " → Running system health checks..." >&2
@@ -56,7 +56,7 @@ update: ## Collect fresh version data with network calls and update snapshot (~1
5656 @$(MAKE ) check-node-managers || true
5757
5858update-debug : # # Collect with verbose debug output (shows network calls)
59- @bash -c ' set -o pipefail; CLI_AUDIT_COLLECT=1 CLI_AUDIT_DEBUG=1 CLI_AUDIT_TIMINGS=1 $(PYTHON) cli_audit .py' || true
59+ @bash -c ' set -o pipefail; CLI_AUDIT_COLLECT=1 CLI_AUDIT_DEBUG=1 CLI_AUDIT_TIMINGS=1 $(PYTHON) audit .py --update --verbose ' || true
6060
6161upgrade : scripts-perms # # Run interactive upgrade guide (uses snapshot, no network calls)
6262 @bash scripts/guide.sh
0 commit comments