feat: add models-list command by GabrielVasilescu04 · Pull Request #1474 · UiPath/uipath-python

@GabrielVasilescu04

@GabrielVasilescu04

ionmincu

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

radu-mocanu

"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