@lapius/bin-cli 0.2.4 → 0.2.6

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 +3 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -30,7 +30,9 @@ cat build.log | bin create -f build.log --private
30
30
  bin list # 自分のGist(-u <handle> で他人の公開Gist)
31
31
  bin view <id> # 表示(-f <file> で1ファイルだけ生出力)
32
32
  bin edit <id> main.go --remove old.go -t "新しいタイトル" --public
33
- bin patch <id> main.go --insert 3 --text "// 追加" # 特定の行だけ追加(--append / --replace 4-6 / --delete 2-3、--from <ファイル>[:A-B]、`-`で標準入力)
33
+ bin patch <id> main.go --insert 3 --text "// 追加" # 特定の行だけ追加(--append / --replace 4-6 / --delete 2-3 / --after "文字列" / --before "文字列")
34
+ bin patch <id> new.js --append --from main.go:70-84 # 無いファイルは追加系なら新規作成。本文は --text・--from <ファイル>[:A-B]・`-`(標準入力)
35
+ bin create main.go:70-84 / bin edit <id> main.go:70-=part.js # ローカルの行範囲だけ送る(70- は末尾まで、-20 は先頭から、=名前でGist上の名前)
34
36
  bin clone <id> [dir] # ファイルをダウンロード
35
37
  bin fork <id> -t "派生版" # コピーして自分の新しいGistを作る(自分のGistも可、公開範囲は元のまま)
36
38
  bin delete <id> # 削除(確認あり、-yで省略)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapius/bin-cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
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.4",
34
- "@lapius/bin-cli-linux-arm64": "0.2.4",
35
- "@lapius/bin-cli-darwin-x64": "0.2.4",
36
- "@lapius/bin-cli-darwin-arm64": "0.2.4",
37
- "@lapius/bin-cli-win32-x64": "0.2.4"
33
+ "@lapius/bin-cli-linux-x64": "0.2.6",
34
+ "@lapius/bin-cli-linux-arm64": "0.2.6",
35
+ "@lapius/bin-cli-darwin-x64": "0.2.6",
36
+ "@lapius/bin-cli-darwin-arm64": "0.2.6",
37
+ "@lapius/bin-cli-win32-x64": "0.2.6"
38
38
  }
39
39
  }