Tip: Series of commands to generate Meshery's model registry

Here is the command that I used to generate Meshery’s Models from the “Meshery Integrations” Google Sheets.

$ cat ~/spreadsheet.json | xargs mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tuvdwizOJmeMw" --spreadsheet-cred

The spreadsheet.json file contains a valid Google Cloud API token.

Alternatively, this workflow can be manually dispatched in order to regenerate and publish Models.

Also some things to keep in mind

  • convert the spreadsheet.json into base64
  • Make a copy of meshery integration spreadsheet and publish it in csv format first
1 Like