Skip to content

Returned information by the cli in a different way than text by console #1160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
javithe7 opened this issue Jun 24, 2020 · 3 comments
Closed
Labels
question Further information is requested

Comments

@javithe7
Copy link

Hi everyone

Is it possible to receive the information resulting from using the CLI commands, in a json style format or similar?

My goal is to process that information automatically to be able to extract deploy information and check the models displayed status.

Thanks

@javithe7 javithe7 added the question Further information is requested label Jun 24, 2020
@deliahu
Copy link
Member

deliahu commented Jun 24, 2020

@javithe7 There is not currently a way of doing this, but it's something we can look into! I created #1161 to track this.

Which command(s) other than cortex get would you want to support this option? Also, is json your preferred format?

@javithe7
Copy link
Author

javithe7 commented Jun 24, 2020

Especially cortex get and cortex get model-name could be good options, also the cortex cluster info command, when you want to take a look in the configuration of a cluster could be useful.
Yes, json is a really good election for this task.
@deliahu Thanks a lot for considering the implementation of this functionality.

@deliahu
Copy link
Member

deliahu commented Jun 25, 2020

@javithe7 sounds good, thanks!

I'll go ahead and close this question, since we have filed #1161

@deliahu deliahu closed this as completed Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants