Implement support for arrays in command arguments