Skip to content

Commit

Permalink
Merge pull request #11114 from lekaf974/feature/model-subcommand-prom…
Browse files Browse the repository at this point in the history
…otion

[mesheryctl] Promote model command
  • Loading branch information
leecalcote committed Jun 6, 2024
2 parents 9d0e5ff + 12f7d4e commit 157d740
Show file tree
Hide file tree
Showing 100 changed files with 674 additions and 623 deletions.
14 changes: 13 additions & 1 deletion docs/_data/mesheryctlcommands/cmds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,19 @@ registry:
spreadsheet_id:
name: --spreadsheet-id
description: id of the spreadsheet to download

model:
name: model
description:
usage: mesheryctl model [command] [flags]
flags:
help:
name: --help, -h
description: help for model
usage: mesheryctl model --help
example: mesheryctl model --help
subcommands:
list:
name: list
exp:
name: exp
description: Experimental features
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ mesheryctl completion fish > ~/.config/fish/completions/mesheryctl.fish

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mesheryctl exp components list --page 2

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mesheryctl exp components search [query-text]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ mesheryctl exp components view [component-name]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ mesheryctl exp components search [component-name]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ mesheryctl exp connections delete [connection_id]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mesheryctl exp connections list --page 2

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mesheryctl exp connections list

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ https://docs.layer5.io/cloud/spaces/environments/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ https://docs.layer5.io/cloud/spaces/environments/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ https://docs.layer5.io/cloud/spaces/environments/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ mesheryctl exp environment view --orgID [orgId]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ https://docs.layer5.io/cloud/spaces/environments/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ mesheryctl exp relationship generate [flags]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mesheryctl exp relationship view [model-name]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mesheryctl exp relationships view [model-name]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ https://docs.layer5.io/cloud/spaces/workspaces/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ https://docs.layer5.io/cloud/spaces/workspaces/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ https://docs.layer5.io/cloud/spaces/workspaces/

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-exp.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ mesheryctl exp [flags]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mesheryctl filter delete [filter-name | ID]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-t, --token string Path to token file default from current context
-v, --verbose verbose output

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ mesheryctl filter import /path/to/filter.wasm --name [string]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-t, --token string Path to token file default from current context
-v, --verbose verbose output

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-filter-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mesheryctl filter list 'Test Filter' (maximum 25 filters)

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-t, --token string Path to token file default from current context

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-filter-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ mesheryctl filter view --all

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-t, --token string Path to token file default from current context
-v, --verbose verbose output

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ mesheryctl filter [subcommands]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-mesh-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mesheryctl mesh deploy linkerd --watch

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-mesh-remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mesheryctl mesh remove linkerd --namespace linkerd-ns

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-t, --token string Path to token for authenticating to Meshery API
-v, --verbose verbose output

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mesheryctl mesh validate istio --adapter meshery-istio --spec smi

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/reference/mesheryctl/mesheryctl-mesh.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Provisioning, configuration, and on-going operational management of cloud and cl

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
layout: default
title: mesheryctl-exp-model-list
permalink: reference/mesheryctl/exp/model/list
redirect_from: reference/mesheryctl/exp/model/list/
title: mesheryctl-model-list
permalink: reference/mesheryctl/model/list
redirect_from: reference/mesheryctl/model/list/
type: reference
display-title: "false"
language: en
command: exp
subcommand: model
command: model
subcommand: list
---

# mesheryctl exp model list
# mesheryctl model list

list registered models

Expand All @@ -19,7 +19,7 @@ list registered models
list name of all registered models
<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl exp model list [flags]
mesheryctl model list [flags]

</div>
</pre>
Expand All @@ -29,15 +29,15 @@ mesheryctl exp model list [flags]
View list of models
<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl exp model list
mesheryctl model list

</div>
</pre>

View list of models with specified page number (25 models per page)
<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl exp model list --page 2
mesheryctl model list --page 2

</div>
</pre>
Expand All @@ -53,7 +53,7 @@ mesheryctl exp model list --page 2

<pre class='codeblock-pre'>
<div class='codeblock'>
-c, --count (optional) Get the number of models in total
--count (optional) Get the number of models in total
-h, --help help for list
-p, --page int (optional) List next set of models with --page (default = 1) (default 1)

Expand All @@ -64,7 +64,7 @@ mesheryctl exp model list --page 2

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
layout: default
title: mesheryctl-exp-model-search
permalink: reference/mesheryctl/exp/model/search
redirect_from: reference/mesheryctl/exp/model/search/
title: mesheryctl-model-search
permalink: reference/mesheryctl/model/search
redirect_from: reference/mesheryctl/model/search/
type: reference
display-title: "false"
language: en
command: exp
subcommand: model
command: model
subcommand: search
---

# mesheryctl exp model search
# mesheryctl model search

search models

Expand All @@ -19,7 +19,7 @@ search models
search a models by search string
<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl exp model search [flags]
mesheryctl model search [flags]

</div>
</pre>
Expand All @@ -29,7 +29,7 @@ mesheryctl exp model search [flags]
View current provider
<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl exp model search [query-text]
mesheryctl model search [query-text]

</div>
</pre>
Expand All @@ -47,7 +47,7 @@ mesheryctl exp model search [query-text]

<pre class='codeblock-pre'>
<div class='codeblock'>
--config string path to config file (default "/home/runner/.meshery/config.yaml")
--config string path to config file (default "~/.meshery/config.yaml")
-v, --verbose verbose output

</div>
Expand Down

0 comments on commit 157d740

Please sign in to comment.