From 4ceda4c7d7fc95845f0480317172a43aece3716b Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Tue, 1 Oct 2019 14:48:53 -0400 Subject: [PATCH] Updated CLI_Usage (markdown) --- CLI_Usage.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/CLI_Usage.md b/CLI_Usage.md index a327a0a..54c0587 100644 --- a/CLI_Usage.md +++ b/CLI_Usage.md @@ -72,6 +72,9 @@ Apprise makes this easy by simply allowing you to tag your URLs. There is no li # Syntax: = # Here we set up a mailto:// URL and assign it the tags: me, and family +# maybe we are doing this to just identify our personal email and +# additionally tag ourselves with the family (which we will tag elsewhere +# too) me,family=mailto://user:password@yahoo.com # Here we set up a mailto:// URL and assign it the tag: family @@ -99,21 +102,19 @@ mytv=kodi://example.com Now there is a lot to ingest from the configuration above, but it will make more sense when you see how the content is referenced. Here are a few examples (based on config above): ```bash -# Send an alert to yourself and your spouse; this would trigger -# the first 2 entries because they have the tag `family` +# This would notify the first 2 entries they have the tag `family` # It would 'NOT' send to any other entry defined -python apprise --body="Hi guys, i'm going to be late getting home tonight" \ +python apprise --body="Hi guys, I'm going to be late getting home tonight" \ --tag=family -# This would just send yourself an email: +# This would only notify the first entry as it is the only one +# that has the tag: me python apprise --body="Don't forget to buy eggs!" \ --tag=me ``` If you're building software, you can set up your continuous integration to notify your `team` AND `devops` by simply identifying 2 tags: ```bash -# This would just send yourself an email: -```bash # notify the services that have either a `devops` or `team` tag # If you check our our configuration; this matches 3 separate URLs python apprise --title="Apprise Build" \