@lapius/bin-cli 0.3.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -45,7 +45,9 @@ bin cp <id> a.js b.js # コピー(--to <id> / --new で別
45
45
  bin undo [<id>] / bin restore <id> ~2 # 直前の変更を取り消す / 過去のリビジョンへ戻す(--dry-run あり)
46
46
  bin open|copy|share [<id>] # ブラウザで開く / クリップボードへ / URL・埋め込み・QR を表示
47
47
  bin search <text> # 自分の Gist を全文検索
48
- bin watch <id> main.js # 保存するたびに自動反映
48
+ bin watch main.js # 新規 Gist を作り、保存するたびに自動反映
49
+ bin watch ./src README.md -t "メモ" # フォルダ・複数ファイルも監視(消したファイルも反映)
50
+ bin watch <id> main.js # 既存 Gist へ反映(--mirror で手元に無いファイルを消す)
49
51
  bin alias set blog <id> # 短い名前を付ける(以降 bin edit blog …)
50
52
  bin visibility private --tag draft # 公開範囲を一括変更 / bin bulk tag --add x
51
53
  bin edit <id> --editor # $EDITOR で編集して反映
@@ -54,6 +56,12 @@ bin create dir/ --exclude "*.log" # --include / --exclude / .binignore
54
56
  bin patch <id> a.js --replace @init --text "..." # 行番号の代わりに @関数名 や /開始/,/終了/ も指定可
55
57
  bin star <id> / bin starred # スター・スターしたGistの一覧
56
58
  bin tag <id> python cli # タグを設定(bin list --tag python で絞り込み)
59
+ bin tags # 自分のタグ一覧(-u <handle> で他人)
60
+ bin scan [<file|dir>... | <id>] # Token・秘密鍵の混入チェック(見つかれば終了コード1。保存時にも警告)
61
+ bin comment list|add|edit|rm ... # コメント(add は -f <file> --line 5-7 で行コメント)
62
+ bin collection list|show|create|add|remove|delete ... # コレクション
63
+ bin stats <id> [--days 30] # 閲覧・ダウンロード数(自分のGistのみ)
64
+ bin forks <id> # フォーク一覧
57
65
  bin run <id> # スクリプトを実行(実行前に内容を表示して確認)
58
66
  bin version # バージョン表示。配布中の最新版かどうかも確かめる
59
67
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapius/bin-cli",
3
- "version": "0.3.4",
3
+ "version": "0.5.0",
4
4
  "description": "bin.lapius7.com(LapBin)の CLI クライアント",
5
5
  "keywords": [
6
6
  "cli",
@@ -30,10 +30,10 @@
30
30
  "arm64"
31
31
  ],
32
32
  "optionalDependencies": {
33
- "@lapius/bin-cli-linux-x64": "0.3.4",
34
- "@lapius/bin-cli-linux-arm64": "0.3.4",
35
- "@lapius/bin-cli-darwin-x64": "0.3.4",
36
- "@lapius/bin-cli-darwin-arm64": "0.3.4",
37
- "@lapius/bin-cli-win32-x64": "0.3.4"
33
+ "@lapius/bin-cli-linux-x64": "0.5.0",
34
+ "@lapius/bin-cli-linux-arm64": "0.5.0",
35
+ "@lapius/bin-cli-darwin-x64": "0.5.0",
36
+ "@lapius/bin-cli-darwin-arm64": "0.5.0",
37
+ "@lapius/bin-cli-win32-x64": "0.5.0"
38
38
  }
39
39
  }