mirror of
https://github.com/caronc/apprise.git
synced 2024-12-12 09:51:05 +01:00
Updated CLI_Usage (markdown)
parent
8e28dfcff4
commit
ae66796785
17
CLI_Usage.md
17
CLI_Usage.md
@ -189,4 +189,19 @@ If you use the **--dry-run** (**-d**) switch, then some rules don't apply. For o
|
||||
apprise --tag=team,email --dry-run
|
||||
```
|
||||
|
||||
Happy notifying!
|
||||
### :baggage_claim: Message Body Source
|
||||
The Apprise CLI doesn't know what you are feeding it when sending a message to a Notification provider. It just assumes that whatever you message you feed it, it should just pass it along *as is* to the upstream provider *as text*. In most cases, this is perfect and this is the default behaviour. If you are passing along HTML content or markdown content, you should just let Apprise know by specifying the `--input-format` (`-i`) switch. For example:
|
||||
```bash
|
||||
# An HTML Example:
|
||||
cat test.html | apprise --input-format=html
|
||||
|
||||
# Or Markdown:
|
||||
cat << _EOF | apprise --input-format=markdown
|
||||
## Ways to Prepare Eggs
|
||||
* Scrambled
|
||||
* Sunny Side Up
|
||||
* Over Easy
|
||||
|
||||
There is more, but I want to keep my message short. :)
|
||||
_EOF
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user