Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow loading from local file/caching #293
I have added the ability to load data zip files from a local file/directory
Also used a temporary file in the ~/.hapi-fhir-cli/cache as a temporary file for the downloaded example file, this allowed for usage of a FileInputStream instead of a ByteArrayInputStream, thus allowing us to handle bigger files because they are not loaded completely into memory.
Also provided for automatic caching of that local temp file for up to 12 hours using the -c option.