-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: compress #626
Comments
I'd recommend to use |
Ouch is in Rust, maybe it is easier folk or included it to build this new feature |
Hi! Would you like to implement it as a plugin? Once it's stable enough, it can be seamlessly integrated into Yazi as a built-in plugin (similar to existing plugins like image preview, code highlighting, folder preview, etc. – all of which are built-in plugins). In Yazi, plugins are treated as first-class citizens, just like commands, but offering greater flexibility. |
I could do with a file with cx.active.current.hovered, but I dont know if it is possible with a range of select files |
Command function doesn`t work for me. Error: 2024-02-05T17:45:09.863472Z ERROR yazi::app::commands::plugin: runtime error: [string "/home/rober/.cargo/registry/src/index.crates...."]:10: attempt to call a nil value (global 'Command') local child = os.execute(cmd) work And args in plugin test --sync --args='foo bar' change the string to hexadecimal code |
I will add this API in the next target. For now you can use See the docs here https://yazi-rs.github.io/docs/plugins/utils/#manager_emitcmd-args-data |
Is your feature request related to a problem? Please describe
I would like to compress several selected files into one file, the name of the new compressed file would be a parameter
Will you be willing to contribute this feature?
Describe the solution you'd like
You could use the atool that contains many elements:
unarchiver (unar) could be substituted by atool
Describe alternatives you've considered
No response
Additional context
It's in Ranger (python)
The text was updated successfully, but these errors were encountered: