feat: add models-list command by GabrielVasilescu04 · Pull Request #1474 · UiPath/uipath-python
| from ._utils._service_base import ServiceCommandBase, service_command | ||
|
|
||
|
|
||
| @click.command(name="list-models") |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would also add a testcase for this 😄 , or alter an existing one to also run this cli command
| "debug": "cli_debug", | ||
| "assets": "services.cli_assets", | ||
| "buckets": "services.cli_buckets", | ||
| "list-models": "cli_list_models", |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "list-models": "cli_list_models", | |
| "list models": "cli_list_models", |
we should follow a standard format for CLI commands
list models
list buckets
list assets
etc.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would create a generic cli_list, similar to cli_add and match by resource type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters