Wen Hui c28d5ca026 redis-cli cluster import support source and target that need auth (#7994)
Make it possible for redis-cli cluster import to work with source and
target that require AUTH.

Adding two different flags --cluster-from-user, --cluster-from-pass
and --cluster-askpass for source node authentication.
Also for target authentication, using existing --user and --pass flag.

Example:

./redis-cli --cluster import 127.0.0.1:7000 --cluster-from 127.0.0.1:6379 --pass 1234 --user default --cluster-from-user default --cluster-from-pass 123456

./redis-cli --cluster import 127.0.0.1:7000 --cluster-from 127.0.0.1:6379 --askpass --cluster-from-user default --cluster-from-askpass
2020-11-04 10:00:18 +02:00
..
2019-11-20 20:39:04 -05:00
2020-10-27 15:04:18 +02:00
2020-05-05 10:20:48 +02:00
2020-04-24 17:00:03 -07:00
2020-04-24 17:11:21 -07:00
2020-04-24 17:11:21 -07:00
2020-11-03 14:59:21 +02:00
2019-02-24 21:38:15 +01:00
2020-06-12 12:16:19 +02:00
2020-10-27 15:04:18 +02:00
2020-10-27 15:04:18 +02:00
2020-10-20 09:12:24 +03:00
2020-05-05 23:35:08 -04:00
2020-09-29 15:52:13 +03:00
2019-11-19 17:23:47 +08:00
2019-10-02 11:30:20 +02:00
2020-07-24 14:40:19 +08:00
2020-07-21 08:13:05 +03:00