-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
ya: fix args for new updates #19590
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
base: main
Are you sure you want to change the base?
ya: fix args for new updates #19590
Conversation
Managor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The page only has 6 examples. You can add more if you see commands that might be of use.
| - Subscribe to messages from all remote instances: | ||
|
|
||
| `ya pub --json {{json_message}}` | ||
| `ya sub {{kinds}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does kinds mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ ya sub --help
Subscribe to messages from all remote instances
Usage: ya sub <KINDS>
Arguments:
<KINDS> Kind of messages to subscribe to, separated by commas if multiple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `ya sub {{kinds}}` | |
| `ya sub {{message_kind1,message_kind2,...}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in that case ill update other ones which have multiple possible arguments too. I thought keeping it simple would be great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completely up to you. You can add that or you can just use a singular
| `ya sub {{kinds}}` | |
| `ya sub {{message_kind}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please choose one of these. It's hard to understand what "kinds" means.
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Last time i remember, we could add upto 6. I mean if you say so i can add a couple more. Please approve of this before i make any commits. |
Checklist
common,linux,osx,windows,sunos,android, etc.Ya 25.5.31