Alexander Wang
Alexander Wang
sql_table shape won't suffice because it doesn't support multiple columns
https://discord.com/channels/1039184639652265985/1039184640285610147/1054867819256361060
perhaps d2 should have a native shape type for this. `sql_table_data`. seems quite common in practice for people to want to show a sample
ohhh wait, we can just use grid with 0 gap for these! @gavin-ts . that'd be a great use case https://github.com/terrastruct/d2/pull/1178
no i was just talking about representing tables in general. if we have such an option natively in D2, there's no need or a much lower priority to support it...
to be clear, ur talking about when users run `d2 version` right? not auto-checking once a week?
does it even need `--out-dir` then? the CLI can check that the second arg (output) is an existing directory, and treat it as `out-dir` if so.
okay, this task is to add `--out-dir` then
will also need `--out-format` (https://github.com/terrastruct/d2/issues/1288)
ah fuck. might have to go into their source code for this one then. we'll save for later