whose responsibility to validate the arguments of a command, client or api
For example, if any glance command is given with arguments, where those options should be validated. should it be done by glance-client or glance api.
glance image-create --name <name> --dist-format <format> --container-format <format>
where the options --name , --disk-format, --container-format should be validated. Like whether all mandatory options are mentioned or not and their validity.