Sometimes an amr is an irshad (a recommendation).

Example

The ayah of whenever you establish a contract, you should have witnesses. Baqarah:282