chore: clarify sort/order flags and add consistency improvements

Description

  • chore: clarify sort/order flags and add consistency improvements

Improved the documentation and consistency of --sort and --order flags across all list commands to make their relationship clearer.

Changes:

  • Updated --sort flag help text in all list commands to clarify it controls the sort direction (asc/desc) of the --order field
  • Added -s short flag to issue list command (was missing)
  • Added --order flag with -o to ci list for consistency with other commands, deprecated --orderBy (backward compatible)

Flag status by command:

  • project list: --order -o, --sort -s
  • MR list: --order -o, --sort -S (conflict with --source-branch)
  • issue list: --order, --sort -s (added -s)
  • contributors list: --order -o, --sort -s
  • CI list: --order -o (new), --orderBy (deprecated), --sort

Resolves: #8130 (closed)

Resolves #[issue_number]

How has this been tested?

Screenshots (if appropriate):

Edited by Kai Armstrong

Merge request reports

Loading