@lapius/bin-cli 0.2.9 → 0.3.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 +14 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -38,6 +38,20 @@ bin create main.go:70-84 / bin edit <id> main.go:70-=part.js # ローカルの
38
38
  bin clone <id> [dir] # ファイルをダウンロード
39
39
  bin fork <id> -t "派生版" # コピーして自分の新しいGistを作る(自分のGistも可、公開範囲は元のまま)
40
40
  bin delete <id> # 削除(確認あり、-yで省略)
41
+ bin delete <id1> <id2> -y # 複数まとめて削除(--tag / -q / --since で絞り込みも可、--dry-run で確認のみ)
42
+ bin diff [<id>] [file] # ローカルと Gist の差分(--rev ~1 で過去版と比較)
43
+ bin mv <id> old.js new.js # ファイル名変更
44
+ bin cp <id> a.js b.js # コピー(--to <id> / --new で別 Gist へ)
45
+ bin undo [<id>] / bin restore <id> ~2 # 直前の変更を取り消す / 過去のリビジョンへ戻す(--dry-run あり)
46
+ bin open|copy|share [<id>] # ブラウザで開く / クリップボードへ / URL・埋め込み・QR を表示
47
+ bin search <text> # 自分の Gist を全文検索
48
+ bin watch <id> main.js # 保存するたびに自動反映
49
+ bin alias set blog <id> # 短い名前を付ける(以降 bin edit blog …)
50
+ bin visibility private --tag draft # 公開範囲を一括変更 / bin bulk tag --add x
51
+ bin edit <id> --editor # $EDITOR で編集して反映
52
+ bin create --clipboard -f note.txt # クリップボードから作成
53
+ bin create dir/ --exclude "*.log" # --include / --exclude / .binignore で絞り込み
54
+ bin patch <id> a.js --replace @init --text "..." # 行番号の代わりに @関数名 や /開始/,/終了/ も指定可
41
55
  bin star <id> / bin starred # スター・スターしたGistの一覧
42
56
  bin tag <id> python cli # タグを設定(bin list --tag python で絞り込み)
43
57
  bin run <id> # スクリプトを実行(実行前に内容を表示して確認)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapius/bin-cli",
3
- "version": "0.2.9",
3
+ "version": "0.3.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.2.9",
34
- "@lapius/bin-cli-linux-arm64": "0.2.9",
35
- "@lapius/bin-cli-darwin-x64": "0.2.9",
36
- "@lapius/bin-cli-darwin-arm64": "0.2.9",
37
- "@lapius/bin-cli-win32-x64": "0.2.9"
33
+ "@lapius/bin-cli-linux-x64": "0.3.0",
34
+ "@lapius/bin-cli-linux-arm64": "0.3.0",
35
+ "@lapius/bin-cli-darwin-x64": "0.3.0",
36
+ "@lapius/bin-cli-darwin-arm64": "0.3.0",
37
+ "@lapius/bin-cli-win32-x64": "0.3.0"
38
38
  }
39
39
  }