From e5a988487cee23d1a6a445787292c08d1578f43f Mon Sep 17 00:00:00 2001 From: Youngjin Jo Date: Thu, 19 Dec 2024 02:32:43 +0900 Subject: [PATCH] refactor: remove guide for completion command Signed-off-by: Youngjin Jo --- cmd/root.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index fbed62c..68edb8f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -144,7 +144,8 @@ func showInitializationGuide(originalErr error) { // Skip showing guide for certain commands if len(os.Args) >= 2 && (os.Args[1] == "setting" || os.Args[1] == "login" || - os.Args[1] == "api-resources") { + os.Args[1] == "api-resources" || + os.Args[1] == "completion") { return }