This is part of managed list plugin system.
This is a list plugin that clears the contents of the given lists.
list_clear:
what:
- <list_type>: <list name>
phase: <task phase>
Supported phases are start, input, metainfo, filter, download, modify, output, learn, exit
.
By default, it will run in start
phase.
This example shows you how to sync a list from Trakt in Flexget into an entry list, clearing it before filling.
fill-series-list:
list_clear:
what:
- entry_list: trakt
trakt_list:
account: '{? trakt.account ?}'
list: '{? trakt.series ?}'
type: shows
list_add:
- entry_list: trakt
accept_all: yes
Realistically you'd probably want to use trakt_list instead of this.