Idea: `sqlite-utils create-table tablename --sql "select ..."`
Open
Nobody has claimed this yet.
cli-tool
enhancement
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 172
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Description
Could offer syntactic sugar for:
create table foo as select * from bar
sqlite-utils create-table data.db foo --sql "select * from bar"
https://sqlite-utils.datasette.io/en/stable/cli-reference.html#create-table
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the create-table CLI reference linked in the issue, then locate the implementation of that command. Check how the existing command handles the database and table name before adding the proposed --sql entry point. Done means the example query can create the requested table through sqlite-utils create-table.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sqlite
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100