simonw / simonw/sqlite-utils

Ability to pass a URI to the CLI tools

Open
#650 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

cli-tool design enhancement
Dominant language
Python
Stars
2.2k
Forks
172
Avg merge
9m
Merged PRs (30d)
1

Description

Thread: https://mastodon.xyz/@Profpatsch/114083481108799334

Goal is to support something like:

sqlite-utils query foo.db?inmutable=1 "select * from bar"

Might need a --uri option?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sqlite-utils query CLI entry point and review how it currently accepts database paths. Use the issue's foo.db?inmutable=1 example to determine the expected URI handling, then verify that the query command accepts the URI form without breaking ordinary paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
cli, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.