From d2eee4a5406281aad0c0d482b8f4ce24563b2085 Mon Sep 17 00:00:00 2001 From: Eti Ijeoma Date: Mon, 23 Sep 2024 13:11:28 +0100 Subject: [PATCH] update example command to generate models from local directory Signed-off-by: Eti Ijeoma --- mesheryctl/internal/cli/root/registry/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesheryctl/internal/cli/root/registry/generate.go b/mesheryctl/internal/cli/root/registry/generate.go index 7ead0d86643..0c12a6a80fe 100644 --- a/mesheryctl/internal/cli/root/registry/generate.go +++ b/mesheryctl/internal/cli/root/registry/generate.go @@ -76,7 +76,7 @@ mesheryctl registry generate --registrant-def [path to connection 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 csv files in a local directory. - registry generate -d +mesheryctl registry generate -directory `, PreRunE: func(cmd *cobra.Command, args []string) error { // Prerequisite check is needed - https://github.com/meshery/meshery/issues/10369