Cosma CLI v1.0
2022-01-30 GitHub — Zenodo
Cosma is now available again in its command-line interface (CLI) version. This CLI version is available on macOS, Windows and Linux. NodeJS version 15 or higher is required. Enter the following command to install Cosma CLI:
npm i @graphlab-en/cosma -g
The documentation has been updated: https://cosma.graphlab.fr/en/docs/user-manual/#cosma-cli
The following changes have been made since the alpha:
- The source code has been reorganised to allow the simultaneous development of the GUI and CLI versions from the same code base (cosma-core).
- The configuration file
config.ymlhas been reorganised. The software is not backwards compatible: if you had a
config.ymlfile from the alpha, it will be necessary to re-create a compliant
config.ymlfile via the
cosma configcommand and then modify it. The location of the file now depends on the Cosma CLI installation path. On Windows:
%USERPROFILE%\AppData\Roaming\npm\node_modules\@graphlab-en\cosma\config.yml. On macOS and Linux:
- A new
cosma batchcommand allows you to create multiple records in one go. It is documented here.
minifyoption to reduce the size of exports, which was not functional in v1.0, has been removed.