IBM / vision-tools

IBM Maximo Visual Inspection CLI Tools and APIs
Apache License 2.0
23 stars 25 forks source link

Break apart CSV output from CSV migration, and migrate to new metadata API for saving files #19

Closed mikehollinger closed 4 years ago

mikehollinger commented 4 years ago

CSV migration should (hopefully) be a one-time operation. CSV output, however, will run frequently.

This adds a few features and also migrates the "source of truth" for CSV output by:

  1. Reading from the dataset's file metadata APIs instead of enumerating filenames and the filename field
  2. Adding an optional "newerthan" argument that (at the time of writing) only writes entries "newerthan" the user's target date in YYYYMMDDHHmmss format.
  3. Makes the arg parser require either 'output' or 'migrate' and disallows both at the same time