feat: run gen provider after routes, run fmt after gen commands
This commit is contained in:
@@ -15,9 +15,10 @@ import (
|
|||||||
|
|
||||||
func CommandGenRoute(root *cobra.Command) {
|
func CommandGenRoute(root *cobra.Command) {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "route",
|
Use: "route",
|
||||||
Short: "generate routes",
|
Short: "generate routes",
|
||||||
RunE: commandGenRouteE,
|
RunE: commandGenRouteE,
|
||||||
|
PostRunE: commandGenProviderE,
|
||||||
}
|
}
|
||||||
|
|
||||||
root.AddCommand(cmd)
|
root.AddCommand(cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user