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
Added neighbors to the JSON envelope parametrized test matrix (alongside doctor and tags)
Added explicit invalid-format rejection tests: tags --format yaml and neighbors --format markdown verified to produce clear Click Invalid value errors
Click's Choice type already enforces format validation at parse time — unsupported formats produce clear error messages, not tracebacks
JSON-only commands (tags, neighbors) are documented as intentional: these commands produce structured machine-readable output that maps to a single format
Existing coverage: test_query_fmt.py provides the query verb format matrix (list, stats, bulk-export across all supported formats), and test_deterministic_output.py covers JSON envelope contracts for machine-readable commands.
Activity
Sinity commentedon May 8, 2026
Closing: CLI format-profile matrix coverage expanded.
Changes:
neighborsto the JSON envelope parametrized test matrix (alongsidedoctorandtags)tags --format yamlandneighbors --format markdownverified to produce clear ClickInvalid valueerrorsChoicetype already enforces format validation at parse time — unsupported formats produce clear error messages, not tracebackstags,neighbors) are documented as intentional: these commands produce structured machine-readable output that maps to a single formatExisting coverage:
test_query_fmt.pyprovides the query verb format matrix (list,stats,bulk-exportacross all supported formats), andtest_deterministic_output.pycovers JSON envelope contracts for machine-readable commands.