timeliner: Add the bodyfile output requirement switch to the plugin

This commit is contained in:
Mike Auty
2020-06-10 20:33:04 +01:00
committed by ikelos
parent 32fb2364a1
commit 1fe9cbd51d
+5 -1
View File
@@ -80,7 +80,11 @@ class Timeliner(interfaces.plugins.PluginInterface):
name = 'record-config',
description = "Whether to record the state of all the plugins once complete",
optional = True,
default = False)
default = False),
requirements.BooleanRequirement(name = 'write-bodyfile',
description = "Whether to create a body file whilst producing results",
optional = True,
default = False)
]
def _generator(self, runable_plugins: List[TimeLinerInterface]) -> Optional[Iterable[Tuple[int, Tuple]]]: