Skip to content

Commit

Permalink
Added seed and from scratch flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriiklymiuk committed Oct 5, 2022
1 parent 49e189a commit 8107cc1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ func init() {
false,
"Omits all before start commands from corgi-compose config",
)
runCmd.PersistentFlags().BoolP(
"seed",
"s",
false,
"Seed all db_services that have seedSource or have dump.sql in their folder",
)
runCmd.PersistentFlags().BoolP(
"fromScratch",
"",
false,
"Clean corgi_services folder before running",
)
}

var servicesWaitGroup sync.WaitGroup
Expand Down

0 comments on commit 8107cc1

Please sign in to comment.