Make the `--mounter` option optional. Use defaults (as with the desktop app) when it is not present
还没有人认领这个 Issue。
评估
调研方向
从 CLI 解锁流程和 --mounter 选项的处理入手,然后将其与桌面应用程序的默认挂载策略进行比较。验证不带 --mounter 的报告命令,并确认它使用默认提供程序,同时仍遵循显式提供的选项。
由索引模型根据 Issue 内容生成。
描述
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
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
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
- 主要语言
- Java
- 星标
- 428
- 派生
- 52
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cryptomator/cli 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
cryptomator/cli#102 ·
-
难度 4/5 3-5 天 新手友好度 45/100
cryptomator/cli#100 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
cryptomator/cli#97 ·
-
难度 4/5 3-5 天 新手友好度 35/100
cryptomator/cli#96 ·
-
难度 3/5 1-2 天 新手友好度 45/100
cryptomator/cli#95 ·
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 65/100
inu-appcenter/memorIN-backend#288 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
frontend maui-pilot pilot-ask question
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
area/plugin
难度 2/5 1-3 小时 新手友好度 75/100
kestra-io/plugin-kestra#190 ·