{"html_url": "https://github.com/simonw/sqlite-utils/issues/108#issuecomment-623050458", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/108", "id": 623050458, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzA1MDQ1OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-03T04:00:32Z", "updated_at": "2020-05-03T04:00:32Z", "author_association": "OWNER", "body": "```\r\nfrom sqlite_utils import cli\r\ncli.cli.commands.keys() \r\n```\r\nOutputs:\r\n``` \r\ndict_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'])\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611326701, "label": "Documentation unit tests for CLI commands"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/108#issuecomment-623050375", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/108", "id": 623050375, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzA1MDM3NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-03T03:59:16Z", "updated_at": "2020-05-03T03:59:27Z", "author_association": "OWNER", "body": "```\r\nimport re\r\nr = re.compile(r'\\$ sqlite-utils (\\S+) ')\r\nrst = open(\"docs/cli.rst\").read()\r\n{command for command in r.findall(rst) if \".\" not in command and \":\" not in command}\r\n```\r\nOutputs:\r\n```\r\n{'add-column',\r\n 'add-foreign-key',\r\n 'create-index',\r\n 'disable-fts',\r\n 'enable-fts',\r\n 'index-foreign-keys',\r\n 'insert',\r\n 'optimize',\r\n 'populate-fts',\r\n 'query',\r\n 'rows',\r\n 'tables',\r\n 'vacuum',\r\n 'views'}\r\n```\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611326701, "label": "Documentation unit tests for CLI commands"}, "performed_via_github_app": null}