docs: improve help text in commands#281
Conversation
|
Looking at this now.. Will need some time |
|
|
||
| Pass the –id flag to specify which instance you would like to view. | ||
|
|
||
| If the –id flag is not passed then the selected Kafka instance will be |
There was a problem hiding this comment.
[Optional] -id flag when reading in cli blends with text more than "id" flag. or something :D
| Log in to the RHOAS CLI | ||
| Log in securely to RHOAS using your web browser. | ||
|
|
||
| Your web browser will open automatically where you can securely enter |
There was a problem hiding this comment.
| Your web browser will open automatically where you can securely enter | |
| Your web browser will open a new tab automatically where you can securely enter |
|
Yes but no not merge, still adding to it. |
|
|
||
| Generate new SASL/PLAIN credentials for a service account and revoke the | ||
| old credentials | ||
| Reset the SASL/PLAIN credentials for a service account. |
There was a problem hiding this comment.
| Reset the SASL/PLAIN credentials for a service account. | |
| Reset the service credentials for a service account. |
This is not only about Managed Kafka
There was a problem hiding this comment.
Yeah but they are still SASL/PLAIN credentials. Am I wrong in saying this is not a specific Kafka standard??
There was a problem hiding this comment.
Completely irelevant. Service account is generic. It is just implementation details that they could be used to reach out managed kafka, but this sentence will outdate once other services will be added and also will be reachable using the same credentials.
| old credentials | ||
| Reset the SASL/PLAIN credentials for a service account. | ||
|
|
||
| This command will generate a new SASL/PLAIN password for a service |
pkg/cmd/kafka/delete/delete.go
Outdated
| Long: heredoc.Doc(` | ||
| Permanently delete a Kafka instance. | ||
|
|
||
| You can only delete Kafka instances that you created. |
There was a problem hiding this comment.
| You can only delete Kafka instances that you created. |
Let's not bake in current qa env limitations to the CLi that will be typically used with production where this assumption is not true.
| Long: heredoc.Doc(` | ||
| View all configuration fields and their values for a Kafka instance. | ||
|
|
||
| Pass the --id flag to specify which instance you would like to view. |
There was a problem hiding this comment.
Same as above -id blends in.
There was a problem hiding this comment.
Not sure what you mean by bends in
There was a problem hiding this comment.
I still don't fully understand. What is the suggested action?
| $ rhoas kafka status | ||
|
|
||
| # view the status of a Kafka instance using its ID | ||
| $ rhoas kafka status --id "1nYlgkt87xelHT1wnOdEyGhFhaO" |
There was a problem hiding this comment.
This is strange. Should status show only used kafka. Then how is that different than describe then? Confusion can happen
There was a problem hiding this comment.
There is very little difference between "status" and "describe". I will create an issue to discuss its value.
There was a problem hiding this comment.
when I think about it yes.. That is the main confusion.
pkg/cmd/kafka/use/use.go
Outdated
| Long: heredoc.Doc(` | ||
| Select a Kafka instance and set it in the config as the current Kafka instance. | ||
|
|
||
| Once a Kafka instance is in use, it becomes the "current" instance. |
There was a problem hiding this comment.
| Once a Kafka instance is in use, it becomes the "current" instance. | |
| Once a Kafka instance is in use, it will be saved in configuration and used with commands like topics etc.. |
|
@craicoverflow In some cases I have pointed issues on docs and some cases in the code. Sorry for confusion. Generally all things are suggestions (subjective opinion from outsider person). Checked locally. Printouts looks good! |
No description provided.