From a957e2ddcf0e5213e53a69cab62c8ab2dc15bb80 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Tue, 6 Aug 2024 21:24:09 -0500 Subject: [PATCH] Add example for config generate --- cmd/config/generate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/config/generate.go b/cmd/config/generate.go index b4f4df9..b5ceb5e 100644 --- a/cmd/config/generate.go +++ b/cmd/config/generate.go @@ -14,6 +14,7 @@ import ( var generateCmd = &cobra.Command{ Use: "generate", Short: "Generate a new chia configuration file", + Example: "chia-tools config generate --set full_node.port=58444 --set full_node.target_peer_count=10 --output ~/.chia/mainnet/config/config.yaml", Run: func(cmd *cobra.Command, args []string) { cfg, err := config.LoadDefaultConfig() if err != nil {