Skip to content

Conversation

@AnirudhG07
Copy link
Contributor

Checklist

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR contains at most 5 new pages.
  • The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known):
    Ya 25.5.31
  • Reference issue: #

@github-actions github-actions bot added page edit Changes to an existing page(s). review needed Prioritized PRs marked for reviews from maintainers. labels Nov 24, 2025
Copy link
Member

@Managor Managor left a 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}}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does kinds mean?

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`ya sub {{kinds}}`
`ya sub {{message_kind1,message_kind2,...}}`

Copy link
Contributor Author

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.

Copy link
Member

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

Suggested change
`ya sub {{kinds}}`
`ya sub {{message_kind}}`

Copy link
Member

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.

AnirudhG07 and others added 2 commits November 26, 2025 12:41
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
@AnirudhG07
Copy link
Contributor Author

The page only has 6 examples. You can add more if you see commands that might be of use.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

page edit Changes to an existing page(s). review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants