{"html_url": "https://github.com/simonw/sqlite-utils/issues/374#issuecomment-1008346841", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/374", "id": 1008346841, "node_id": "IC_kwDOCGYnMM48GibZ", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-09T18:06:50Z", "updated_at": "2022-01-09T18:06:50Z", "author_association": "OWNER", "body": "In addition to a unit test I manually tested all of the above, e.g.\r\n```\r\n% sqlite-utils indexes global-power-plants.db sqlite_master --fmt rst\r\n======= ============ ======= ===== ====== ====== ====== =====\r\ntable index_name seqno cid name desc coll key\r\n======= ============ ======= ===== ====== ====== ====== =====\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": 1097135860, "label": "`--fmt` should imply `-t`"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/374#issuecomment-1008346338", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/374", "id": 1008346338, "node_id": "IC_kwDOCGYnMM48GiTi", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-09T18:03:22Z", "updated_at": "2022-01-09T18:03:22Z", "author_association": "OWNER", "body": "Commands that support `--fmt` (via the `@output_options` decorator) are:\r\n\r\n- `tables`\r\n- `views`\r\n- `query`\r\n- `memory`\r\n- `search`\r\n- `rows`\r\n- `triggers`\r\n- `indexes`\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1097135860, "label": "`--fmt` should imply `-t`"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/374#issuecomment-1008345267", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/374", "id": 1008345267, "node_id": "IC_kwDOCGYnMM48GiCz", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-09T17:56:37Z", "updated_at": "2022-01-09T17:56:37Z", "author_association": "OWNER", "body": "Better:\r\n```python\r\nif fmt:\r\n table = True\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1097135860, "label": "`--fmt` should imply `-t`"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/374#issuecomment-1008252732", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/374", "id": 1008252732, "node_id": "IC_kwDOCGYnMM48GLc8", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-01-09T08:25:30Z", "updated_at": "2022-01-09T08:25:30Z", "author_association": "OWNER", "body": "Need to change `if table:` to `if table or fmt:` in a few places.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1097135860, "label": "`--fmt` should imply `-t`"}, "performed_via_github_app": null}