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

Create CLI for config read/update, dwave config {get|set|list} #490

Open
randomir opened this issue Oct 5, 2021 · 0 comments
Open

Create CLI for config read/update, dwave config {get|set|list} #490

randomir opened this issue Oct 5, 2021 · 0 comments
Labels

Comments

@randomir
Copy link
Member

randomir commented Oct 5, 2021

Something like:

$ dwave config -f /path/to/file -p profile-name set solver DW_2000Q_6
<solver set to DW_2000Q_6 for profile-name>

$ MY_TOKEN=$(dwave config get token)
<api-token stored in an env var>

$ dwave config -p test list
test.solver = ...
test.endpoint = ...

And then after #426, even something like this:

$ dwave config set defaults.solver.topology.type pegasus
<default solver topology set to pegasus>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant