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 and > hammer repository list -h Apart from the above there are additional issues: * 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): Satellite 6.2.3 Actual results: There are various parameters for ordering results, some of the dysfunctional. Expected results: Hammer should provide unified commands for ordering fields. Probably only --order should be used.
Created redmine issue http://projects.theforeman.org/issues/18340 from this bug
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.