1
0
Fork 0
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:
Philipp Wolfer 2023-11-19 22:54:42 +01:00
parent 6e330daf06
commit 8b227cb514
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
5 changed files with 20 additions and 20 deletions

View file

@ -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")