2025-03-14 21:59:59 -06:00
|
|
|
# ya
|
|
|
|
|
|
|
|
|
|
> Manage Yazi packages and plugins.
|
|
|
|
|
> More information: <https://github.com/sxyazi/yazi>.
|
|
|
|
|
|
|
|
|
|
- Add a package:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ya pack {{[-a|--all]}} {{package}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Upgrade all packages:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`ya pack {{[-u|--upgrade]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Subscribe to messages from all remote instances:
|
|
|
|
|
|
|
|
|
|
`ya sub {{kinds}}`
|
|
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
|
|
|
|
`ya pub --json {{json_message}}`
|
|
|
|
|
|
|
|
|
|
- Publish a message to the specified instance with string body:
|
|
|
|
|
|
|
|
|
|
`ya pub-to --str {{message}} {{receiver}} {{kind}}`
|