Skip to content

cli-parse-array

Latest

Choose a tag to compare

@Winlere Winlere released this 26 Oct 09:41
a68d128
cli: allow parsing integer/string array

example usage: 
* hydrooj cli user updateGroup system group1 i[1,2,3] , comma-saperated, no space is allowed.
* i[1,2,3] will be parsed into [1,2,3]
* s[1,2,3] will be parsed into ['1','2','3']