Skip to content

Commit

Permalink
update example command to generate models from local directory
Browse files Browse the repository at this point in the history
Signed-off-by: Eti Ijeoma <ijayeti@gmail.com>
  • Loading branch information
Aijeyomah committed Sep 23, 2024
1 parent 1363a4a commit d2eee4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesheryctl/internal/cli/root/registry/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <DIRECTORY_PATH>
mesheryctl registry generate -directory <DIRECTORY_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 d2eee4a

Please sign in to comment.