Skip to content

Commit 87783f2

Browse files
kiyotisclaude
andcommitted
docs: Fix environment variable usage examples in README
Correct the environment variable usage examples to download the script first, then execute with environment variables. Direct piping does not pass environment variables to the downloaded script. Before (incorrect): NABLEDGE_BRANCH=test-to curl -sSL ... | bash After (correct): curl -sSL ... -o setup.sh NABLEDGE_BRANCH=test-to bash setup.sh Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1580669 commit 87783f2

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎.claude/skills/nabledge-6/plugin/README.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/setup-6-cc.sh
5757

5858
```bash
5959
# テストブランチを使用する場合
60-
NABLEDGE_BRANCH=test-to curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/setup-6-cc.sh | bash
60+
curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/setup-6-cc.sh -o setup.sh
61+
NABLEDGE_BRANCH=test-to bash setup.sh
6162

6263
# フォーク版を使用する場合
63-
NABLEDGE_REPO=mycompany/nabledge-fork NABLEDGE_BRANCH=custom curl -sSL https://raw.githubusercontent.com/mycompany/nabledge-fork/custom/setup-6-cc.sh | bash
64+
curl -sSL https://raw.githubusercontent.com/mycompany/nabledge-fork/custom/setup-6-cc.sh -o setup.sh
65+
NABLEDGE_REPO=mycompany/nabledge-fork NABLEDGE_BRANCH=custom bash setup.sh
6466
```
6567

6668
### GitHub Copilot
@@ -84,10 +86,12 @@ curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/setup-6-ghc.s
8486

8587
```bash
8688
# テストブランチを使用する場合
87-
NABLEDGE_BRANCH=test-to curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/setup-6-ghc.sh | bash
89+
curl -sSL https://raw.githubusercontent.com/nablarch/nabledge/main/setup-6-ghc.sh -o setup.sh
90+
NABLEDGE_BRANCH=test-to bash setup.sh
8891

8992
# フォーク版を使用する場合
90-
NABLEDGE_REPO=mycompany/nabledge-fork NABLEDGE_BRANCH=custom curl -sSL https://raw.githubusercontent.com/mycompany/nabledge-fork/custom/setup-6-ghc.sh | bash
93+
curl -sSL https://raw.githubusercontent.com/mycompany/nabledge-fork/custom/setup-6-ghc.sh -o setup.sh
94+
NABLEDGE_REPO=mycompany/nabledge-fork NABLEDGE_BRANCH=custom bash setup.sh
9195
```
9296

9397
## 使い方

0 commit comments

Comments
 (0)