nimotsu

command module
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 4 Imported by: 0

README

logo

nimotsu: 📦 荷物の配達状況を追跡するCLIツール

test release Go Report Card GitHub all releases GitHub license

screenshot

対応している配送業者

インストール

Homebrew

brew tap arrow2nd/tap
brew install nimotsu

Scoop

scoop bucket add arrow2nd https://github.com/arrow2nd/scoop-bucket.git
scoop install arrow2nd/nimotsu

Go

go install github.com/arrow2nd/nimotsu@latest

それ以外

Releases からお使いの環境にあったファイルをダウンロードしてください。

コマンド

get

get [<追跡番号>] [配送業者フラグ]

追跡番号から荷物を追跡します。

$ nimotsu get 1122334455 --sagawa

配送業者を指定しなかった場合、選択肢が表示されます。

$ nimotsu get 112233445566
Use the arrow keys to navigate: ↓ ↑ → ←
Carrier?
  > 日本郵便
    ヤマト運輸
    佐川急便

get all

リスト内の荷物を全て追跡します。

$ nimotsu get all

add

add [<追跡番号>] [配送業者フラグ] [--comment "コメント"]

リストに荷物を追加します。

コメントを省略した場合、"なし" が設定されます。

$ nimotsu add 112233445566 --japanpost --comment "🍺"
✔ Added!

配送業者・コメントを指定しなかった場合、対話形式で入力できます。

$ nimotsu add 112233445566
Carrier: 日本郵便
Comment: beer🍺
✔ Added!

remove

リスト内の荷物を選択して削除します。

$ nimotsu remove
Use the arrow keys to navigate: ↓ ↑ → ←
Tracking number?
    112233445566
    223344556677
  > 123456789123
Carrier: 日本郵便
Comment: beer🍺

remove all

リスト内の荷物を全て削除します。

$ nimotsu remove all
✔ Removed all!

edit

リスト内の荷物を選択してコメントを変更します。

$ nimotsu edit
Tracking number: 444191245470
Comment: iPad
✔ Edited!

list

リスト内の荷物を表示します。

$ nimotsu list

version

バージョンを表示します。

$ nimotsu version
📦 nimotsu ver.x.x.x

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL