Neverending Programming Mistakes

npm

Need private packages and team management tools?Check out npm Orgs. »

lanetix-import-csv

1.1.0 • Public • Published

lanetix-import-csv

Import csv files into lanetix.

Installation

npm install -g lanetix-import-csv

Usage

First you need to get a csv file which has a header row which consists of field names, and subsequent rows which contain valid values for thoses fields (or blank).

NB you must currently resolve your own dependencies (e.g., determine owner_id from owner name).

NB you must ensure that numbers are actually numbers (no , or $)

lanetix-import-csv <record-type> <file> <api-uri> <token>

Will read a csv from file, and rows into records, basing the field name off of the first row of the csv file. Records of type record-type are created at api- uri with token.

Options: -h, --help Show help -i Ignore missing fields (will continue import if a column header does not match any existing fields)

Keywords

none

install

npm i lanetix-import-csv

Downloadsweekly downloads

8

version

1.1.0

license

MIT

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability