Mokhtar Naamani 6d9153d042 pioneer and nodejs fixes il y a 3 ans
..
bin 48ecb1c587 storage-node: Fix dev-init command il y a 4 ans
src edf7e2671e update example il y a 3 ans
.eslintignore b9a1149e44 storage-node: cli: Fix linter errors. il y a 4 ans
README.md 8b34fc03d2 storage-node: prettier formatting il y a 4 ans
package.json 6d9153d042 pioneer and nodejs fixes il y a 3 ans
tsconfig.json 8b34fc03d2 storage-node: prettier formatting il y a 4 ans

README.md

A CLI for the Joystream Runtime & Colossus

  • CLI access for some functionality from other packages in the storage-node workspace
  • Colossus/storage node functionality:
    • File uploads
    • File downloads
  • Development
    • Setup development environment

Running the storage cli tool:

$ yarn storage-cli --help

  Joystream tool for uploading and downloading files to the network

  Usage:
    $ storage-cli command [arguments..] [key_file] [passphrase]

  Some commands require a key file as the last option holding the identity for
  interacting with the runtime API.

  Commands:
    upload            Upload a file to a Colossus storage node. Requires a
                      storage node URL, and a local file name to upload. As
                      an optional third parameter, you can provide a Data
                      Object Type ID - this defaults to "1" if not provided.
    download          Retrieve a file. Requires a storage node URL and a content
                      ID, as well as an output filename.
    head              Send a HEAD request for a file, and print headers.
                      Requires a storage node URL and a content ID.

  Dev Commands:       Commands to run on a development chain.
    dev-init          Setup chain with Alice as lead and storage provider.
    dev-check         Check the chain is setup with Alice as lead and storage provider.