From e51f45c1865e4f708895f72889407cc06a8c511b Mon Sep 17 00:00:00 2001 From: Sasha Melentyev Date: Thu, 27 Jan 2022 17:09:59 +0300 Subject: [PATCH] GUIDE.md: Add command and file format in example (#17) --- GUIDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GUIDE.md b/GUIDE.md index 4f53b51..e0d64d8 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -6,13 +6,13 @@ Example with command like that `./dummy server ./openapi.yml -port=8080` from [d func run() error { cmds := []acmd.Command{ { - // Command + // Command "server" Name: "server", Description: "run mock server", Do: func(ctx context.Context, args []string) error { cfg := config.NewConfig() - // Argument ./openapi + // Argument ./openapi.yml cfg.Server.Path = args[0] // Flags after argument