cmd definition