aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-15 11:09:05 +0200
committerLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-15 11:09:05 +0200
commita75cadb0671f7764059b3880fe6caafdacff1397 (patch)
treed047ca41af24193c1739ec907f03c69bda7a6096 /app/Main.hs
parent5b747755385f3bdfc6c1c9d0e30c65ad0798cdf7 (diff)
add more issues
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs
index f4307f3..7030281 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -267,6 +267,35 @@
--
-- @topic options
+-- TODO Add command for (re)generating the cache
+--
+-- When running `anissue cache generate`, we will only generated the
+-- issue cache, starting from the initial commit. This will not
+-- re-generate already existing cache entries. To delete the old cache
+-- first, one has to add `--clean`.
+--
+-- By adding `--first-commit <commit-hash>` the cache will only
+-- generated starting at the specified commit.
+--
+-- By adding `--full` the cache will be generated for **all** commits in
+-- the repository.
+--
+-- When running `anissue cache clean`, the local cache will be deleted.
+--
+-- @topic options
+-- @topic cache
+
+-- TODO Add global option for specifying first considered commit
+--
+-- Every command offers the option `--first-commit <commit-hash>`, which
+-- tells anissue to only consider commits stargin with the provided
+-- commit. The default is the first commit HEAD eventually points to;
+-- this will also happen when the provided commit is not in the history
+-- of HEAD.
+--
+-- @topic options
+-- @topic cache
+
module Main where
import Data.List (find)