The output will be empty when `ls` an empty directory. So why not follow the same desgin guideline?

BTW, Does xplat cli always return a non-zero exit code when error occurs? If so, we can use `$?` to query the last execute state of our commands.