0.0.4 • Published 3 years ago

@t360/cli v0.0.4

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
3 years ago

Accordion

Accordion is a type script tool for turning files of data that we call 'entity lists' into 'entities'. The entity list is a file that is easily created during an import process that contains all the data we know about a very few entities.

An entity is a json file that represents the data about one entity. Because creating this json takes signficant time and we would have to do it hundreds of millions of time, doing this after the import process is currently a major time optimisation.

Process

  • The fingerprint file is loaded
  • The raw entity file id is calculatated
  • The file is loaded and turned into a data structure that has the fingerprint line, the aspect file name and each line
    • Note that this is for one or more entities, not

Command Line Interface (CLI)

Type accordion --help for commands.

The purpose of the CLI is to help us resolve issues when troubleshooting the import process.

Library

The library can be used

Installation

On my (linux) machine I can use this to install the program if the program source code is in /mnt/git/accordion

sudo ln -s  /mnt/c/git/accordion/modules/cli/dist/index.js /usr/bin/accordion

TODOs

  • should respect the current .t360import. This means that the filenames should use the same mechanism that the import used
  • should also allow for checking of the caching

Known ids:

JP6380005000522 FR015750706 PA591022RPP