Skip to content

Commit

Permalink
add comment on how to generate models from local csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
Aijeyomah committed Sep 17, 2024
1 parent 2ab285e commit e7d6a3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesheryctl/internal/cli/root/registry/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tu
mesheryctl registry generate --registrant-def [path to connection definition] --registrant-cred [path to credential definition]
// Generate a specific Model from a Google Spreadsheet (i.e. "Meshery Integrations" spreadsheet).
mesheryctl registry generate --spreadsheet-id "1DZHnzxYWOlJ69Oguz4LkRVTFM79kC2tuvdwizOJmeMw" --spreadsheet-cred --model "[model-name]"
// Generate Meshery Models and Component from a local csv files.
mesheryctl registry generate --model-csv <MODEL_CSV_PATH> --component-csv <COMPONENT_CSV_PATH>
`,
PreRunE: func(cmd *cobra.Command, args []string) error {
// Prerequisite check is needed - https://github.com/meshery/meshery/issues/10369
Expand Down

0 comments on commit e7d6a3d

Please sign in to comment.