update readme to allowlists

This commit is contained in:
gutmet 2020-10-23 19:21:46 +02:00
parent 9455f80034
commit a39bdae46b

View File

@ -86,7 +86,7 @@ with any number of files, as long as they are .jpg, .png, .gif or .mp4 and small
drivel will automatically split large status messages and multiple files into separate tweets belonging to the same thread.
The results of the 'home' and 'mentions' commands can be filtered to exclude certain user names. Create text files 'FilterHome' and 'FilterMentions' in HOME/.drivel and list excluded users line by line.
The results of the 'home' and 'mentions' commands can be filtered to only include certain user names. Create text files 'AllowlistHome' and 'AllowlistMentions' in HOME/.drivel and list allowed users line by line.
Each command (other than wipe) can use a go text template to format the printed results - pass a file name to '--template'. The template is executed with a slice of []Status. See types.go for available data fields and example.template for a minimalist example.