From 29aec0eb61337c98033e1724aba601f90e9069a5 Mon Sep 17 00:00:00 2001 From: matclab Date: Mon, 30 Sep 2019 22:03:40 +0200 Subject: [PATCH] Document search syntax for CLI and Web UI --- Usage.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Usage.md b/Usage.md index 8967aa8..03ee4d3 100644 --- a/Usage.md +++ b/Usage.md @@ -65,6 +65,12 @@ Flags: Use "shiori [command] --help" for more information about a command. ``` +### Search syntax +With the `print` command line interface, you can use `-s` flag to submit keywords that will be searched either in url, title, excerpts or cached content. +You may also use `-t` flag to include tags and `-e` flag to exclude tags. + + + ## Using Web Interface To access web interface run `shiori serve` or start Docker container following tutorial above. If you want to use a different port instead of 8080, you can simply run `shiori serve -p `. Once started you can access the web interface in `http://localhost:8080` or `http://localhost:` if you customized it. You will be greeted with login screen like this : @@ -82,4 +88,7 @@ Once login succeed you will be able to use the web interface. To add the new acc ![Options page](https://raw.githubusercontent.com/go-shiori/shiori/master/docs/screenshots/04-options.png) -The first new account you add will become the owner and it will deactivate the "shiori:gopher" default user automatically. \ No newline at end of file +The first new account you add will become the owner and it will deactivate the "shiori:gopher" default user automatically. + +When searching for bookmarks, you may use `tag:tagname` to include tags and `-tag:tagname` to exclude tags in the search bar. +You can also use tags dialog: to include tags just click on the tag name you want to include, and to exclude use `Alt + Click` on the tag name that you want to exclude. \ No newline at end of file