summaryrefslogtreecommitdiff
path: root/clab.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-22 10:09:35 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-22 10:09:35 +0300
commit4ed01e03bfabb2714c9b108cc5ac9aaa06ca2327 (patch)
treef1a2dfd6e9f269598a09638c2087a3ce1e1e4918 /clab.md
parentc03d919a68676eb321d9e4505bfeb5829884e924 (diff)
downloadclab-4ed01e03bfabb2714c9b108cc5ac9aaa06ca2327.tar.gz
feat: do full text search
Sponsored-by: author
Diffstat (limited to 'clab.md')
-rw-r--r--clab.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/clab.md b/clab.md
index f471726..7df358e 100644
--- a/clab.md
+++ b/clab.md
@@ -59,6 +59,25 @@ then stdout is exactly "clab found matches:\nalice@example.com\tAlice Atherthon\
~~~
+# Full text search
+
+This scenario verifies that `clab` does a full text search.
+
+~~~scenario
+given an installed clab
+given file .local/share/clab/address-book.yaml from address-book.yaml
+
+when I run clab search example
+then command is successful
+then stdout contains "Alice Atherthon"
+then stdout contains "Bob"
+
+when I run clab search email
+then command is successful
+then stdout contains "Alice Atherthon"
+then stdout contains "Bob"
+~~~
+
---
title: "clab; &ndash; command line address book"
author: Lars Wirzenius