Changes
1 changed files (+7/-1)
-
-
@@ -70,6 +70,7 @@ return slog.New(logger)} var cli struct { Help bool `short:"?" help:"Show this message to stdout and exit."` AdminCreationPassword string `help:"Password for creating a user when there is no admin user in workspace"` Verbose bool `help:"Display debug logs?"` Log string `help:"Log format." enum:"text,jsonl" default:"text"`
-
@@ -79,7 +80,12 @@ }// TODO: エラーコードを定義する func main() { kong.Parse(&cli) ctx := kong.Parse(&cli, kong.NoDefaultHelp()) if cli.Help { kong.DefaultHelpPrinter(kong.HelpOptions{}, ctx) os.Exit(0) } logLevel := slog.LevelInfo if cli.Verbose {
-