Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import/export config commands #1

Open
grant-olson opened this issue Jul 30, 2020 · 1 comment
Open

import/export config commands #1

grant-olson opened this issue Jul 30, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request priority - high

Comments

@grant-olson
Copy link

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
Copy link
Contributor

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority - high
Projects
None yet
Development

No branches or pull requests

2 participants