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
CLI version flag — the version string passed to Commander was hardcoded as "0.1.0".
It now uses createRequire(import.meta.url) to load the version field from package.json
at runtime, so -V always reflects the published package version.
--count validation (spec 29) — generate --count 0, --count -1, and --count abc
now exit with code 1 and a clear error message to stderr instead of silently outputting an
empty array. Numeric values are displayed unquoted; non-numeric strings are quoted.
Example: Error: --count must be a positive integer, got 0
--annotate pipeline hint (spec 30) — When --annotate is used and stdout is a TTY
(interactive terminal), a hint is printed to stderr explaining that piping to fhir-resource-diff validate requires extracting .resource first via jq '.resource'.
The hint is suppressed when stdout is piped — it never appears in pipe output.
The --annotate help text now documents the { resource, notes } wrapper shape and the
required jq workaround for pipeline use.