1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 23:16:11 +08:00

Add example of setting array to config command help

Closes #10645
This commit is contained in:
gammazero
2025-01-02 10:55:19 -10:00
parent 9425421114
commit a4d13e3f6b

View File

@ -55,6 +55,11 @@ Get the value of the 'Datastore.Path' key:
Set the value of the 'Datastore.Path' key:
$ ipfs config Datastore.Path ~/.ipfs/datastore
Set multiple values in the 'Addresses.AppendAnnounce' array:
$ ipfs config Addresses.AppendAnnounce --json \
'["/dns4/a.example.com/tcp/4001", "/dns4/b.example.com/tcp/4002"]'
`,
},
Subcommands: map[string]*cmds.Command{