Move primitives for add, list, remove into their own subcommands as alias,host etc.
This commit is contained in:
+2
-2
@@ -74,8 +74,8 @@ func mainDiff(ctx *cli.Context) {
|
||||
firstArg := ctx.Args().First()
|
||||
secondArg := ctx.Args().Last()
|
||||
|
||||
firstURL := aliasExpand(firstArg, config.Aliases)
|
||||
secondURL := aliasExpand(secondArg, config.Aliases)
|
||||
firstURL := getAliasURL(firstArg, config.Aliases)
|
||||
secondURL := getAliasURL(secondArg, config.Aliases)
|
||||
|
||||
newFirstURL := stripRecursiveURL(firstURL)
|
||||
for diff := range doDiffCmd(newFirstURL, secondURL, isURLRecursive(firstURL)) {
|
||||
|
||||
Reference in New Issue
Block a user