@cryptotaxi247 / kubo / commits / a4d13e3f6

Add example of setting array to config command help

Closes #10645

gammazero committed Jan 2, 2025 at 10:55 UTC a4d13e3f6bf418e48bd3870e60be2ceb932f6c0c
1 file changed +5
core/commands/config.go
+5
@@ -55,6 +55,11 @@ Get the value of the 'Datastore.Path' key:
55 Set the value of the 'Datastore.Path' key:
56
57 $ ipfs config Datastore.Path ~/.ipfs/datastore
58 +
59 +Set multiple values in the 'Addresses.AppendAnnounce' array:
60 +
61 + $ ipfs config Addresses.AppendAnnounce --json \
62 + '["/dns4/a.example.com/tcp/4001", "/dns4/b.example.com/tcp/4002"]'
63 `,
64 },
65 Subcommands: map[string]*cmds.Command{