aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cli.t24
1 files changed, 23 insertions, 1 deletions
diff --git a/test/cli.t b/test/cli.t
index 319fc8c..276b1a1 100644
--- a/test/cli.t
+++ b/test/cli.t
@@ -17,5 +17,27 @@ A year outside the supported domain is rejected (exit 2):
No/garbage arguments give a usage error (exit 2):
$ colitur
- colitur: usage: colitur easter <year>
+ colitur: usage: colitur easter <year> | colitur temporal <year>
+ [2]
+
+The EF temporal cycle for a year, one line per day:
+
+ $ colitur temporal 2026 | head -3
+ 2026-01-01 thursday christmastide ef-circumcision class-1 white
+ 2026-01-02 friday christmastide ef-christmas-0-friday class-4 white
+ 2026-01-03 saturday christmastide ef-christmas-0-saturday class-4 white
+
+ $ colitur temporal 2026 | wc -l
+ 365
+
+ $ colitur temporal 2026 | grep -c '^2026-04-05 '
+ 1
+
+ $ colitur temporal 2026 | grep '^2026-04-05 '
+ 2026-04-05 sunday paschaltide 1 ef-easter-sunday class-1 white
+
+A year outside the supported domain is rejected (exit 2):
+
+ $ colitur temporal 1000
+ colitur: year 1000 out of range 1583..9999
[2]