diff --git a/Usage.md b/Usage.md index 9ea0c8b..fa74c6d 100644 --- a/Usage.md +++ b/Usage.md @@ -30,12 +30,22 @@ $ fresh.phar --check || ./update.sh ### Slack/Mattermost Webhooks -Fresh can invoke a Slack-compatible webhook to notify before anything is actually updated. To do this, use the `--slack` flag followed by the webhook URL +Fresh can invoke a Slack-compatible webhook to notify before anything is actually updated. To do this, use the `--slack` flag followed by the webhook URL: + +```shell +# Notify something +$ fresh.phar --slack https://my.server.tld/url +``` ### Script hooks You can specify a script to run after an update by using the `--after` flag. +```shell +# Do something +$ fresh.phar --after /path/to/fix-stuff.sh +``` + ## Scheduled run ### Using cron