home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 913218494

This data as json

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/datasette/issues/1459#issuecomment-913218494 https://api.github.com/repos/simonw/datasette/issues/1459 913218494 IC_kwDOBm6k_c42bpu- 9599 2021-09-05T19:58:51Z 2021-09-05T19:59:15Z OWNER

This idea makes sense to me.

There's actually an existing option that takes a path, called --get - it returns the HTML or JSON for that oath directly to the console, eg datasette my.db --get /mydb/mytable.json

So... one option would be to allow combining that with -o to open that URL in the browser:

datasette my.db -o --get /mydb

So some options here are:

  • datasette my.db --open-url /mydb
  • datasette my.db --open-path /mydb
  • datasette my.db --open --get /mydb

I quite like that last combination option, mainly to avoid adding even more command options.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
988556488  
Powered by Datasette · Queries took 1.096ms · About: github-to-sqlite