`cmd` only accepts an array