pub fn run(args: Args) -> Result<()>
Run the hooks command.
Returns an error if hook operations fail.