cryptomator / cryptomator/cli

If the `--mounter` is not provided, the error is logged in the same line as the `Enter value for --password:stdin` output

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
427
Forks
52
Avg merge
20h 37m
Merged PRs (30d)
2

Description

### 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

If the `--mounter` is not provided, the error is logged in the same line as the `Enter value for --password:stdin` output

### 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

```
echo "foo" | cryptomator-cli unlock /home/foo/vault/ --mountPoint=/home/foo/mounted --password:stdin
Enter value for --password:stdin (Passphrase, read from STDIN):

Error: Missing required argument(s): --mounter=fully.qualified.ClassName
Usage:
...
```

(and when #76 is implemented, without `Enter value for --password:stdin (Passphrase, read from STDIN):`)

### Actual Behavior

```
echo "foo" | cryptomator-cli unlock /home/foo/vault/ --mountPoint=/home/foo/mounted --password:stdin
Enter value for --password:stdin (Passphrase, read from STDIN): Error: Missing required argument(s): --mounter=fully.qualified.ClassName
Usage:
...
```

### Reproducibility

Always

### Relevant Log Output

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.