diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-22 10:09:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-22 10:09:35 +0300 |
commit | 4ed01e03bfabb2714c9b108cc5ac9aaa06ca2327 (patch) | |
tree | f1a2dfd6e9f269598a09638c2087a3ce1e1e4918 /clab.md | |
parent | c03d919a68676eb321d9e4505bfeb5829884e924 (diff) | |
download | clab-4ed01e03bfabb2714c9b108cc5ac9aaa06ca2327.tar.gz |
feat: do full text search
Sponsored-by: author
Diffstat (limited to 'clab.md')
-rw-r--r-- | clab.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |