|
@@ -0,0 +1,37 @@
|
|
|
+# gcrane completion
|
|
|
+
|
|
|
+> ์ง์ ๋ ์
ธ์ ๋ํ gcrane ์๋ ์์ฑ ์คํฌ๋ฆฝํธ๋ฅผ ์์ฑํฉ๋๋ค.
|
|
|
+> ์ฌ์ฉ ๊ฐ๋ฅํ ์
ธ์ `bash`, `fish`, `powershell`, `zsh`์
๋๋ค.
|
|
|
+> ๋ ๋ง์ ์ ๋ณด: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.
|
|
|
+
|
|
|
+- ์
ธ์ ๋ํ ์๋ ์์ฑ ์คํฌ๋ฆฝํธ ์์ฑ:
|
|
|
+
|
|
|
+`gcrane completion {{์
ธ_์ด๋ฆ}}`
|
|
|
+
|
|
|
+- ์์ฑ ์ค๋ช
๋นํ์ฑํ:
|
|
|
+
|
|
|
+`gcrane completion {{์
ธ_์ด๋ฆ}} --no-descriptions`
|
|
|
+
|
|
|
+- ํ์ฌ ์
ธ ์ธ์
์์ ์์ฑ ๋ก๋ (bash/zsh):
|
|
|
+
|
|
|
+`source <(gcrane completion bash/zsh)>`
|
|
|
+
|
|
|
+- ํ์ฌ ์
ธ ์ธ์
์์ ์์ฑ ๋ก๋ (fish):
|
|
|
+
|
|
|
+`gcrane completion fish | source`
|
|
|
+
|
|
|
+- ์๋ก์ด ์ธ์
๋ง๋ค ์์ฑ ๋ก๋ (bash):
|
|
|
+
|
|
|
+`gcrane completion bash > /etc/bash_completion.d/gcrane`
|
|
|
+
|
|
|
+- ์๋ก์ด ์ธ์
๋ง๋ค ์์ฑ ๋ก๋ (zsh):
|
|
|
+
|
|
|
+`gcrane completion zsh > "${fpath[1]}/_gcrane"`
|
|
|
+
|
|
|
+- ์๋ก์ด ์ธ์
๋ง๋ค ์์ฑ ๋ก๋ (fish):
|
|
|
+
|
|
|
+`gcrane completion fish > ~/.config/fish/completions/gcrane.fish`
|
|
|
+
|
|
|
+- ๋์๋ง ํ์:
|
|
|
+
|
|
|
+`gcrane completion {{์
ธ_์ด๋ฆ}} {{-h|--help}}`
|