openby
is generic open applicaiton command. (like xdg-open
)
openby
has default application each file extensions.
$ openby rust.pdf
-> open rust.pdf by evince.
$ openby movie.mp4
-> open movie.mp4 by vlc.
version = 0.0
[[tools]]
command = "apvlv"
extentions = [ "pdf" ]
[[tools]]
command = "mirage"
extentions = [ "jpg", "png", "gif" ]
[[tools]]
command = "vlc"
extentions = [ "mp4", "mov", "avi" ]
[[tools]]
command = "vim -R"
extentions = [ "conf" ]
- import toml crate
- design toml format
- read toml file
- execute command
- write toml config file