aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-15 10:58:23 +0200
committerLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-15 10:58:23 +0200
commit2f9d80d2040ec080cafb97800abbc958eaf00beb (patch)
treec7fb9ae5ca77eb8c40a5926793cdad73dab7ef4d
parente2f4e9fc842fe41cdaa3cf53375ab59b6c10b80d (diff)
add issue about ordering
-rw-r--r--app/Main.hs21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 1540178..2ca20da 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -240,6 +240,27 @@
-- Running `anissue show tool-crashes-when-displaying-unicode-emojis`
-- will crash because of 🏗️.
+-- TODO Add options to specify ordering of issues
+--
+-- When running `anissue list` with the `--order-by` option, the list
+-- should be ordered accordingly. Possible values could be
+--
+-- creation
+-- : the time when the issue was created
+--
+-- update
+-- : the time when the issue was updated last
+--
+-- title
+-- : lexicographically by title
+--
+-- priority
+-- : by priority
+--
+-- Additionally using `--reversed`, the order will be reversed.
+--
+-- @topic options
+
module Main where
import Data.List (find)