blob: 219e20c16c31962df716067fad20298b4e1213b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
features:
- |
The ``cliff.lister.Lister`` base class now implements ``--sort-ascending``
and ``--sort-descending`` options, which can be used to configure the sort
direction. For example::
$ hello-world list-users --sort-column email --sort-descending
+----------------+-----------------------------+
| Name | Email |
+----------------+-----------------------------+
| Charles Xavier | therealcharliex@example.com |
| Jim Hendrix | jim@example.com |
| John Doe | doe.john@example.com |
| Alice Baker | abaker@example.com |
+----------------+-----------------------------+
upgrade:
- |
``cliff.lister.Lister`` implementations that override the
``need_sort_by_cliff`` property should now consider the
``--sort-ascending`` and ``--sort-descending`` options.
|