gcrane-completion.md 1014 B

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}}