From 4ed01e03bfabb2714c9b108cc5ac9aaa06ca2327 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 22 Jul 2021 10:09:35 +0300 Subject: feat: do full text search Sponsored-by: author --- clab.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'clab.md') 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; – command line address book" author: Lars Wirzenius -- cgit v1.2.1