mirror of https://github.com/caronc/apprise
improved documentation
parent
a309f9c557
commit
ce2cf30514
23
README.md
23
README.md
|
@ -39,6 +39,7 @@ System Administrators and DevOps who wish to send a notification now no longer n
|
|||
* [Configuration Files](#cli-configuration-files)
|
||||
* [File Attachments](#cli-file-attachments)
|
||||
* [Loading Custom Notifications/Hooks](#cli-loading-custom-notificationshooks)
|
||||
* [Environment Variables](#cli-environment-variables)
|
||||
* [Developer API Usage](#developer-api-usage)
|
||||
* [Configuration Files](#api-configuration-files)
|
||||
* [File Attachments](#api-file-attachments)
|
||||
|
@ -352,6 +353,17 @@ apprise -vv --title 'custom override' \
|
|||
|
||||
You can read more about creating your own custom notifications and/or hooks [here](https://github.com/caronc/apprise/wiki/decorator_notify).
|
||||
|
||||
## CLI Environment Variables
|
||||
|
||||
Those using the Command Line Interface (CLI) can also leverage environment variables to pre-set the default settings:
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------ | ----------------- |
|
||||
| `APPRISE_URLS` | Specify the default URLs to notify IF none are otherwise specified on the command line explicitly. If the `--config` (`-c`) is specified, then this will over-rides any reference to this variable. Use white space and/or a comma (`,`) to delimit multiple entries.
|
||||
| `APPRISE_CONFIG_PATH` | Explicitly specify the config search path to use (over-riding the default). The path(s) defined here must point to the absolute filename to open/reference. Use a semi-colon (`;`), line-feed (`\n`), and/or carriage return (`\r`) to delimit multiple entries.
|
||||
| `APPRISE_PLUGIN_PATH` | Explicitly specify the custom plugin search path to use (over-riding the default). Use a semi-colon (`;`), line-feed (`\n`), and/or carriage return (`\r`) to delimit multiple entries.
|
||||
| `APPRISE_STORAGE_PATH` | Explicitly specify the persistent storage path to use (over-riding the default).
|
||||
|
||||
# Developer API Usage
|
||||
|
||||
To send a notification from within your python application, just do the following:
|
||||
|
@ -655,17 +667,6 @@ aobj = Apprise(asset=asset)
|
|||
|
||||
For more information on persistent storage, [visit here](https://github.com/caronc/apprise/wiki/persistent_storage).
|
||||
|
||||
# CLI Environment Variables
|
||||
|
||||
Those using the Command Line Interface (CLI) can also leverage environment variables to pre-set the default settings:
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------ | ----------------- |
|
||||
| `APPRISE_URLS` | Specify the default URLs to notify IF none are otherwise specified on the command line explicitly. If the `--config` (`-c`) is specified, then this will over-rides any reference to this variable. Use white space and/or a comma (`,`) to delimit multiple entries.
|
||||
| `APPRISE_CONFIG_PATH` | Explicitly specify the config search path to use (over-riding the default). The path(s) defined here must point to the absolute filename to open/reference. Use a semi-colon (`;`), line-feed (`\n`), and/or carriage return (`\r`) to delimit multiple entries.
|
||||
| `APPRISE_PLUGIN_PATH` | Explicitly specify the custom plugin search path to use (over-riding the default). Use a semi-colon (`;`), line-feed (`\n`), and/or carriage return (`\r`) to delimit multiple entries.
|
||||
| `APPRISE_STORAGE_PATH` | Explicitly specify the persistent storage path to use (over-riding the default).
|
||||
|
||||
# Want To Learn More?
|
||||
|
||||
If you're interested in reading more about this and other methods on how to customize your own notifications, please check out the following links:
|
||||
|
|
Loading…
Reference in New Issue