digital-dream-labs / vector-web-setup

Tool to perform initial configuration of Vector robots.
MIT License
65 stars 57 forks source link

import/export config commands #1

Open grant-olson opened 4 years ago

grant-olson commented 4 years ago

We need a way for users to swap configurations after they've added their own otas. The CLI tool should be expanded to include a comprehensive import and export tool.

anant-kaushik commented 4 years ago
  1. Are we talking about both settings.json and inventory.json?
  2. Swapping configurations would mean swapping the site/data files and the default-data files remain intact.
  3. Would the user be explicitly providing the file paths where they want to export or import from or the command looks for settings.json and inventory.json in the directory the command is issued? i.e. the following command
    $ ~/new_data vector-web-setup import 

    would look for settings.json and inventory.json in ~/new_data folder and import them to site/data of the library function.