Skip to content

Make adb config create --from-json dumber - #513

Merged
bovlb merged 4 commits into
developfrom
adb-configure-simpler
Oct 29, 2024
Merged

bovlb merged 4 commits into
developfrom
adb-configure-simpler

Conversation

@bovlb

@bovlb bovlb commented Oct 28, 2024 •

Copy link
Copy Markdown
Contributor

After some discussion this morning, we decided that, while we do like the smart behaviour of CommonLibrary.create_connector, we want the CLI adb config create --from-json to be less smart. With this change, it will not look at environment variables; it will not look in dotenv files; it will simply accept an interactive input and nothing else.

The name remains optional, and will override the name in the JSON if provided.

I closed a gap whereby names from JSON/interactive were not checked for overwrite. We now check in three places:

  • When the name is given on the command line
  • When the name is inferred from the JSON file
  • When the name is given interactively

@bovlb
bovlb requested review from drewaogle and gsaluja9 October 28, 2024 23:46
@bovlb
bovlb merged commit fc8fd05 into develop Oct 29, 2024
@bovlb
bovlb deleted the adb-configure-simpler branch October 29, 2024 17:18
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