html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,issue,performed_via_github_app https://github.com/simonw/sqlite-utils/issues/107#issuecomment-623128528,https://api.github.com/repos/simonw/sqlite-utils/issues/107,623128528,MDEyOklzc3VlQ29tbWVudDYyMzEyODUyOA==,9599,2020-05-03T15:36:58Z,2020-05-03T15:36:58Z,OWNER,Documentation: https://github.com/simonw/sqlite-utils/blob/d16097231c5e51ea857b58c700f97a17b68dc583/docs/cli.rst#creating-views,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",611222968, https://github.com/simonw/sqlite-utils/issues/107#issuecomment-623127140,https://api.github.com/repos/simonw/sqlite-utils/issues/107,623127140,MDEyOklzc3VlQ29tbWVudDYyMzEyNzE0MA==,9599,2020-05-03T15:27:22Z,2020-05-03T15:27:22Z,OWNER,"Syntax: $ sqlite-utils create-view my.db myview ""select sqlite_version()"" Also accepts `--replace` and `--ignore` options, same as `create-table`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",611222968, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623126943,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623126943,MDEyOklzc3VlQ29tbWVudDYyMzEyNjk0Mw==,9599,2020-05-03T15:25:55Z,2020-05-03T15:25:55Z,OWNER,Documentation: https://github.com/simonw/sqlite-utils/blob/78264b738cd72ffad6e5c32ede3f074f8aad0ca4/docs/cli.rst#creating-tables,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623120166,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623120166,MDEyOklzc3VlQ29tbWVudDYyMzEyMDE2Ng==,9599,2020-05-03T14:38:59Z,2020-05-03T14:38:59Z,OWNER,I'll stick with requiring all three fk arguments.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623051550,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623051550,MDEyOklzc3VlQ29tbWVudDYyMzA1MTU1MA==,9599,2020-05-03T04:17:18Z,2020-05-03T04:17:18Z,OWNER,"Be nice if you could do `--fk colname` and have it guess the rest, but I'm not sure how to do that with a CLI option - they need a fixed number of arguments so that they don't consume the next batch of options.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623051447,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623051447,MDEyOklzc3VlQ29tbWVudDYyMzA1MTQ0Nw==,9599,2020-05-03T04:15:52Z,2020-05-03T04:15:52Z,OWNER,Supporting `--fk colname othertable othercol` would be neat too.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623051392,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623051392,MDEyOklzc3VlQ29tbWVudDYyMzA1MTM5Mg==,9599,2020-05-03T04:15:05Z,2020-05-03T04:15:05Z,OWNER,"I need tests for what happens if table already exists, or if the user provides invalid column types.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/sqlite-utils/issues/108#issuecomment-623050458,https://api.github.com/repos/simonw/sqlite-utils/issues/108,623050458,MDEyOklzc3VlQ29tbWVudDYyMzA1MDQ1OA==,9599,2020-05-03T04:00:32Z,2020-05-03T04:00:32Z,OWNER,"``` from sqlite_utils import cli cli.cli.commands.keys() ``` Outputs: ``` dict_keys(['tables', 'views', 'vacuum', 'optimize', 'add-column', 'add-foreign-key', 'index-foreign-keys', 'create-index', 'enable-fts', 'populate-fts', 'disable-fts', 'insert', 'upsert', 'create-table', 'query', 'rows']) ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",611326701, https://github.com/simonw/sqlite-utils/issues/108#issuecomment-623050375,https://api.github.com/repos/simonw/sqlite-utils/issues/108,623050375,MDEyOklzc3VlQ29tbWVudDYyMzA1MDM3NQ==,9599,2020-05-03T03:59:16Z,2020-05-03T03:59:27Z,OWNER,"``` import re r = re.compile(r'\$ sqlite-utils (\S+) ') rst = open(""docs/cli.rst"").read() {command for command in r.findall(rst) if ""."" not in command and "":"" not in command} ``` Outputs: ``` {'add-column', 'add-foreign-key', 'create-index', 'disable-fts', 'enable-fts', 'index-foreign-keys', 'insert', 'optimize', 'populate-fts', 'query', 'rows', 'tables', 'vacuum', 'views'} ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",611326701, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623049505,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623049505,MDEyOklzc3VlQ29tbWVudDYyMzA0OTUwNQ==,9599,2020-05-03T03:45:32Z,2020-05-03T03:45:32Z,OWNER,"Could take `--ignore` to ignore if table already exists, and `--replace` to drop and replace it if it exists.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/sqlite-utils/issues/27#issuecomment-623048530,https://api.github.com/repos/simonw/sqlite-utils/issues/27,623048530,MDEyOklzc3VlQ29tbWVudDYyMzA0ODUzMA==,9599,2020-05-03T03:30:31Z,2020-05-03T03:30:31Z,OWNER,"Copy the design for `--not-null` and `--default` from the `insert` command: ``` $ sqlite-utils insert dogs.db dogs_with_scores dogs-with-scores.json \ --not-null=age \ --not-null=name \ --default age 2 \ --default score 5 ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",455496504, https://github.com/simonw/datasette/issues/151#issuecomment-623047233,https://api.github.com/repos/simonw/datasette/issues/151,623047233,MDEyOklzc3VlQ29tbWVudDYyMzA0NzIzMw==,9599,2020-05-03T03:11:16Z,2020-05-03T03:11:16Z,OWNER,Now live at https://latest.datasette.io/-/patterns,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",276718605, https://github.com/simonw/datasette/issues/151#issuecomment-623044858,https://api.github.com/repos/simonw/datasette/issues/151,623044858,MDEyOklzc3VlQ29tbWVudDYyMzA0NDg1OA==,9599,2020-05-03T02:37:03Z,2020-05-03T02:37:03Z,OWNER,"I'm going to put this at `/-/patterns`, which will render a template called `patterns.html`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",276718605,