Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-29 00:20:05 +00:00
parent 5c637b8c84
commit d1988a6d2c
87 changed files with 623 additions and 154 deletions

32
tldr/ya
View File

@@ -5,29 +5,37 @@ source: https://github.com/tldr-pages/tldr.git
---
# ya
> Manage Yazi packages and plugins.
> More information: <https://github.com/sxyazi/yazi>.
> Manage Yazi plugins and flavors, publish or subscribe to DDS messages.
> More information: <https://yazi-rs.github.io/docs/cli>.
- Add a package:
`ya pack {{[-a|--all]}} {{package}}`
`ya pkg add {{package}}`
- Delete a package:
`ya pkg delete {{package}}`
- Upgrade all packages:
`ya pack {{[-u|--upgrade]}}`
`ya pkg upgrade`
- Subscribe to messages from all remote instances:
- List all packages:
`ya sub {{kinds}}`
`ya pkg list`
- Emit a command to be executed by the current instance:
`ya emit {{command}} {{arguments}}`
- Emit commands to a specific remote instance:
`ya emit-to {{receiver}} {{command}} {{arguments}}`
- Publish a message to the current instance with string body:
`ya pub --str {{string_message}}`
- Publish a message to the current instance with JSON body:
- Subscribe to a specific kind of message from a remote instance:
`ya pub --json {{json_message}}`
- Publish a message to the specified instance with string body:
`ya pub-to --str {{message}} {{receiver}} {{kind}}`
`ya sub {{message_kind}}`