mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
34 lines
655 B
Plaintext
34 lines
655 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ya
|
|
|
|
> Manage Yazi packages and plugins.
|
|
> More information: <https://github.com/sxyazi/yazi>.
|
|
|
|
- Add a package:
|
|
|
|
`ya pack -a {{package}}`
|
|
|
|
- Upgrade all packages:
|
|
|
|
`ya pack -u`
|
|
|
|
- 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}}`
|