From 31d94662f05e8537d1c8582bc8918dc553c3c09a Mon Sep 17 00:00:00 2001 From: Maya Sergeeva Date: Tue, 23 Nov 2021 11:41:55 +0300 Subject: [PATCH] Made SeedRunCmd and SeedRunAllCmd public --- main.go | 4 ++-- seed.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 5f83b27..0849a50 100644 --- a/main.go +++ b/main.go @@ -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) } diff --git a/seed.go b/seed.go index de498ae..61dd529 100644 --- a/seed.go +++ b/seed.go @@ -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,