* feat: Add priority to hooks. * feat: Add priority to hooks. * feat: Add priority to hooks. * feat: Add priority to hooks. * refactor: refactor to table driven and update cmd. --------- Co-authored-by: Xinwei Xiong <86140903+cubxxw@users.noreply.github.com> Co-authored-by: SgitBusity <72297937+AllianceTing@users.noreply.github.com>