Skip to content

A CLI to upload files to IPFS and interact with them using wbeb3.storage

License

Notifications You must be signed in to change notification settings

AnishDe12020/storli

Repository files navigation

Storli

logo

oclif Version Downloads/week License

A CLI to upload files to IPFS and interact with them using web3.storage


Usage

$ npm install -g storli
$ storli COMMAND
running command...
$ storli (--version)
storli/1.0.2 linux-x64 node-v16.14.2
$ storli --help [COMMAND]
USAGE
  $ storli COMMAND
...

Commands

storli config

Configure the CLI

USAGE
  $ storli config

DESCRIPTION
  Configure the CLI

See code: dist/commands/config/index.ts

storli download CID

Download files from an upload

USAGE
  $ storli download [CID]

ARGUMENTS
  CID  The CID of the upload

DESCRIPTION
  Download files from an upload

See code: dist/commands/download/index.ts

storli help [COMMAND]

Display help for storli.

USAGE
  $ storli help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for storli.

See code: @oclif/plugin-help

storli list

List all uploads made by you

USAGE
  $ storli list

DESCRIPTION
  List all uploads made by you

ALIASES
  $ storli ls

See code: dist/commands/list/index.ts

storli ls

List all uploads made by you

USAGE
  $ storli ls

DESCRIPTION
  List all uploads made by you

ALIASES
  $ storli ls

storli status CID

Check the status of an upload

USAGE
  $ storli status [CID]

ARGUMENTS
  CID  The CID of the upload to check the status of

DESCRIPTION
  Check the status of an upload

See code: dist/commands/status/index.ts

storli upload FILEPATH

Upload a file or directory to IPFS

USAGE
  $ storli upload [FILEPATH] [-n <value>] [-d]

ARGUMENTS
  FILEPATH  Filepath of the file or directory to upload

FLAGS
  -d, --dontWrapCID   Don't wrap the file/dir with the CID in IPFS (by default, it is wrapped, recommended to be used
                      when uploading a directory)
  -n, --name=<value>  Name you want to give to the upload (defaults to Upload at <date and time>)

DESCRIPTION
  Upload a file or directory to IPFS

See code: dist/commands/upload/index.ts