@natlibfi/melinda-record-import-cli

3.0.6 • Public • Published

CLI for Melinda record batch import system NPM Version

CLI for Melinda record batch import system

Usage

NPM

$ npx @natlibfi/melinda-record-import-cli

Docker

$ docker run --rm quay.io/natlibfi/melinda-record-import-cli

You can use stdin in the container as follows:

$ docker run \
  --rm \
  -v /etc/localtime:/etc/localtime:ro \
  -i \
  --env-file .env \
  quay.io/natlibfi/melinda-record-import-cli profiles create foo

Or mount the the files directly:

$ docker run \
  --rm \
  -v /etc/localtime:/etc/localtime:ro \
  --env-file .env
  -v $PWD/profile.json:/data.json:ro \
  quay.io/natlibfi/melinda-record-import-cli profiles create foo /data.json

Building the application

$ npm install
$ npm run build
$ node dist/index.js

License and copyright

Copyright (c) 2021-2023 University Of Helsinki (The National Library Of Finland)

This project's source code is licensed under the terms of MIT or any later version.

Dependents (0)

Package Sidebar

Install

npm i @natlibfi/melinda-record-import-cli

Weekly Downloads

12

Version

3.0.6

License

mit

Unpacked Size

51.4 kB

Total Files

10

Last publish

Collaborators

  • natlibfi-jonollil
  • drone-melinda