@lapius/bin-cli 0.2.6 → 0.2.8
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.
- package/README.md +1 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -31,6 +31,7 @@ bin list # 自分のGist(-u <handle> で他
|
|
|
31
31
|
bin view <id> # 表示(-f <file> で1ファイルだけ生出力)
|
|
32
32
|
bin edit <id> main.go --remove old.go -t "新しいタイトル" --public
|
|
33
33
|
bin patch <id> main.go --insert 3 --text "// 追加" # 特定の行だけ追加(--append / --replace 4-6 / --delete 2-3 / --after "文字列" / --before "文字列")
|
|
34
|
+
bin edit <id> js/script.js --lines 70-82 --as script.js # 行範囲とGist上の名前は別オプションでも指定できる(file:A-B=名前 と同じ)
|
|
34
35
|
bin patch <id> new.js --append --from main.go:70-84 # 無いファイルは追加系なら新規作成。本文は --text・--from <ファイル>[:A-B]・`-`(標準入力)
|
|
35
36
|
bin create main.go:70-84 / bin edit <id> main.go:70-=part.js # ローカルの行範囲だけ送る(70- は末尾まで、-20 は先頭から、=名前でGist上の名前)
|
|
36
37
|
bin clone <id> [dir] # ファイルをダウンロード
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lapius/bin-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
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.
|
|
34
|
-
"@lapius/bin-cli-linux-arm64": "0.2.
|
|
35
|
-
"@lapius/bin-cli-darwin-x64": "0.2.
|
|
36
|
-
"@lapius/bin-cli-darwin-arm64": "0.2.
|
|
37
|
-
"@lapius/bin-cli-win32-x64": "0.2.
|
|
33
|
+
"@lapius/bin-cli-linux-x64": "0.2.8",
|
|
34
|
+
"@lapius/bin-cli-linux-arm64": "0.2.8",
|
|
35
|
+
"@lapius/bin-cli-darwin-x64": "0.2.8",
|
|
36
|
+
"@lapius/bin-cli-darwin-arm64": "0.2.8",
|
|
37
|
+
"@lapius/bin-cli-win32-x64": "0.2.8"
|
|
38
38
|
}
|
|
39
39
|
}
|