medizininformatik-initiative / fhir-ontology-generator

3 stars 3 forks source link

Implement support for newer Firely Terminal versions #106

Open paulolaup opened 3 weeks ago

paulolaup commented 3 weeks ago

With the newer Firely Terminal versions, the CLI commands alongside the available parameters have received changes. For instance: in older versions (e.g. 3.2.1) packages could be installed locally via

fhir install <package-name> <version> --here

The --here option is not only deprecated but was even removed entirely (at least in version 3.3.1). Its replacement involves the use of local chaches:

First, a local cache needs to be created:

fhir cache use-local

Afterwards packages can be installed to said local cache:

fhir install <package-name> <version>

The directory structure has also changed to reflect the switch to local caches. Instead of the dependencies folder holding the installed packages, there is now a local cache folder containing the same. Accordingly the following features should be implemented:

  1. The ontology generator should be adapted to support newer version of the Firely Terminal.
  2. There should be an option to toggle the use of the legacy CLI