https://github.com/arrow2nd/nimotsu
📦 CLI tool to tracking packages in Japan
https://github.com/arrow2nd/nimotsu
cli-tool
Last synced: about 1 month ago
JSON representation
📦 CLI tool to tracking packages in Japan
- Host: GitHub
- URL: https://github.com/arrow2nd/nimotsu
- Owner: arrow2nd
- License: mit
- Created: 2021-10-28T09:15:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T01:12:23.000Z (about 1 month ago)
- Last Synced: 2025-03-18T02:25:40.376Z (about 1 month ago)
- Topics: cli-tool
- Language: Go
- Homepage: https://www.arrow2nd.com/works/nimotsu
- Size: 252 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

**nimotsu**: 📦 荷物の配達状況を追跡するCLIツール
[](https://github.com/arrow2nd/nimotsu/actions/workflows/test.yml)
[](https://github.com/arrow2nd/nimotsu/actions/workflows/release.yml)
[](https://goreportcard.com/report/github.com/arrow2nd/nimotsu)

[](https://github.com/arrow2nd/nimotsu/blob/main/LICENSE)
## 対応している配送業者
- [日本郵便](https://www.post.japanpost.jp/index.html)
- [ヤマト運輸](https://www.kuronekoyamato.co.jp/)
- [佐川急便](https://www.sagawa-exp.co.jp/)
- [OCS](https://www.ocs.co.jp/)## インストール
### Homebrew
```sh
brew tap arrow2nd/tap
brew install nimotsu
```### Scoop
```
scoop bucket add arrow2nd https://github.com/arrow2nd/scoop-bucket.git
scoop install arrow2nd/nimotsu
```### Go
```sh
go install github.com/arrow2nd/nimotsu@latest
```### それ以外
[Releases](https://github.com/arrow2nd/nimotsu/releases)
からお使いの環境にあったファイルをダウンロードしてください。## コマンド
### get
`get [<追跡番号>] [配送業者フラグ]`
追跡番号から荷物を追跡します。
```txt
$ nimotsu get 1122334455 --sagawa
```配送業者を指定しなかった場合、選択肢が表示されます。
```txt
$ nimotsu get 112233445566
Use the arrow keys to navigate: ↓ ↑ → ←
Carrier?
> 日本郵便
ヤマト運輸
佐川急便
```### get all
リスト内の荷物を全て追跡します。
```txt
$ nimotsu get all
```### add
`add [<追跡番号>] [配送業者フラグ] [--comment "コメント"]`
リストに荷物を追加します。
コメントを省略した場合、"なし" が設定されます。
```txt
$ nimotsu add 112233445566 --japanpost --comment "🍺"
✔ Added!
```配送業者・コメントを指定しなかった場合、対話形式で入力できます。
```txt
$ nimotsu add 112233445566
Carrier: 日本郵便
Comment: beer🍺
✔ Added!
```### remove
リスト内の荷物を選択して削除します。
```txt
$ nimotsu remove
Use the arrow keys to navigate: ↓ ↑ → ←
Tracking number?
112233445566
223344556677
> 123456789123
Carrier: 日本郵便
Comment: beer🍺
```### remove all
リスト内の荷物を全て削除します。
```txt
$ nimotsu remove all
✔ Removed all!
```### edit
リスト内の荷物を選択してコメントを変更します。
```txt
$ nimotsu edit
Tracking number: 444191245470
Comment: iPad
✔ Edited!
```### list
リスト内の荷物を表示します。
```txt
$ nimotsu list
```### version
バージョンを表示します。
```txt
$ nimotsu version
📦 nimotsu ver.x.x.x
```