Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Rename "local" sub command to "run" #218

Merged
merged 1 commit into from
Mar 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion presentation/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion presentation/cmd/local.go → presentation/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down