ya, yazi: add pages (#13522)

* ya, yazi: add pages

---------

Co-authored-by: spageektti <git@spageektti.cc>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/28/head
Anirudh Gupta 2024-08-28 23:31:53 +05:30 committed by GitHub
parent 4be50ceba2
commit 77b778f583
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 49 additions and 0 deletions

28
pages/common/ya.md Normal file
View File

@ -0,0 +1,28 @@
# 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}}`

21
pages/common/yazi.md Normal file
View File

@ -0,0 +1,21 @@
# yazi
> Blazing fast terminal file manager written in Rust.
> Efficient, user-friendly, and customizable file management experience.
> More information: <https://github.com/sxyazi/yazi>.
- Launch Yazi from the current directory:
`yazi`
- Print debug information:
`yazi --debug`
- Write the current working directory on exit to the file:
`yazi --cwd-file {{path/to/cwd_file}}`
- Clear the cache directory:
`yazi --clear-cache`