Outputs are automatically tracked when using write hooks but not when using e.g. run command hooks. However, if the command generates a file it would be more convenient if it would also be cleaned when using the clearOutputs hook. A addOutputs hook could do the job of adding the output after the command run.
Outputs are automatically tracked when using write hooks but not when using e.g. run command hooks. However, if the command generates a file it would be more convenient if it would also be cleaned when using the
clearOutputs
hook. AaddOutputs
hook could do the job of adding the output after the command run.