Ajoute une commande `insitu datasets create-grist-definition`
To create a YAML dataset definition for a table in a Grist document, copy the CSV download URL of that table, then use the following command (be careful to add double quotes around the URL, so that the shell does not interpret the &
character):
insitu datasets create-grist-definition "https://example.org/o/myorg/api/docs/XXXXXXXX/download/csv?viewSection=1&tableId=Table"
You may specify the name of the PostgreSQL table for that dataset using the --table-name
option:
insitu datasets create-grist-definition "https://example.org/o/myorg/api/docs/XXXXXXXX/download/csv?viewSection=1&tableId=Table" --table-name=foo
cc @vviers