Hammer params for ordering are inconsistent
Description of problem:
Foreman part of hammer cli uses parameter --order="<FIELD_NAME> <DIRECTION>" for ordering results. Katello part uses two parameters --by="<FIELD_NAME>" and --order="<DIRECTION>"
For example compare
hammer architecture list -h
Apart from the above there are additional issues:
hammer repository list -h
- in Katello commands --by and --order seem to have no effect (probably related to bz 1138262)
- in Foreman commands there's no validation of the direction and API silently falls back to 'ASC'
Version-Release number of selected component (if applicable):
There are various parameters for ordering results, some of the dysfunctional.
Hammer should provide unified commands for ordering fields. Probably only --order should be used.