Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config command lacks explanations on how to manage arrays #10645

Open
2 tasks done
naebushi opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks done

config command lacks explanations on how to manage arrays #10645

naebushi opened this issue Dec 27, 2024 · 0 comments
Labels
need/triage Needs initial labeling and prioritization topic/docs-ipfs Topic docs-ipfs

Comments

@naebushi
Copy link

Checklist

Location

var ConfigCmd = &cmds.Command{

Description

It is impossible to determine how to edit config params containing arrays. For example, none of these seemingly intuitive commands work:

ipfs config --json Addresses.AppendAnnounce '{0: "/ip4/some_ip/tcp/4001"}'`
ipfs config Addresses.AppendAnnounce ["/ip4/some_ip/tcp/4001"]
ipfs config --json Addresses.AppendAnnounce ["\/ip4\/some_ip\/tcp\/4001"]
ipfs config Addresses.AppendAnnounce ["/ip4/some_ip/tcp/4001"]
ipfs config Addresses.AppendAnnounce "/ip4/some_ip/tcp/4001"
ipfs config Addresses.AppendAnnounce[] "/ip4/some_ip/tcp/4001"

I suggest adding some clarifiation regarding array management

@naebushi naebushi added need/triage Needs initial labeling and prioritization topic/docs-ipfs Topic docs-ipfs labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization topic/docs-ipfs Topic docs-ipfs
Projects
None yet
Development

No branches or pull requests

1 participant