bnb-chain / greenfield-cmd

support cmd tool for Greenfield
GNU Lesser General Public License v3.0
27 stars 12 forks source link

feat: support multi files upload & update dependency #83

Closed flywukong closed 1 year ago

flywukong commented 1 year ago

Description

1) support uploading multiple files with one command, “object put file1 ... gnfd://bucket" 2) support uploading files in folders by one command with the "--recursive" flag. This command will create the same directory structure in the bucket.

Rationale

improve cmd usage

Example

image

upload the folder and list by cmd

image image

./gnfd-cmd object put testfile1 testfile2 testfile3 gnfd://test333
Please enter a passphrase now:
upload testfile1 to gnfd://test333
upload testfile2 to gnfd://test333
upload testfile3 to gnfd://test333

Changes

Notable changes: