You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: SHOW commands respect --json flag (issue #134)
All SHOW handlers that emitted "No X found." plain-text messages were
returning early before calling writeResult(), producing no output in
JSON mode. Fix applied across 10 files:
Pattern A (gate empty-state message, fall through to writeResult):
showODataClients, showODataServices, showExternalEntities,
showExternalActions, showRestClients, showPublishedRestServices,
showContractEntities/Actions/Channels/Messages, showConstants,
showConstantValues, showDatabaseConnections,
showBusinessEventServices/Events, showLanguages
Pattern B (also gate header text):
showFeaturesAll, showFeaturesInArea, showFeaturesAddedSince
Pattern C (convert raw fmt.Fprintf to writeResult):
showProjectSecurity → TableResult ["Property", "Value"]
showDemoUsers → empty TableResult when disabled in JSON mode
showAccessOnMicroflow → TableResult ["Module", "Role"]
showAccessOnPage → TableResult ["Module", "Role"]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments