Releases: ipfs/go-ipfs-cmds
Releases · ipfs/go-ipfs-cmds
v0.6.0
- Added support for
DelimitedStringsOption
which allows the CLI to process options likecommand --inputs="a,b,c --inputs="x,y,z"
as[]string{"a","b","c","x","y","z"}
. - Added strictness + panics if trying to use an incorrect default option (e.g.
StringOption("string", "s", "a string").WithDefault(5)
)
v0.5.0
Added support for StringsOption
even over HTTP #203
Note: This release technically changes how Strings
options were being sent over the wire for HTTP from a Go formatted string array (e.g. [str1 str2 str3]
) to sending as repeated HTTP query parameters. However, this wasn't really working before and so should have no effect on downstream users.
v0.4.0
v0.3.0
refactor: move external command checks into commands lib (#198) * refactor: move environment-based command restrictions to be stored with the command itself