Command line hooks are slow and is difficult to deliver a cross-platform compatibility. Tusd support [http based hooks](https://github.com/tus/tusd/blob/master/docs/hooks.md#http-hooks) which can be used to handle all the events.