Currently when browsing images, the K key creates a folder called keep in the current directory and moves the image to that folder.
Add a command line option to the Clap app in src/cli.rs that allows one to pass the name and destination (relative or absolute path) or the keep folder, so that pressing K will move the file to that folder instead. The absence of the flag should leave the behaviour as it is now.
You may want to add the path of the keep folder to the program struct.
Please be aware that the Vim style navigation keys issue recommends to change the name of keep to move, and assigns the key to M instead of K.
Currently when browsing images, the
K
key creates a folder calledkeep
in the current directory and moves the image to that folder.Add a command line option to the Clap app in
src/cli.rs
that allows one to pass the name and destination (relative or absolute path) or the keep folder, so that pressingK
will move the file to that folder instead. The absence of the flag should leave the behaviour as it is now.You may want to add the path of the keep folder to the program struct.
Please be aware that the Vim style navigation keys issue recommends to change the name of keep to move, and assigns the key to
M
instead ofK
.