Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Fuse cli interface is unintuitive #873

@nolash

Description

@nolash
$ build/swarm fs --help
Incorrect Usage. flag: help requested

NAME:
   swarm fs - Performs FUSE operations by mounting/unmounting/listing mount points. This assumes you already have a Swarm node running locally. For all operation you must reference the correct path to bzzd.ipc in order to communicate with the node

USAGE:
   swarm fs command fs COMMAND

COMMANDS:
     mount    mount a swarm hash to a mount point
     unmount  unmount a swarmfs mount
     list     list swarmfs mounts
  1. The USAGE part using "fs" twice is not intuitive to understand

  2. It should not be necessary to specify bzzd.ipc when it's in default path.

  3. The --ipcpath used should be the one documented in swarm --help (which is relative to datadir). The one used in swarm fs mount is a different one:

$ swarm fs mount 
Fatal: Usage: swarm fs mount --ipcpath <path to bzzd.ipc> <manifestHash> <file name>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions