Make the `--mounter` option optional. Use defaults (as with the desktop app) when it is not present
- Lingua principale
- Java
- Stelle
- 427
- Fork
- 52
- Merge medio
- 20h 37m
- PR unite (30g)
- 2
Descrizione
### Please agree to the following
- [X] I have searched [existing issues](https://github.com/cryptomator/cli/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/cli/blob/develop/.github/CODE_OF_CONDUCT.md)
### Summary
I do not want to provide the `--mounter' option all the time. We should use the same strategy here as for the desktop application, provide defaults and if the user wants to use something else, use the value of that option.
### What software is involved?
- Operating System: Not relevant
- Cryptomator CLI: 0.6.0
### Volume Type
None
### Steps to Reproduce
1. `echo "foo" | cryptomator-cli unlock /home/foo/vault/ --mountPoint=/home/foo/mounted --password:stdin`
### Expected Behavior
Vault gets unlocked using the default mount provider
### Actual Behavior
`Error: Missing required argument(s): --mounter=fully.qualified.ClassName` is shown
### Reproducibility
Always
### Relevant Log Output
_No response_
### Anything else?
_No response_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con il flusso di sblocco della CLI e la gestione dell’opzione `--mounter`, quindi confrontalo con la strategia di mount predefinita dell’applicazione desktop. Verifica il comando segnalato senza `--mounter` e conferma che utilizzi il provider predefinito continuando comunque a rispettare un’opzione fornita esplicitamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100