pub fn run( args: Args, hooks: Option<Box<dyn Hooks + Send + Sync>> ) -> Result<()>
Run the shpool tool with the given arguments. If hooks is provided, inject the callbacks into the daemon.