Skip to content

visbot/hfs

Repository files navigation

@visbot/hfs

A simple CAS consisting of CLI and web server.

License Version Build

This project is still in early development and not ready for production use.

Installation

Use your preferred NodeJS package manager to install the CLI globally

$ npm install --global @visbot/hfs

To use the tool without installation, you can use the npx command:

$ npx @visbot/hfs

Usage

CLI

Once setup, you can run hfs --help to list available options:

Usage: hfs [options] [command]

Options:
  -h, --help                     display help for command

Commands:
  init [options] [path]          initializes the virtual file-system
  add [options] <file...>        adds one of more files to the virtual file-system
  remove|rm [options] <file...>  removes one of more file-hashes from the virtual file-system
  serve [options] [path]         serves file-hashes on the virtual file-system
  list [options] [hash...]       lists properties of a hash in the virtual file-system
  help [command]                 display help for command

Refer to the help for each sub-command to list its options.

License

This project is licensed under the MIT License.