mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-29 13:27:03 +02:00
Better naming, distingiush between "service" and "backend"
This commit is contained in:
parent
6e330daf06
commit
8b227cb514
5 changed files with 20 additions and 20 deletions
cmd
|
@ -36,8 +36,8 @@ import (
|
|||
// lovesCmd represents the loves command
|
||||
var lovesCmd = &cobra.Command{
|
||||
Use: "loves",
|
||||
Short: "Transfer loves between two backends",
|
||||
Long: `Transfers loves between two configured backends.`,
|
||||
Short: "Transfer loves between two services",
|
||||
Long: `Transfers loves between two configured services.`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
sourceName, sourceConfig := getConfigFromFlag(cmd, "from")
|
||||
targetName, targetConfig := getConfigFromFlag(cmd, "to")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue