Skip to content

Feature request: suggestions upon typos or incorrect casing #362

@thisisnic

Description

@thisisnic

Minor quality-of-life type thing, but it could be nice if typos in driver names led to suggestions when there is a driver which name has a short edit distance from the user's input, instead of erroring. E.g. instead of

@thisisnic ➜ /workspaces/adbc-lab (main) $ dbc install postrgesql
Error: could not find driver: driver `postrgesql` not found in driver registry index

We might get something like

@thisisnic ➜ /workspaces/adbc-lab (main) $ dbc install postrgesql
  Driver `postrgesql` not found in driver registry index, did you mean:
    'postgresql'

An even narrower scope might be just casing, e.g. if a user types, e.g. DuckDB instead of duckdb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions