Skip to content

Add --from-json to adb config create - #502

Merged
bovlb merged 8 commits into
developfrom
add-json-configs-to-adb-config-create
Oct 10, 2024
Merged

bovlb merged 8 commits into
developfrom
add-json-configs-to-adb-config-create

Conversation

@bovlb

@bovlb bovlb commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

[ Recreation of https://github.com//pull/501 with lower-case branch name ]

Part of a set of changes to optimize quick start, etc.
This change adds a --from-json option to adb config create. If specified, then the normal connection parameters are ignored and instead we look for a JSON string in one of three places:

The environment variable APERTUREDB_JSON
An entry for APERTUREDB_JSON in a .env file
In interactive mode, the user will be prompted to enter the JSON string. This is treated like a password.

Comment thread aperturedb/cli/configure.py Resolved
Comment thread aperturedb/cli/configure.py Resolved

@vishakha041 vishakha041 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didnt test it but I am guessing you hve.

@bovlb
bovlb merged commit dff8f34 into develop Oct 10, 2024
@bovlb
bovlb deleted the add-json-configs-to-adb-config-create branch October 10, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants