Skip to content

Commit

Permalink
Add example for config generate
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Aug 7, 2024
1 parent 14491f7 commit a957e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/config/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a957e2d

Please sign in to comment.