Skip to content

Commit

Permalink
Merge pull request #52 from yanganto/feat/cli
Browse files Browse the repository at this point in the history
cli mode
  • Loading branch information
yanganto authored Sep 28, 2019
2 parents e294d0c + 1c9cff9 commit 7bd2240
Show file tree
Hide file tree
Showing 5 changed files with 616 additions and 467 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "s3rs"
version = "0.2.10"
version = "0.3.0"
authors = ["Antonio Yang <[email protected]>"]
description = "A s3 cli client with multi configs with diffent provider"
keywords = ["S3", "Amazon", "CEPH", "AWS"]
Expand Down Expand Up @@ -36,3 +36,4 @@ regex = "0.2"
quick-xml = "0.12"
colored = "1.6"
s3handler = "0.3.4"
clap = "2.33.0"
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,21 @@ an **S3** **R**ich **S**upport client
- support automatically multipart upload
- support filters [v0.2.8](https://www.ant-lab.tw/2019-09-21/)
- support format without protocol [v0.2.9](https://www.ant-lab.tw/2019-09-22/)
- support cli mode

### Download excutable binary
Download the link as follow and unzip
- https://github.com/yanganto/s3rs/releases/download/v0.2.10/s3rs-v0.2.10-linux.zip
- https://github.com/yanganto/s3rs/releases/download/v0.3.0/s3rs-v0.3.0-linux.zip

### How to use
#### shell mode
- excute `s3rs` will into shell mode, and excute `help`, you can see the commands you can use
#### command mode
- use config file with full path
- `s3rs --config=/your/s3s/config/file ls`

- use config file `example.toml` in `~/.config/s3rs` with file name without extension
- `s3rs --config=example ls`

### Command List

Expand Down
Loading

0 comments on commit 7bd2240

Please sign in to comment.