cli
cli copied to clipboard
Feature Request: Mount Hook
It would be nice if this would take a mount hook function so that I could start the server and mount it with one command.
Desired Workflow
mount_f(){
osascript -e 'mount volume "http://localhost:8080/demoVault/"'
}
export -f mount_f
java -jar cryptomator-cli.jar \
--bind localhost \
--port 8080 \
--vault mySecretVault=/path/to/vault \
--password mySecretVault=FooBar3000 \
--mount_hook mount_f
Current Workflow
Terminal 1
java -jar cryptomator-cli.jar \
--bind localhost \
--port 8080 \
--vault mySecretVault=/path/to/vault \
--password mySecretVault=FooBar3000
Terminal 2
osascript -e 'mount volume "http://localhost:8080/mySecretVault/"'