diff --git a/cmd/gen_route.go b/cmd/gen_route.go index 664b356..d0df58a 100644 --- a/cmd/gen_route.go +++ b/cmd/gen_route.go @@ -15,9 +15,10 @@ import ( func CommandGenRoute(root *cobra.Command) { cmd := &cobra.Command{ - Use: "route", - Short: "generate routes", - RunE: commandGenRouteE, + Use: "route", + Short: "generate routes", + RunE: commandGenRouteE, + PostRunE: commandGenProviderE, } root.AddCommand(cmd)