Shamil Gadelshin 1b7a120386 storage-node-v2: Change oclif tests. %!s(int64=3) %!d(string=hai) anos
..
bin 8a858d797f storage-node-v2: Initialize CLI framework (oclif). %!s(int64=3) %!d(string=hai) anos
src 1b7a120386 storage-node-v2: Change oclif tests. %!s(int64=3) %!d(string=hai) anos
test 1b7a120386 storage-node-v2: Change oclif tests. %!s(int64=3) %!d(string=hai) anos
.editorconfig 8a858d797f storage-node-v2: Initialize CLI framework (oclif). %!s(int64=3) %!d(string=hai) anos
.eslintignore 37e8412915 storage-node-v2: Add linter. %!s(int64=3) %!d(string=hai) anos
.eslintrc.js 37e8412915 storage-node-v2: Add linter. %!s(int64=3) %!d(string=hai) anos
.gitignore 8a858d797f storage-node-v2: Initialize CLI framework (oclif). %!s(int64=3) %!d(string=hai) anos
.prettierignore 97779b3def storage-node-v2: Improve ‘create storage bucket’ command. %!s(int64=3) %!d(string=hai) anos
README.md 8b5e0cac22 storage-node-v2: Stat adding web API. %!s(int64=3) %!d(string=hai) anos
package.json 1b7a120386 storage-node-v2: Change oclif tests. %!s(int64=3) %!d(string=hai) anos
tsconfig.json 97779b3def storage-node-v2: Improve ‘create storage bucket’ command. %!s(int64=3) %!d(string=hai) anos
yarn.lock 799c5cfa59 Update storage node v2 types. %!s(int64=3) %!d(string=hai) anos

README.md

storage-node-v2

Jostream storage subsystem.

oclif Version Downloads/week License

storage-node dev:init

Initialize development environment. Sets Alice as storage working group leader.

USAGE
  $ storage-node dev:init

OPTIONS
  -h, --help  show CLI help

See code: src/commands/dev/init.ts

storage-node dev:upload

Upload data object (development mode only).

USAGE
  $ storage-node dev:upload

OPTIONS
  -c, --cid=cid    (required) Data object IPFS content ID.
  -h, --help       show CLI help
  -s, --size=size  (required) Data object size.

See code: src/commands/dev/upload.ts

storage-node help [COMMAND]

display help for storage-node

USAGE
  $ storage-node help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

storage-node leader:create-bucket

Create new storage bucket. Requires storage working group leader permissions.

USAGE
  $ storage-node leader:create-bucket

OPTIONS
  -a, --allow              Accepts new bags
  -d, --dev                Use development mode
  -h, --help               show CLI help
  -i, --invited=invited    Invited storage operator ID (storage WG worker ID)
  -k, --keyfile=keyfile    Key file for the account. Mandatory in non-dev environment.
  -n, --number=number      Storage bucket max total objects number
  -p, --password=password  Key file password (optional).
  -s, --size=size          Storage bucket max total objects size

See code: src/commands/leader/create-bucket.ts

storage-node leader:update-bag

Add/remove a storage bucket from a bag (adds by default).

USAGE
  $ storage-node leader:update-bag

OPTIONS
  -b, --bucket=bucket      (required) Storage bucket ID
  -d, --dev                Use development mode
  -h, --help               show CLI help
  -k, --keyfile=keyfile    Key file for the account. Mandatory in non-dev environment.
  -p, --password=password  Key file password (optional).
  -r, --remove             Remove a bucket from the bag

See code: src/commands/leader/update-bag.ts

storage-node operator:accept-invitation

Accept pending storage bucket invitation.

USAGE
  $ storage-node operator:accept-invitation

OPTIONS
  -b, --bucket=bucket      (required) Storage bucket ID
  -d, --dev                Use development mode
  -h, --help               show CLI help
  -k, --keyfile=keyfile    Key file for the account. Mandatory in non-dev environment.
  -p, --password=password  Key file password (optional).
  -w, --worker=worker      (required) Storage operator worker ID

See code: src/commands/operator/accept-invitation.ts

storage-node server [FILE]

describe the command here

USAGE
  $ storage-node server [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/server.ts