Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
docs: update image tags to latest ones in README
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzeng committed Jul 11, 2023
1 parent 8c9e159 commit f00be9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
傳入 `--help` 可以印出使用說明。

```sh
docker run -it hyperbola/shopee-coins-bot:v1 --help
docker run -it hyperbola/shopee-coins-bot:1 --help
```

### 帳號密碼登入
Expand All @@ -30,7 +30,7 @@ docker run -it hyperbola/shopee-coins-bot:v1 --help

```sh
docker run -it -v /path/to/somewhere:/cookie \
hyperbola/shopee-coins-bot:v1 -u username -p password -c /cookie
hyperbola/shopee-coins-bot:1 -u username -p password -c /cookie
```

> **Warning**
Expand All @@ -42,7 +42,7 @@ docker run -it -v /path/to/somewhere:/cookie \
如果之前有儲存過 cookie,用 cookie 登入即可,這樣就不會觸發簡訊驗證。

```sh
docker run -it -v /path/to/somewhere:/cookie hyperbola/shopee-coins-bot:v1 -c /cookie
docker run -it -v /path/to/somewhere:/cookie hyperbola/shopee-coins-bot:1 -c /cookie
```

## 參數
Expand Down
6 changes: 3 additions & 3 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Checkin to Shopee and get coins by CLI 😀😀
### Print Help Message

```sh
docker run -it hyperbola/shopee-coins-bot:v1 --help
docker run -it hyperbola/shopee-coins-bot:1 --help
```

### Login with Username and Password
Expand All @@ -29,7 +29,7 @@ docker run [-it] \
-e USERNAME=<username> \
-e PASSWORD=<password> \
-v /path/to/save/cookies:/cookies \
hyperbola/shopee-coins-bot:v1 -c /cookies
hyperbola/shopee-coins-bot:1 -c /cookies
```

> **Warning**
Expand All @@ -42,7 +42,7 @@ If you have cookies saved in the previous run, you can login without username or
```sh
docker run [-it] \
-v /path/to/cookies:/cookies \
hyperbola/shopee-coins-bot:v1 -c /cookies
hyperbola/shopee-coins-bot:1 -c /cookies
```

## Options
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { hideBin } from 'yargs/helpers'

const version = '1.0.4'
const args = yargs(hideBin(process.argv))
.usage('docker run -it hyperbola/shopee-coins-bot:v1 [options]')
.usage('docker run -it hyperbola/shopee-coins-bot:1 [options]')
.options({
user: {
alias: 'u',
Expand Down

0 comments on commit f00be9f

Please sign in to comment.