cli icon indicating copy to clipboard operation
cli copied to clipboard

Describe which option is required for which mounter in the usage and in the specific option

Open SailReal opened this issue 1 year ago • 0 comments

Please agree to the following

Summary

For a normal user it is not possible to know if e.g loopbackHostName, mountOption, volumeName is possible to use with e.g. org.cryptomator.frontend.fuse.mount.LinuxFuseMountProvider

What software is involved?

  • Operating System: Not relevant
  • Cryptomator CLI: 0.6.0

Volume Type

None

Steps to Reproduce

  1. cryptomator-cli unlock --help

Expected Behavior

From within the usage, I should understand which options I need to set for which mounter. loopbackHostName e.g. does not make any sense together with FUSE, this should be noted in the option.

Actual Behavior

Options:
  -h, --help             Show this help message and exit.
      --loopbackHostName=<loopbackHostName>
                         Name of the loopback address.
      --loopbackPort=<loopbackPort>
                         Port used at the loopback address.
      --maxCleartextNameLength=<maxCleartextNameLength>
                         Maximum cleartext filename length limit of created
                           files. Remark: If this limit is greater than the
                           shortening threshold, it does not have any effect.
      -mop, --mountOption=<mountOptions>
                         Additional mount option. For a list of mount options,
                           see the WinFsp, macFUSE, FUSE-T and libfuse
                           documentation.
      --mounter=fully.qualified.ClassName
                         Name of the mounter to use
      --mountPoint=/path/to/mount/point
                         Path to the mount point. Requirements for mount point
                           depend on the chosen mount service
      --password:env=<passphraseEnvironmentVariable>
                         Name of the environment variable containing the
                           passphrase
      --password:file=<passphraseFile>
                         Path of the file containing the passphrase. The
                           password file must be utf-8 encoded
      --password:stdin   Passphrase, read from STDIN
  -v, --verbose          Activate verbose mode
  -V, --version          Print version information and exit.
      --volumeId=<volumeId>
                         Id of the virtual volume.
      --volumeName=<volumeName>
                         Name of the virtual volume.

Reproducibility

Always

Relevant Log Output

No response

Anything else?

No response

SailReal avatar Dec 16 '24 12:12 SailReal