diff --git a/presentation/cmd/root.go b/presentation/cmd/root.go index 8a9236e1..25340062 100644 --- a/presentation/cmd/root.go +++ b/presentation/cmd/root.go @@ -10,7 +10,7 @@ import ( var rootCmd = &cobra.Command{Use: "duci"} func init() { - rootCmd.AddCommand(serverCmd, localCmd, configCmd, healthCmd, versionCmd) + rootCmd.AddCommand(serverCmd, runCmd, configCmd, healthCmd, versionCmd) } // Execute command diff --git a/presentation/cmd/local.go b/presentation/cmd/run.go similarity index 97% rename from presentation/cmd/local.go rename to presentation/cmd/run.go index 8d220a06..87df307d 100644 --- a/presentation/cmd/local.go +++ b/presentation/cmd/run.go @@ -16,7 +16,7 @@ import ( "path/filepath" ) -var localCmd = createCmd("local", "Run locally", runLocal) +var runCmd = createCmd("run", "Run locally", runLocal) func runLocal(cmd *cobra.Command, args []string) { readConfiguration(cmd)