Cosma CLI v1.0
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.yml
has been reorganised. The software is not backwards compatible: if you had aconfig.yml
file from the alpha, it will be necessary to re-create a compliantconfig.yml
file via thecosma config
command 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:/usr/local/lib/node_modules/@graphlab-fr/cosma/config.yml
. - A new
cosma batch
command allows you to create multiple records in one go. It is documented here. - The
minify
option to reduce the size of exports, which was not functional in v1.0, has been removed.