-
-
Notifications
You must be signed in to change notification settings - Fork 39
02 3. Control follow
Naoki Kosaka edited this page Mar 2, 2023
·
2 revisions
follow command has management for manually-accept and update relay information.
$ relay control follow
List all follow request and accept/reject follow requests.
Usage:
control follow [command]
Available Commands:
accept Accept follow request
list List follow request
reject Reject follow request
update Update actor object
Flags:
-h, --help help for follow
Global Flags:
-c, --config string Path of config (default "config.yml")
-v, --verbose Show debug log
Use " control follow [command] --help" for more information about a command.
Show current follow requests.
$ relay control follow list
List follow request.
Usage:
control follow list [flags]
Flags:
-h, --help help for list
Global Flags:
-c, --config string Path of config (default "config.yml")
-v, --verbose Show debug log
Accept or reject follow requests.
$ relay control follow accept
Accept follow request by domain.
Usage:
control follow accept [flags]
Flags:
-h, --help help for accept
Global Flags:
-c, --config string Path of config (default "config.yml")
-v, --verbose Show debug log
$ relay control follow reject
Reject follow request by domain.
Usage:
control follow reject [flags]
Flags:
-h, --help help for reject
Global Flags:
-c, --config string Path of config (default "config.yml")
-v, --verbose Show debug log
-
Accept follow request from
example.com
$ relay control follow accept example.com
-
Reject follow request from
example.com
$ relay control follow reject example.com
Update relay's information. (ServiceName, Icon, Image ...)
Update actor object for whole subscribers/followers.
Usage:
control follow update [flags]
Flags:
-h, --help help for update
Global Flags:
-c, --config string Path of config (default "config.yml")
-v, --verbose Show debug log
When you change the following settings in config.yml
, it's time to do.
- RELAY_SERVICENAME
- RELAY_SUMMARY
- RELAY_ICON
- RELAY_IMAGE