2025-03-14 21:59:59 -06:00
|
|
|
# ya
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
> Manage Yazi plugins and flavors, publish or subscribe to DDS messages.
|
|
|
|
|
> More information: <https://yazi-rs.github.io/docs/cli>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Add a package:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ya pkg add {{package}}`
|
|
|
|
|
|
|
|
|
|
- Delete a package:
|
|
|
|
|
|
|
|
|
|
`ya pkg delete {{package}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Upgrade all packages:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ya pkg upgrade`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- List all packages:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ya pkg list`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Emit a command to be executed by the current instance:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ya emit {{command}} {{arguments}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Emit commands to a specific remote instance:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ya emit-to {{receiver}} {{command}} {{arguments}}`
|
|
|
|
|
|
|
|
|
|
- Publish a message to the current instance with string body:
|
|
|
|
|
|
|
|
|
|
`ya pub --str {{string_message}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Subscribe to a specific kind of message from a remote instance:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ya sub {{message_kind}}`
|