From 6dcd34fbbc127d1cc260c70c8dfa035603c691d1 Mon Sep 17 00:00:00 2001 From: harakeishi Date: Sat, 27 Apr 2024 15:37:25 +0900 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=9B=9E=E8=B5=B7=E5=8B=95=E6=99=82?= =?UTF-8?q?=E3=81=AB=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7=E3=83=B3=E5=85=A5?= =?UTF-8?q?=E5=8A=9B=E5=BE=8C=E3=82=82=E5=8B=95=E3=81=8F=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/root.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/root.go b/cmd/root.go index 6ae909f..02f8064 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -35,6 +35,11 @@ var rootCmd = &cobra.Command{ trv.Draw() } else { trv.CreateConfig() + err = trv.Init() + if err != nil { + return err + } + trv.Draw() } return nil