Skip to content

Commit

Permalink
Made SeedRunCmd and SeedRunAllCmd public
Browse files Browse the repository at this point in the history
  • Loading branch information
Maya Sergeeva committed Nov 23, 2021
1 parent 383f996 commit 31d9466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
MigrateCmd.SetUsageFunc(migrateUsage)
SeedCmd.SetUsageFunc(seedUsage)

SeedCmd.AddCommand(seedRunCmd)
SeedCmd.AddCommand(seedRunAllCmd)
SeedCmd.AddCommand(SeedRunCmd)
SeedCmd.AddCommand(SeedRunAllCmd)
SeedCmd.AddCommand(seedListCmd)
}
4 changes: 2 additions & 2 deletions seed.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ var (
Use: "list",
RunE: seedList,
}
seedRunAllCmd = &cobra.Command{
SeedRunAllCmd = &cobra.Command{
Use: "run-all",
RunE: seedRunAll,
}
seedRunCmd = &cobra.Command{
SeedRunCmd = &cobra.Command{
Use: "run",
Args: cobra.MinimumNArgs(1),
RunE: seedRun,
Expand Down

0 comments on commit 31d9466

Please sign in to comment.