Improved UX

This commit is contained in:
Jason Thistlethwaite
2026-10-18 10:33:01 -04:00
parent 2e686215ed
commit 71bb541d0b
3 changed files with 356 additions and 46 deletions
+3
View File
@@ -290,6 +290,9 @@ def main(argv=None):
if not existing.is_dir() or not os.access(existing,os.W_OK|os.X_OK):
problems.append(f'Cache parent is not writable: {existing}')
report.update(ready=not problems,problems=problems,network_checked=False)
if selected:
report['env_file_loaded'] = str(selected)
report['env_file_data_keys'] = list(data.keys()) if data else []
print(json.dumps(report,indent=2))
return 2 if opts.get('--doctor') and problems else 0
if not report['api_key_present']: